Uses of Class
org.forgerock.oauth2.core.exceptions.BadRequestException
-
Packages that use BadRequestException Package Description org.forgerock.oauth2.core Defines the core classes to implement OAuth2 for OpenAM.org.forgerock.oauth2.resources org.forgerock.oauth2.restlet.resources org.forgerock.openam.oauth2.resources org.forgerock.openam.uma org.forgerock.openidconnect -
-
Uses of BadRequestException in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core that throw BadRequestException Modifier and Type Method Description 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.org.forgerock.json.JsonValueTokenInfoService. getTokenInfo(OAuth2Request request)Returns a Json representation of the token's information that is on the OAuth2 request.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)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.ResourceOwnerResourceOwnerSessionValidator. validate(OAuth2Request request)Checks if the request contains valid resource owner session.voidAuthorizeRequestValidator. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint.voidDuplicateRequestParameterValidator. validateRequest(OAuth2Request request)Validates that the OAuth2 request contains the valid parameters for the OAuth2 authorize endpoint. -
Uses of BadRequestException in org.forgerock.oauth2.resources
Methods in org.forgerock.oauth2.resources that throw BadRequestException Modifier and Type Method Description voidResourceSetStore. create(OAuth2Request request, ResourceSetDescription resourceSetDescription)Create aResourceSetDescription. -
Uses of BadRequestException in org.forgerock.oauth2.restlet.resources
Methods in org.forgerock.oauth2.restlet.resources that throw BadRequestException Modifier and Type Method Description Map<String,Object>ResourceSetDescriptionValidator. validate(Map<String,Object> resourceSetDescription)Validates that the resource set description is valid. -
Uses of BadRequestException in org.forgerock.openam.oauth2.resources
Methods in org.forgerock.openam.oauth2.resources that throw BadRequestException Modifier and Type Method Description voidOpenAMResourceSetStore. create(OAuth2Request request, ResourceSetDescription resourceSetDescription)org.restlet.representation.RepresentationResourceSetRegistrationEndpoint. createResourceSet(org.restlet.ext.json.JsonRepresentation entity)Creates or updates a resource set description.org.restlet.representation.RepresentationResourceSetRegistrationEndpoint. updateResourceSet(org.restlet.ext.json.JsonRepresentation entity) -
Uses of BadRequestException in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma that throw BadRequestException Modifier and Type Method Description org.restlet.representation.RepresentationAuthorizationRequestEndpoint. requestAuthorization(org.restlet.ext.json.JsonRepresentation entity) -
Uses of BadRequestException in org.forgerock.openidconnect
Methods in org.forgerock.openidconnect that throw BadRequestException Modifier and Type Method Description 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.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.
-