Uses of Class
org.forgerock.openig.filter.oauth2.client.OAuth2ErrorException
-
Packages that use OAuth2ErrorException Package Description org.forgerock.openig.filter.oauth2.client OAuth 2.0 Client filter implementation. -
-
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, org.forgerock.openig.filter.oauth2.client.OAuth2Session session)
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, org.forgerock.openig.filter.oauth2.client.UriValidationService validationService, Clock clock, Handler discoveryAndDynamicRegistrationChain, Expression<String> clientEndpoint)
Constructs anOAuth2ClientFilter
.
-