Class ImplicitGrantService
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
-
- org.apache.cxf.rs.security.oauth2.services.RedirectionBasedGrantService
-
- org.apache.cxf.rs.security.oauth2.services.AbstractImplicitGrantService
-
- org.apache.cxf.rs.security.oauth2.services.ImplicitGrantService
-
- Direct Known Subclasses:
OidcImplicitService
@Path("/authorize-implicit") public class ImplicitGrantService extends AbstractImplicitGrantServiceRedirection-based Implicit Grant Service This resource handles the End User authorizing or denying the Client embedded in the Web agent.
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description ImplicitGrantService()protectedImplicitGrantService(Set<String> responseTypes)protectedImplicitGrantService(Set<String> supportedResponseTypes, String supportedGrantType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OAuthAuthorizationDatacreateAuthorizationData(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params, String redirectUri, UserSubject subject, List<OAuthPermission> requestedPerms, List<OAuthPermission> alreadyAuthorizedPerms, boolean authorizationCanBeSkipped)Create the authorization challenge data-
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractImplicitGrantService
canRedirectUriBeEmpty, canSupportPublicClient, createErrorResponse, createGrant, createTokenRegistration, finalizeResponse, getClientAccessToken, getUriWithFragment, prepareFormResponse, prepareRedirectResponse, processClientAccessToken, processRefreshToken, setReportClientId, setResponseFilter, setResponseFilters
-
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.RedirectionBasedGrantService
authorize, authorizeDecision, authorizeDecisionForm, authorizePost, canAccessTokenBeReturned, canAuthorizationBeSkipped, completeAuthorization, createErrorResponse, createHtmlResponse, createUserSubject, getAndValidateSecurityContext, getApprovedScope, getClient, getSupportedGrantType, getSupportedResponseTypes, isFormResponse, isRevokePreauthorizedTokenOnApproval, noConsentForRequestedScopes, personalizeData, recreateRedirectionStateFromParams, recreateRedirectionStateFromSession, setAuthorizationFilter, setHidePreauthorizedScopesInForm, setMatchRedirectUriWithApplicationUri, setMaxDefaultSessionInterval, setPartialMatchScopeValidation, setResourceOwnerNameProvider, setRevokePreauthorizedTokenOnApproval, setScopesRequiringNoConsent, setSessionAuthenticityTokenProvider, setSubjectCreator, setSupportSinglePageApplications, setUseAllClientScopes, setUseRegisteredRedirectUriIfPossible, startAuthorization, startAuthorization, validateRedirectUri
-
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, injectContextIntoOAuthProviders, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
-
-
-
-
Method Detail
-
createAuthorizationData
protected OAuthAuthorizationData createAuthorizationData(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params, String redirectUri, UserSubject subject, List<OAuthPermission> requestedPerms, List<OAuthPermission> alreadyAuthorizedPerms, boolean authorizationCanBeSkipped)
Description copied from class:RedirectionBasedGrantServiceCreate the authorization challenge data- Overrides:
createAuthorizationDatain classRedirectionBasedGrantService
-
-