Package | Description |
---|---|
org.forgerock.oauth2.core |
Defines the core classes to implement OAuth2 for OpenAM.
|
org.forgerock.openam.oauth2 | |
org.forgerock.openam.oauth2.saml2.core | |
org.forgerock.openidconnect |
Modifier and Type | Class and Description |
---|---|
class |
AgentOAuth2ProviderSettings
Models all of the OAuth2 provider settings specific to agents.
|
class |
RealmOAuth2ProviderSettings
Models all of the possible settings the OAuth2 provider can have and that can be configured.
|
Modifier and Type | Method and Description |
---|---|
OAuth2ProviderSettings |
OAuth2ProviderSettingsFactory.get(org.forgerock.services.context.Context context)
Gets the instance of the OAuth2ProviderSettings.
|
OAuth2ProviderSettings |
OAuth2ProviderSettingsFactory.get(OAuth2Request request)
Gets the instance of the OAuth2ProviderSettings
|
OAuth2ProviderSettings |
OAuth2ProviderSettingsFactory.getRealmProviderSettings(String realm)
Gets the instance of the OAuth2ProviderSettings defined in the realm.
|
Modifier and Type | Method and Description |
---|---|
AccessToken |
GrantTypeAccessTokenGenerator.generateAccessToken(OAuth2ProviderSettings providerSettings,
String grantType,
String clientId,
String resourceOwnerId,
String redirectUri,
Set<String> scope,
String validatedClaims,
String authorizationCode,
String nonce,
OAuth2Request request) |
String |
ResourceOwner.getName(OAuth2ProviderSettings settings)
Gets the name of the user, if possible.
|
AccessToken |
ClientCredentialsGrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
AccessToken |
PasswordCredentialsGrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
AccessToken |
AuthorizationCodeGrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
protected AccessToken |
DeviceCodeGrantTypeHandler.handle(OAuth2Request request,
ClientRegistration client,
OAuth2ProviderSettings providerSettings) |
protected abstract AccessToken |
GrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
AccessToken |
JwtBearerGrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
AuthorizationToken |
AuthorizationTokenIssuer.issueTokens(OAuth2Request request,
ClientRegistration clientRegistration,
ResourceOwner resourceOwner,
Set<String> authorizationScope,
OAuth2ProviderSettings providerSettings)
Issues tokens for the OAuth2 authorize request.
|
void |
ResponseTypeValidator.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.
|
Modifier and Type | Method and Description |
---|---|
long |
AgentClientRegistration.getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings) |
long |
OpenAMClientRegistration.getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the access token life time in milliseconds.
|
long |
AgentClientRegistration.getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings) |
long |
OpenAMClientRegistration.getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings)
Gets the authorization code life time in milliseconds.
|
long |
AgentClientRegistration.getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings) |
long |
OpenAMClientRegistration.getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the JWT token life time in milliseconds.
|
long |
AgentClientRegistration.getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings) |
long |
OpenAMClientRegistration.getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the refresh token life time in milliseconds.
|
String |
AgentClientRegistration.getSubValue(String id,
OAuth2ProviderSettings providerSettings)
Retrieve the sub value, appropriate for the client subject type, or null
if there are issues with its formation.
|
String |
OpenAMClientRegistration.getSubValue(String id,
OAuth2ProviderSettings providerSettings) |
Modifier and Type | Method and Description |
---|---|
protected AccessToken |
Saml2GrantTypeHandler.handle(OAuth2Request request,
ClientRegistration clientRegistration,
OAuth2ProviderSettings providerSettings) |
Modifier and Type | Method and Description |
---|---|
long |
OpenIdConnectClientRegistration.getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the access token life time in milliseconds.
|
long |
OpenIdConnectClientRegistration.getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings)
Gets the authorization code life time in milliseconds.
|
long |
OpenIdConnectClientRegistration.getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the JWT token life time in milliseconds.
|
long |
OpenIdConnectClientRegistration.getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the refresh token life time in milliseconds.
|
String |
OpenIdConnectClientRegistration.getSubValue(String id,
OAuth2ProviderSettings providerSettings)
Retrieve the sub value, appropriate for the client subject type, or null
if there are issues with its formation.
|
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.