Uses of Interface
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.plugins This package contains the API for writing OAuth2 plugins.org.forgerock.openidconnect Classes required for the AM OAuth2 OIDC implementation. -
-
Uses of OAuth2Request in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core with parameters of type OAuth2Request Modifier and Type Method Description Map<String,String>
ScopeValidator. additionalDataToReturnFromAuthorizeEndpoint(Map<String,Token> tokens, OAuth2Request request)
Deprecated.since 7.2.0 UseAuthorizeEndpointDataProvider.provide(Map, OAuth2Request)
instead.void
ScopeValidator. additionalDataToReturnFromTokenEndpoint(AccessToken accessToken, OAuth2Request request)
Deprecated.since 7.2.0 UseAccessTokenModifier.modifyAccessToken(AccessToken, OAuth2Request)
instead.default void
ScopeValidator. enrich(AccessToken accessToken, OAuth2Request request)
Deprecated.UserInfoClaims
ScopeValidator. getUserInfo(org.forgerock.oauth2.core.ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)
Deprecated.since 7.2.0 UseUserInfoClaimsPlugin.getUserInfo(ClientRegistration, AccessToken, OAuth2Request)
instead.Map.Entry<String,Token>
ResponseTypeHandler. handle(String tokenType, Set<String> scope, org.forgerock.oauth2.core.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
.default void
ScopeValidator. modifyAccessToken(AccessToken accessToken, OAuth2Request request)
Deprecated.since 7.2.0 UseAccessTokenModifier.modifyAccessToken(AccessToken, OAuth2Request)
instead.default Map<String,String>
ScopeValidator. provide(Map<String,Token> tokens, OAuth2Request request)
Deprecated.Set<String>
ScopeValidator. validateAccessTokenScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)
Deprecated.since 7.2.0 Use#validateAccessTokenScope(ClientRegistration, Set, OAuth2Request)
instead.Set<String>
ScopeValidator. validateAuthorizationScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)
Deprecated.since 7.2.0 Use#validateAuthorizationScope(ClientRegistration, Set, OAuth2Request)
instead.Set<String>
ScopeValidator. validateBackChannelAuthorizationScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> requestedScopes, OAuth2Request request)
Deprecated.since 7.2.0 Use#validateBackChannelAuthorizationScope(ClientRegistration, Set, OAuth2Request)
instead.Set<String>
ScopeValidator. validateRefreshTokenScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)
Deprecated.since 7.2.0 Use#validateRefreshTokenScope(ClientRegistration, Set, Set, OAuth2Request)
instead. -
Uses of OAuth2Request in org.forgerock.oauth2.core.plugins
Methods in org.forgerock.oauth2.core.plugins with parameters of type OAuth2Request Modifier and Type Method Description UserInfoClaims
UserInfoClaimsPlugin. getUserInfo(org.forgerock.oauth2.core.ClientRegistration clientRegistration, AccessToken token, OAuth2Request request)
Gets the resource owners information based on an issued access token.void
AccessTokenModifier. modifyAccessToken(AccessToken accessToken, OAuth2Request request)
An extension point that allows modification of the OAuth2 access token before the token is persisted/returned to the client.Map<String,String>
AuthorizeEndpointDataProvider. provide(Map<String,Token> tokens, OAuth2Request request)
Provided as an extension point to allow the OAuth2 provider to return additional data from an authorization request.Set<String>
ScopeValidator. validateAccessTokenScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)
Provided as an extension point to allow the OAuth2 provider to customise the scopes requested when an access token is requested.Set<String>
ScopeValidator. validateAuthorizationScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> scope, OAuth2Request request)
Provided as an extension point to allow the OAuth2 provider to customise the scopes requested when authorization is requested.Set<String>
ScopeValidator. validateBackChannelAuthorizationScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> requestedScopes, OAuth2Request request)
Provided as an extension point to allow the OAuth2 provider to customize the scopes requested when performing a client initiated back channel authentication.Set<String>
ScopeValidator. validateRefreshTokenScope(org.forgerock.oauth2.core.ClientRegistration clientRegistration, Set<String> requestedScope, Set<String> tokenScope, OAuth2Request request)
Provided as an extension point to allow the OAuth2 provider to customise the scopes requested when a refresh token is requested. -
Uses of OAuth2Request in org.forgerock.openidconnect
Methods in org.forgerock.openidconnect with parameters of type OAuth2Request Modifier and Type Method Description String
CheckSession. getClientSessionURI(OAuth2Request request)
Get the URL the postMessage must be coming from (registered in client) to process the message.boolean
CheckSession. getValidSession(OAuth2Request request)
Check if the JWT contains a valid session id.
-