Uses of Class
org.forgerock.oauth2.core.OAuth2Request
-
Packages that use OAuth2Request Package Description org.forgerock.oauth2.core Defines the core classes to implement OAuth2 for OpenAM.org.forgerock.oauth2.core.exceptions org.forgerock.oauth2.resources org.forgerock.oauth2.restlet org.forgerock.openam.oauth2 org.forgerock.openam.oauth2.guice org.forgerock.openam.oauth2.resources org.forgerock.openam.oauth2.saml2.core org.forgerock.openam.oauth2.validation org.forgerock.openam.uma org.forgerock.openidconnect org.forgerock.openidconnect.restlet -
-
Uses of OAuth2Request in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core that return OAuth2Request Modifier and Type Method Description OAuth2RequestOAuth2RequestFactory. create(org.restlet.Request request)Creates a new OAuth2Request for the underlying HTTP request.static OAuth2RequestOAuth2Request. forRealm(String realm)Creates anOAuth2Requestwhich holds the provided realm only.Methods in org.forgerock.oauth2.core with parameters of type OAuth2Request Modifier and Type Method Description Map<String,String>AgentOAuth2ProviderSettings. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)Map<String,String>OAuth2ProviderSettings. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an authorization request.Map<String,String>RealmOAuth2ProviderSettings. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)Map<String,String>ScopeValidator. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an authorization request.voidAgentOAuth2ProviderSettings. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)voidOAuth2ProviderSettings. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an access token request.voidRealmOAuth2ProviderSettings. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)voidScopeValidator. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an access token request.ClientRegistrationClientAuthenticator. authenticate(OAuth2Request request, String endpoint)Authenticates the client making the OAuth2 request by extracting the client's id and secret from the request and authenticating against the OAuth2 providers client registrations.ResourceOwnerResourceOwnerAuthenticator. authenticate(OAuth2Request request)Authenticates a resource owner by extracting the resource owner's credentials from the request and authenticating against the OAuth2 provider's internal user store.AuthorizationTokenAuthorizationService. authorize(OAuth2Request request)Handles an initial authorization request from a OAuth2 client, validates the request is valid and contains the required parameters, checks the resource owner has authenticated and given their consent for the client to be authorized before issuing an AuthorizationToken.AuthorizationTokenAuthorizationService. authorize(OAuth2Request request, boolean consentGiven, boolean saveConsent)Handles an authorization request from a OAuth2 client, validates the request is valid and contains the required parameters, checks the resource owner has authenticated and given their consent for the client to be authorized before issuing an AuthorizationToken.AccessTokenTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request)Creates an Access Token and stores it in the OAuth2 Provider's store.AccessTokenTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime)Creates an Access Token and stores it in the OAuth2 Provider's store.AuthorizationCodeTokenStore. createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Creates an Authorization Code and stores it in the OAuth2 Provider's store.DeviceCodeTokenStore. createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Creates a new device code token.RefreshTokenTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request)Creates a Refresh Token and stores it in the OAuth2 Provider's store.RefreshTokenTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims)Creates a Refresh Token and stores it in the OAuth2 Provider's store.RefreshTokenTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, long authTime)Creates a Refresh Token and stores it in the OAuth2 Provider's store.RefreshTokenTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId)Creates a Refresh Token and stores it in the OAuth2 Provider's store.RefreshTokenTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime)Creates a Refresh Token and stores it in the OAuth2 Provider's store.voidTokenStore. deleteAccessToken(OAuth2Request request, String accessTokenId)Deletes an Access Token from the OAuth2 Provider's store.voidTokenStore. deleteAuthorizationCode(OAuth2Request request, String authorizationCode)Deletes an Authorization Code from the OAuth2 Provider's store.voidTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)Deletes a device code token.voidTokenStore. deleteRefreshToken(OAuth2Request request, String refreshTokenId)Deletes a Refresh Token from the OAuth2 Provider's store.AccessTokenGrantTypeAccessTokenGenerator. generateAccessToken(OAuth2ProviderSettings providerSettings, String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, String validatedClaims, String authorizationCode, String nonce, OAuth2Request request)ClientRegistrationClientRegistrationStore. get(String clientId, OAuth2Request request)Gets the client registration for the given client id.OAuth2ProviderSettingsOAuth2ProviderSettingsFactory. get(OAuth2Request request)Gets the instance of the OAuth2ProviderSettingsprotected IntrospectableTokenOAuth2TokenIntrospectionHandler. getIntrospectableToken(OAuth2Request request, String tokenType, String tokenId)static OAuth2Constants.UrlLocationUtils. getRequiredUrlLocation(OAuth2Request request, ClientRegistration clientRegistration)Determines if the UrlLocation is fragment or query based on the response types read from the request and the type of client.SSOTokenResourceOwnerSessionValidator. getResourceOwnerSession(OAuth2Request request)Gets the resource owner's session from the OAuth2 request.org.forgerock.json.JsonValueTokenInfoService. getTokenInfo(OAuth2Request request)Returns a Json representation of the token's information that is on the OAuth2 request.UserInfoClaimsAgentOAuth2ProviderSettings. getUserInfo(ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)UserInfoClaimsOAuth2ProviderSettings. getUserInfo(ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)Gets the resource owners information based on an issued access token or request.UserInfoClaimsRealmOAuth2ProviderSettings. getUserInfo(ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)UserInfoClaimsScopeValidator. getUserInfo(ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)Gets the resource owners information based on an issued access token.AccessTokenAuthorizationCodeGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)Map.Entry<String,Token>AuthorizationCodeResponseTypeHandler. handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Handles the creating of a Token instance and storing the Token in the OAuth2 providerTokenStore.AccessTokenClientCredentialsGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)protected AccessTokenDeviceCodeGrantTypeHandler. handle(OAuth2Request request, ClientRegistration client, OAuth2ProviderSettings providerSettings)AccessTokenGrantTypeHandler. handle(OAuth2Request request)Handles an access token request for a specific OAuth2 grant type.protected abstract AccessTokenGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)AccessTokenJwtBearerGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)Map.Entry<String,Token>NoneResponseTypeHandler. handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Handles the creating of a Token instance and storing the Token in the OAuth2 providerTokenStore.AccessTokenPasswordCredentialsGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)Map.Entry<String,Token>ResponseTypeHandler. handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Handles the creating of a Token instance and storing the Token in the OAuth2 providerTokenStore.Map.Entry<String,Token>TokenResponseTypeHandler. handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Handles the creating of a Token instance and storing the Token in the OAuth2 providerTokenStore.org.forgerock.json.JsonValueOAuth2TokenIntrospectionHandler. introspect(OAuth2Request request, String clientId, String tokenType, String tokenId)org.forgerock.json.JsonValueTokenIntrospectionHandler. introspect(OAuth2Request request, String clientId, String tokenType, String tokenId)Look for a token of a particular type, with a given ID, and return its introspected representation.org.forgerock.json.JsonValueTokenIntrospectionService. introspect(OAuth2Request request)Allows introspection of a (refresh or access) token according to the OAuth 2.0 Token Introspection standard.voidTokenInvalidator. invalidateTokens(OAuth2Request request, String clientId, String userName, String authGrantId)Invalidates all tokens associated with same auth grant, client and resource owner.booleanCsrfProtection. isCsrfAttack(OAuth2Request request)Checks if the request contains the required "csrf" parameter and check it equals the users session id.AuthorizationTokenAuthorizationTokenIssuer. issueTokens(OAuth2Request request, ClientRegistration clientRegistration, ResourceOwner resourceOwner, Set<String> authorizationScope, OAuth2ProviderSettings providerSettings)Issues tokens for the OAuth2 authorize request.protected abstract StringAccessTokenVerifier. obtainTokenId(OAuth2Request request)Obtain the token ID from the request.AccessTokenTokenStore. readAccessToken(OAuth2Request request, String tokenId)Reads an Access Token from the OAuth2 Provider's store with the specified identifier.AuthorizationCodeTokenStore. readAuthorizationCode(OAuth2Request request, String code)Creates an Authorization Code and stores it in the OAuth2 Provider's store.DeviceCodeTokenStore. readDeviceCode(String clientId, String code, OAuth2Request request)Reads a device code token.DeviceCodeTokenStore. readDeviceCode(String userCode, OAuth2Request request)Reads a device code token.RefreshTokenTokenStore. readRefreshToken(OAuth2Request request, String tokenId)Reads a Refresh Token from the OAuth2 Provider's store with the specified identifier.AccessTokenAccessTokenService. refreshToken(OAuth2Request request)Handles a request to refresh an already issued access token for a OAuth2 client, validates that the request is valid and contains the required parameters, checks that the refresh token on the request is valid and has not expired, or been previously used to refresh an access token.AccessTokenAccessTokenService. requestAccessToken(OAuth2Request request)Handles a request for access token(s) by a OAuth2 client, validates that the request is valid and contains the required parameters, checks that the authorization code on the request is valid and has not expired, or been previously used.StringRedirectUriResolver. resolve(OAuth2Request request)Resolves the redirect URIvoidTokenStore. updateAccessToken(OAuth2Request request, AccessToken accessToken)Updates an Access Token.voidTokenStore. updateAuthorizationCode(OAuth2Request request, AuthorizationCode authorizationCode)Updates an Authorization Code.voidTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)Updates a device code token.ResourceOwnerResourceOwnerSessionValidator. validate(OAuth2Request request)Checks if the request contains valid resource owner session.voidResponseTypeValidator. validate(ClientRegistration clientRegistration, Set<String> requestedResponseTypes, OAuth2ProviderSettings providerSettings, OAuth2Request request)Validates that the requested response types are valid and supported by both the OAuth2 client and provider.Set<String>AgentOAuth2ProviderSettings. validateAccessTokenScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Set<String>OAuth2ProviderSettings. validateAccessTokenScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when an access token is requested.Set<String>RealmOAuth2ProviderSettings. validateAccessTokenScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Set<String>ScopeValidator. validateAccessTokenScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when an access token is requested.Set<String>AgentOAuth2ProviderSettings. validateAuthorizationScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Set<String>OAuth2ProviderSettings. validateAuthorizationScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when authorization is requested.Set<String>RealmOAuth2ProviderSettings. validateAuthorizationScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Set<String>ScopeValidator. validateAuthorizationScope(ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when authorization is requested.Set<String>AgentOAuth2ProviderSettings. validateRefreshTokenScope(ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)Set<String>OAuth2ProviderSettings. validateRefreshTokenScope(ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when a refresh token is requested.Set<String>RealmOAuth2ProviderSettings. validateRefreshTokenScope(ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)Set<String>ScopeValidator. validateRefreshTokenScope(ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when a refresh token is requested.voidAuthorizationCodeRequestValidator. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorization code grant.voidAuthorizationCodeRequestValidatorImpl. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorization code grant.voidAuthorizeRequestValidator. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.voidAuthorizeRequestValidatorImpl. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.voidClientCredentialsRequestValidator. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 client credentials grant.voidClientCredentialsRequestValidatorImpl. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 client credentials grant.voidDuplicateRequestParameterValidator. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.voidPasswordCredentialsRequestValidator. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 password credentials grant.voidPasswordCredentialsRequestValidatorImpl. validateRequest(OAuth2Request request, ClientRegistration clientRegistration)Validates that the OAuth2 request contains the valid parameters for the OAuth2 password credentials grant.AccessTokenVerifier.TokenStateAccessTokenVerifier. verify(OAuth2Request request)Verifies that the specified OAuth2 request contains a valid access token which has not expired.booleanResourceOwnerConsentVerifier. verify(boolean consentSaved, OAuth2Request request, ClientRegistration registration)Determines whether if the resource owner has previously saved consent and whether it should be used. -
Uses of OAuth2Request in org.forgerock.oauth2.core.exceptions
Methods in org.forgerock.oauth2.core.exceptions with parameters of type OAuth2Request Modifier and Type Method Description static InvalidScopeExceptionInvalidScopeException. create(String message, OAuth2Request request)Creates a new InvalidScopeException by deducing the UrlLocation from the OAuth2Request.InvalidClientExceptionClientAuthenticationFailureFactory. getException(OAuth2Request request, String message)Produces an InvalidClientException or InvalidClientAuthZHeaderException based on the request provided.protected abstract StringClientAuthenticationFailureFactory. getRealm(OAuth2Request request)Extracts the realm from the request, and normalises itprotected abstract booleanClientAuthenticationFailureFactory. hasAuthorizationHeader(OAuth2Request request)Determines whether the request makes use of the authorization header -
Uses of OAuth2Request in org.forgerock.oauth2.resources
Methods in org.forgerock.oauth2.resources with parameters of type OAuth2Request Modifier and Type Method Description voidResourceSetStore. create(OAuth2Request request, ResourceSetDescription resourceSetDescription)Create aResourceSetDescription. -
Uses of OAuth2Request in org.forgerock.oauth2.restlet
Methods in org.forgerock.oauth2.restlet with parameters of type OAuth2Request Modifier and Type Method Description voidAuthorizeRequestHook. afterAuthorizeSuccess(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Called after the authorize request has been completed and an authorization code is being returned.voidTokenRequestHook. afterTokenHandling(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Called after the token request is actually handled.voidAuthorizeRequestHook. beforeAuthorizeHandling(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Called before the authorize request is actually handledprotected Map<String,Object>ConsentRequiredResource. getDataModel(ResourceOwnerConsentRequired consentRequired, OAuth2Request request)Gets the data model to use when rendering the error page.protected StringOpenAMClientAuthenticationFailureFactory. getRealm(OAuth2Request request)org.restlet.representation.RepresentationOAuth2Representation. getRepresentation(org.restlet.Context context, OAuth2Request request, String templateName, Map<String,Object> dataModel)Gets the appropriate representation to send to the user agent based from the specified parameters.protected booleanOpenAMClientAuthenticationFailureFactory. hasAuthorizationHeader(OAuth2Request request)protected StringRestletFormBodyAccessTokenVerifier. obtainTokenId(OAuth2Request request)Obtain the token ID from the request.protected StringRestletHeaderAccessTokenVerifier. obtainTokenId(OAuth2Request request)Obtain the token ID from the request.protected StringRestletQueryParameterAccessTokenVerifier. obtainTokenId(OAuth2Request request)Obtain the token ID from the request. -
Uses of OAuth2Request in org.forgerock.openam.oauth2
Methods in org.forgerock.openam.oauth2 with parameters of type OAuth2Request Modifier and Type Method Description Map<String,String>OpenAMScopeValidator. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an authorization request.voidOpenAMScopeValidator. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to return additional data from an access token request.TStatelessCheck. byRequest(OAuth2Request request)Checks the OAuth2 token is stateless or not based on the requestAccessTokenOpenAMTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request)AccessTokenOpenAMTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime)AccessTokenStatefulTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request)Creates an Access Token and stores it in the OAuth2 Provider's store.AccessTokenStatefulTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime)Creates an Access Token and stores it in the OAuth2 Provider's store.AccessTokenStatelessTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request)AccessTokenStatelessTokenStore. createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime)AuthorizationCodeOpenAMTokenStore. createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)AuthorizationCodeStatefulTokenStore. createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Creates an Authorization Code and stores it in the OAuth2 Provider's store.AuthorizationCodeStatelessTokenStore. createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)DeviceCodeOpenAMTokenStore. createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)DeviceCodeStatefulTokenStore. createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Creates a new device code token.DeviceCodeStatelessTokenStore. createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)OpenIdConnectTokenOpenAMTokenStore. createOpenIDToken(ResourceOwner resourceOwner, String clientId, String authorizationParty, String nonce, String ops, OAuth2Request request)OpenIdConnectTokenStatefulTokenStore. createOpenIDToken(ResourceOwner resourceOwner, String clientId, String authorizationParty, String nonce, String ops, OAuth2Request request)Creates an OpenId Connect token and stores it in the OpenId Connect Provider's store.RefreshTokenOpenAMTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request)RefreshTokenOpenAMTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims)RefreshTokenOpenAMTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, long authTime)RefreshTokenOpenAMTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId)RefreshTokenOpenAMTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime)RefreshTokenStatefulTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request)RefreshTokenStatefulTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims)RefreshTokenStatefulTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, long authTime)RefreshTokenStatefulTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId)RefreshTokenStatefulTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime)RefreshTokenStatelessTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request)RefreshTokenStatelessTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims)RefreshTokenStatelessTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, long authTime)RefreshTokenStatelessTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId)RefreshTokenStatelessTokenStore. createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime)voidOpenAMTokenStore. deleteAccessToken(OAuth2Request request, String accessTokenId)voidStatefulTokenStore. deleteAccessToken(OAuth2Request request, String accessTokenId)Deletes an Access Token from the OAuth2 Provider's store.voidStatelessTokenStore. deleteAccessToken(OAuth2Request request, String jwtString)voidOpenAMTokenStore. deleteAuthorizationCode(OAuth2Request request, String authorizationCode)voidStatefulTokenStore. deleteAuthorizationCode(OAuth2Request request, String authorizationCode)Deletes an Authorization Code from the OAuth2 Provider's store.voidStatelessTokenStore. deleteAuthorizationCode(OAuth2Request request, String authorizationCode)voidOpenAMTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)voidStatefulTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)voidStatelessTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)voidOpenAMTokenStore. deleteRefreshToken(OAuth2Request request, String refreshTokenId)voidStatefulTokenStore. deleteRefreshToken(OAuth2Request request, String refreshTokenId)Deletes a Refresh Token from the OAuth2 Provider's store.voidStatelessTokenStore. deleteRefreshToken(OAuth2Request request, String jwtString)ClientCredentialsClientCredentialsReader. extractCredentials(OAuth2Request request, String endpoint)Extracts the client's credentials from the OAuth2 request.OAuth2UrisOAuth2UrisFactory. get(OAuth2Request request)Gets a OAuth2Uris instance.OAuth2UrisOAuth2UrisFactory. get(OAuth2Request oAuth2Request, Realm realm)OpenIdConnectClientRegistrationOpenAMClientRegistrationStore. get(String clientId, OAuth2Request request)Gets the client registration for the given client id.org.forgerock.json.JsonValueOAuth2Utils. getConfirmationKey(OAuth2Request request)Given an OAuth2 request, attempts to pull out the confirmation key; this is optional.UserInfoClaimsOpenAMScopeValidator. getUserInfo(ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)Gets the resource owners information based on an issued access token.AccessTokenOpenAMTokenStore. readAccessToken(OAuth2Request request, String tokenId)AccessTokenStatefulTokenStore. readAccessToken(OAuth2Request request, String tokenId)Reads an Access Token from the OAuth2 Provider's store with the specified identifier.AccessTokenStatelessTokenStore. readAccessToken(OAuth2Request request, String jwtString)AuthorizationCodeOpenAMTokenStore. readAuthorizationCode(OAuth2Request request, String code)AuthorizationCodeStatefulTokenStore. readAuthorizationCode(OAuth2Request request, String code)Creates an Authorization Code and stores it in the OAuth2 Provider's store.AuthorizationCodeStatelessTokenStore. readAuthorizationCode(OAuth2Request request, String code)DeviceCodeOpenAMTokenStore. readDeviceCode(String clientId, String code, OAuth2Request request)DeviceCodeOpenAMTokenStore. readDeviceCode(String userCode, OAuth2Request request)DeviceCodeStatefulTokenStore. readDeviceCode(String clientId, String code, OAuth2Request request)DeviceCodeStatefulTokenStore. readDeviceCode(String userCode, OAuth2Request request)DeviceCodeStatelessTokenStore. readDeviceCode(String clientId, String code, OAuth2Request request)DeviceCodeStatelessTokenStore. readDeviceCode(String userCode, OAuth2Request request)RefreshTokenOpenAMTokenStore. readRefreshToken(OAuth2Request request, String tokenId)RefreshTokenStatefulTokenStore. readRefreshToken(OAuth2Request request, String tokenId)Reads a Refresh Token from the OAuth2 Provider's store with the specified identifier.RefreshTokenStatelessTokenStore. readRefreshToken(OAuth2Request request, String jwtString)StringOAuth2RealmResolver. resolveFrom(OAuth2Request request)Resolve realm from the requestvoidOpenAMTokenStore. updateAccessToken(OAuth2Request request, AccessToken accessToken)voidStatefulTokenStore. updateAccessToken(OAuth2Request request, AccessToken accessToken)voidStatelessTokenStore. updateAccessToken(OAuth2Request request, AccessToken accessToken)voidOpenAMTokenStore. updateAuthorizationCode(OAuth2Request request, AuthorizationCode authorizationCode)voidStatefulTokenStore. updateAuthorizationCode(OAuth2Request request, AuthorizationCode authorizationCode)Updates an Authorization Code.voidStatelessTokenStore. updateAuthorizationCode(OAuth2Request request, AuthorizationCode authorizationCode)voidOpenAMTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)voidStatefulTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)voidStatelessTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)Set<String>OpenAMScopeValidator. validateAccessTokenScope(ClientRegistration client, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when an access token is requested.Set<String>OpenAMScopeValidator. validateAuthorizationScope(ClientRegistration client, Set<String> scope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when authorization is requested.Set<String>OpenAMScopeValidator. validateRefreshTokenScope(ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)Provided as an extension point to allow the OAuth2 provider to customise the scope requested when a refresh token is requested.protected voidStatefulTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request)protected voidStatelessTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request) -
Uses of OAuth2Request in org.forgerock.openam.oauth2.guice
Methods in org.forgerock.openam.oauth2.guice with parameters of type OAuth2Request Modifier and Type Method Description BooleanOAuth2GuiceModule.DefaultStatelessCheck. byRequest(OAuth2Request request)protected voidOAuth2GuiceModule.RealmAgnosticStatefulTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request)protected voidOAuth2GuiceModule.RealmAgnosticStatelessTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request) -
Uses of OAuth2Request in org.forgerock.openam.oauth2.resources
Methods in org.forgerock.openam.oauth2.resources with parameters of type OAuth2Request Modifier and Type Method Description voidOpenAMResourceSetStore. create(OAuth2Request request, ResourceSetDescription resourceSetDescription) -
Uses of OAuth2Request in org.forgerock.openam.oauth2.saml2.core
Methods in org.forgerock.openam.oauth2.saml2.core with parameters of type OAuth2Request Modifier and Type Method Description AccessTokenSaml2GrantTypeHandler. handle(OAuth2Request request)protected AccessTokenSaml2GrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings) -
Uses of OAuth2Request in org.forgerock.openam.oauth2.validation
Methods in org.forgerock.openam.oauth2.validation with parameters of type OAuth2Request Modifier and Type Method Description voidConfirmationKeyValidator. validateRequest(OAuth2Request request)voidConfirmationKeyValidator. validateRequest(OAuth2Request request, ClientRegistration clientRegistration) -
Uses of OAuth2Request in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma with parameters of type OAuth2Request Modifier and Type Method Description UmaProviderSettingsUmaProviderSettingsFactory. get(OAuth2Request request)UmaUrisUmaUrisFactory. get(OAuth2Request request)UmaUrisUmaUrisFactory. get(OAuth2Request oAuth2Request, Realm realm)Gets the instance of the UmaUris.StringClaimGatherer. getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, org.forgerock.json.JsonValue claimToken)Attempts to get the requesting party id from the claim token.StringIdTokenClaimGatherer. getRequestingPartyId(OAuth2Request oAuth2Request, AccessToken authorizationApiToken, org.forgerock.json.JsonValue claimToken)org.forgerock.json.JsonValueUmaTokenIntrospectionHandler. introspect(OAuth2Request request, String clientId, String tokenType, String tokenId) -
Uses of OAuth2Request in org.forgerock.openidconnect
Methods in org.forgerock.openidconnect with parameters of type OAuth2Request Modifier and Type Method Description voidClientDAO. create(Client client, OAuth2Request request)Stores a client to a storage system.OpenIdConnectTokenOpenIdConnectTokenStore. createOpenIDToken(ResourceOwner resourceOwner, String clientId, String authorizationParty, String nonce, String ops, OAuth2Request request)Creates an OpenId Connect token and stores it in the OpenId Connect Provider's store.org.forgerock.json.JsonValueOpenIdConnectClientRegistrationService. createRegistration(String accessToken, String deploymentUrl, OAuth2Request request)Creates an OpenId Connect client registration in the OAuth2 provider.voidClientDAO. delete(String clientId, OAuth2Request request)Delete a client from the storage system.Map<String,Object>OpenIDConnectProviderDiscovery. discover(String resource, String rel, String deploymentUrl, OAuth2Request request)Returns the response to a request to discover the OpenId Connect provider.voidOpenIDConnectEndSession. endSession(OAuth2Request request, String idToken)Ends an OpenId Connect session.OpenIdConnectClientRegistrationOpenIdConnectClientRegistrationStore. get(String clientId, OAuth2Request request)Gets the client registration for the given client id.org.forgerock.json.JsonValueOpenIDConnectProviderConfiguration. getConfiguration(OAuth2Request request)Gets the OpenId configuration for the OpenId Connect provider.protected StringOpenIDTokenIssuer. getOps(AccessToken accessToken, OAuth2Request request)Gets the ops value for the OpenId Token.org.forgerock.json.JsonValueOpenIdConnectClientRegistrationService. getRegistration(String clientId, String accessToken, OAuth2Request request)Gets an OpenId Connect client registration from the OAuth2 provider.org.forgerock.json.JsonValueUserInfoService. getUserInfo(OAuth2Request request)Gets the user's information for the specified access token.Map.Entry<String,Token>IdTokenResponseTypeHandler. handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod)Handles the creating of a Token instance and storing the Token in the OAuth2 providerTokenStore.Map.Entry<String,String>OpenIDTokenIssuer. issueToken(AccessToken accessToken, OAuth2Request request)Issues an OpenId Connect token, using the details of the access token.booleanOpenIDConnectProvider. isUserValid(String userId, OAuth2Request request)Determines whether a user has a valid session.ClientClientDAO. read(String clientId, OAuth2Request request)Reads a client from a storage system.voidClientDAO. update(Client client, OAuth2Request request)Updates a client already stored.voidClaimsParameterValidator. validateRequest(OAuth2Request request)voidCodeVerifierValidator. validateRequest(OAuth2Request request)voidOpenIdConnectAuthorizeRequestValidator. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.voidSubjectTypeValidator. validateRequest(OAuth2Request request)booleanOpenIdResourceOwnerConsentVerifier. verify(boolean consentSaved, OAuth2Request request, ClientRegistration registration)Determines whether if the resource owner has previously saved consent and whether it should be used.Constructors in org.forgerock.openidconnect with parameters of type OAuth2Request Constructor Description OpenIdPrompt(OAuth2Request request)Constructs a new OpenIdPrompt instance directly from the request object by using the constant defined in OAuth2Constants and calling the existing constructor with the string obtained. -
Uses of OAuth2Request in org.forgerock.openidconnect.restlet
Methods in org.forgerock.openidconnect.restlet with parameters of type OAuth2Request Modifier and Type Method Description voidLoginHintHook. afterAuthorizeSuccess(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Once we're returning an auth code we can remove the login hint cookie.voidLoginHintHook. afterTokenHandling(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Authentication has completed - remove the cookie.voidLoginHintHook. beforeAuthorizeHandling(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Adds the login_hint value to cookie.protected Map<String,Object>OpenIDConnectCheckSessionEndpoint. getDataModel(OAuth2Request oAuth2Request)
-