Uses of Class
org.forgerock.openig.filter.oauth2.client.OAuth2ErrorException
-
Packages that use OAuth2ErrorException Package Description org.forgerock.openig.filter.oauth2 This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.org.forgerock.openig.filter.oauth2.client OAuth 2.0 Client filter implementation. -
-
Uses of OAuth2ErrorException in org.forgerock.openig.filter.oauth2
Methods in org.forgerock.openig.filter.oauth2 that return OAuth2ErrorException Modifier and Type Method Description OAuth2ErrorException
OAuth2FailureContext. getException()
Get anyOAuth2ErrorException
associated with the failure that occurred.Methods in org.forgerock.openig.filter.oauth2 with parameters of type OAuth2ErrorException Modifier and Type Method Description static OAuth2FailureContext
OAuth2FailureContext. oauth2FailureContext(Context parent, OAuth2ErrorException exception)
Create a newOAuth2FailureContext
. -
Uses of OAuth2ErrorException in org.forgerock.openig.filter.oauth2.client
Methods in org.forgerock.openig.filter.oauth2.client that return types with arguments of type OAuth2ErrorException Modifier and Type Method Description Promise<JsonValue,OAuth2ErrorException>
ClientRegistration. getAccessToken(Context context, String code, String callbackUri)
Exchanges the authorization code for an access token and optional ID token, and then update the session state.Promise<JsonValue,OAuth2ErrorException>
ClientRegistration. getUserInfo(Context context, org.forgerock.openig.filter.oauth2.client.OAuth2Session session)
Returns a Promise completed either with the json value of the user info obtained from the authorization server if the response from the authorization server has a status code of 200, or with an exception, meaning the access token may have expired.Promise<JsonValue,OAuth2ErrorException>
ClientRegistration. refreshAccessToken(Context context, String refreshToken)
Refreshes the actual access token, making a refresh request to the token end-point.Constructor parameters in org.forgerock.openig.filter.oauth2.client with type arguments of type OAuth2ErrorException Constructor Description OAuth2ClientFilter(org.forgerock.openig.filter.oauth2.client.ClientRegistrationRepository registrations, PerItemEvictionStrategyCache<String,Promise<Map<String,Object>,OAuth2ErrorException>> userInfoCache, String prompt, org.forgerock.openig.filter.oauth2.client.UriValidationService validationService, Clock clock, Handler discoveryAndDynamicRegistrationChain, Expression<String> clientEndpoint, Handler idpSelectionLoginPageHandler)
Constructs anOAuth2ClientFilter
.
-