Uses of Class
org.forgerock.oauth2.core.exceptions.InvalidGrantException
-
Packages that use InvalidGrantException Package Description org.forgerock.oauth2.core Defines the core classes to implement OAuth2 for OpenAM.org.forgerock.oauth2.restlet org.forgerock.openam.oauth2 org.forgerock.openam.oauth2.guice org.forgerock.openam.oauth2.saml2.core -
-
Uses of InvalidGrantException in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core that throw InvalidGrantException Modifier and Type Method Description voidTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)Deletes a device code token.org.forgerock.json.JsonValueTokenInfoService. getTokenInfo(OAuth2Request request)Returns a Json representation of the token's information that is on the OAuth2 request.AccessTokenAuthorizationCodeGrantTypeHandler. 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)AccessTokenPasswordCredentialsGrantTypeHandler. handle(OAuth2Request request, ClientRegistration clientRegistration, OAuth2ProviderSettings providerSettings)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.voidTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)Updates a device code token.Constructors in org.forgerock.oauth2.core that throw InvalidGrantException Constructor Description AuthorizationCode(org.forgerock.json.JsonValue token)Constructs a new AuthorizationCode backed with the data in the specified JsonValue.DeviceCode(org.forgerock.json.JsonValue token)Constructs a new OpenAMAuthorizationCode backed with the data in the specified JsonValue.StatefulAccessToken(org.forgerock.json.JsonValue token)Constructs a new AccessToken backed with the data in the specified JsonValue.StatefulAccessToken(org.forgerock.json.JsonValue token, String tokenName, String tokenId)Constructs a new AccessToken backed with the data in the specified JsonValue.StatefulRefreshToken(org.forgerock.json.JsonValue token)Constructs a new RefreshToken backed with the data in the specified JsonValue. -
Uses of InvalidGrantException in org.forgerock.oauth2.restlet
Methods in org.forgerock.oauth2.restlet that throw InvalidGrantException Modifier and Type Method Description org.restlet.representation.RepresentationDeviceCodeVerificationResource. userCodeForm()Handles GET requests to the OAuth2 device/user endpoint, returning a form to allow the user to submit their user codeorg.restlet.representation.RepresentationDeviceCodeVerificationResource. verify(org.restlet.representation.Representation body)Handles POST requests to the OAuth2 device/user endpoint. -
Uses of InvalidGrantException in org.forgerock.openam.oauth2
Methods in org.forgerock.openam.oauth2 that throw InvalidGrantException Modifier and Type Method Description voidOpenAMTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)voidStatefulTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)voidStatelessTokenStore. deleteDeviceCode(String clientId, String code, OAuth2Request request)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)voidOpenAMTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)voidStatefulTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)voidStatelessTokenStore. updateDeviceCode(DeviceCode code, OAuth2Request request)protected voidStatefulTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request)protected voidStatelessTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request) -
Uses of InvalidGrantException in org.forgerock.openam.oauth2.guice
Methods in org.forgerock.openam.oauth2.guice that throw InvalidGrantException Modifier and Type Method Description protected voidOAuth2GuiceModule.RealmAgnosticStatefulTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request)protected voidOAuth2GuiceModule.RealmAgnosticStatelessTokenStore. validateTokenRealm(String tokenRealm, OAuth2Request request) -
Uses of InvalidGrantException in org.forgerock.openam.oauth2.saml2.core
Methods in org.forgerock.openam.oauth2.saml2.core that throw InvalidGrantException Modifier and Type Method Description AccessTokenSaml2GrantTypeHandler. handle(OAuth2Request request)
-