Uses of Class
net.openid.appauth.AuthorizationException
-
Packages that use AuthorizationException Package Description net.openid.appauth AppAuth for Android. -
-
Uses of AuthorizationException in net.openid.appauth
Fields in net.openid.appauth declared as AuthorizationException Modifier and Type Field Description static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. ACCESS_DENIEDAnaccess_deniedOAuth2 error response.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. CLIENT_ERRORAn authorization error occurring on the client rather than the server.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. CLIENT_ERRORAn authorization error occurring on the client rather than the server.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. CLIENT_ERRORAn authorization error occurring on the client rather than the server.static AuthorizationExceptionAuthorizationException.GeneralErrors. ID_TOKEN_PARSING_ERRORIndicates that a received ID token could not be parsedstatic AuthorizationExceptionAuthorizationException.GeneralErrors. ID_TOKEN_VALIDATION_ERRORIndicates that a received ID token is invalidstatic AuthorizationExceptionAuthorizationException.TokenRequestErrors. INVALID_CLIENTAninvalid_clientOAuth2 error response.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. INVALID_CLIENT_METADATAAninvalid_grantOAuth2 error response.static AuthorizationExceptionAuthorizationException.GeneralErrors. INVALID_DISCOVERY_DOCUMENTIndicates a problem parsing an OpenID Connect Service Discovery document.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. INVALID_GRANTAninvalid_grantOAuth2 error response.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. INVALID_REDIRECT_URIAninvalid_clientOAuth2 error response.static AuthorizationExceptionAuthorizationException.GeneralErrors. INVALID_REGISTRATION_RESPONSEIndicates a problem parsing an OpenID Connect Registration Response.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. INVALID_REQUESTAninvalid_requestOAuth2 error response.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. INVALID_REQUESTAninvalid_requestOAuth2 error response.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. INVALID_REQUESTAninvalid_requestOAuth2 error response.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. INVALID_SCOPEAninvalid_scopeOAuth2 error response.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. INVALID_SCOPEAninvalid_scopeOAuth2 error response.static AuthorizationExceptionAuthorizationException.GeneralErrors. JSON_DESERIALIZATION_ERRORIndicates a problem occurred deserializing JSON.static AuthorizationExceptionAuthorizationException.GeneralErrors. NETWORK_ERRORIndicates a network error occurred.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. OTHERIndicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. OTHERIndicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. OTHERIndicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.static AuthorizationExceptionAuthorizationException.GeneralErrors. PROGRAM_CANCELED_AUTH_FLOWIndicates an OAuth authorization flow was programmatically cancelled.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. SERVER_ERRORAnserver_errorOAuth2 error response, equivalent to an HTTP 500 error code, but sent via redirect.static AuthorizationExceptionAuthorizationException.GeneralErrors. SERVER_ERRORIndicates a server error occurred.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. STATE_MISMATCHIndicates that the response state param did not match the request state param, resulting in the response being discarded.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. TEMPORARILY_UNAVAILABLEAtemporarily_unavailableOAuth2 error response, equivalent to an HTTP 503 error code, but sent via redirect.static AuthorizationExceptionAuthorizationException.GeneralErrors. TOKEN_RESPONSE_CONSTRUCTION_ERRORIndicates a problem occurred constructing atoken responseobject from the JSON provided by the server.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. UNAUTHORIZED_CLIENTAnunauthorized_clientOAuth2 error response.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. UNAUTHORIZED_CLIENTAnunauthorized_clientOAuth2 error response.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. UNSUPPORTED_GRANT_TYPEAnunsupported_grant_typeOAuth2 error response.static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. UNSUPPORTED_RESPONSE_TYPEAnunsupported_response_typeOAuth2 error response.static AuthorizationExceptionAuthorizationException.GeneralErrors. USER_CANCELED_AUTH_FLOWIndicates the user manually canceled the OAuth authorization code flow.Methods in net.openid.appauth that return AuthorizationException Modifier and Type Method Description static AuthorizationExceptionAuthorizationException.AuthorizationRequestErrors. byString(String error)Returns the matching exception type for the provided OAuth2 error string, orAuthorizationException.AuthorizationRequestErrors.OTHERif unknown.static AuthorizationExceptionAuthorizationException.RegistrationRequestErrors. byString(String error)Returns the matching exception type for the provided OAuth2 error string, orAuthorizationException.RegistrationRequestErrors.OTHERif unknown.static AuthorizationExceptionAuthorizationException.TokenRequestErrors. byString(String error)Returns the matching exception type for the provided OAuth2 error string, orAuthorizationException.TokenRequestErrors.OTHERif unknown.static AuthorizationExceptionAuthorizationException. fromIntent(Intent data)Extracts anAuthorizationExceptionfrom an intent produced bytoIntent().static AuthorizationExceptionAuthorizationException. fromJson(String jsonStr)Reconstructs anAuthorizationExceptionfrom the JSON produced bytoJsonString().static AuthorizationExceptionAuthorizationException. fromJson(JSONObject json)Reconstructs anAuthorizationExceptionfrom the JSON produced bytoJson().static AuthorizationExceptionAuthorizationException. fromOAuthRedirect(Uri redirectUri)Creates an exception from an OAuth redirect URI that describes an authorization failure.static AuthorizationExceptionAuthorizationException. fromOAuthTemplate(AuthorizationException ex, String errorOverride, String errorDescriptionOverride, Uri errorUriOverride)Creates an exception based on one of the existing values defined inAuthorizationException.AuthorizationRequestErrorsorAuthorizationException.TokenRequestErrors, adding information retrieved from OAuth error response.static AuthorizationExceptionAuthorizationException. fromTemplate(AuthorizationException ex, Throwable rootCause)Creates an exception based on one of the existing values defined inAuthorizationException.GeneralErrors,AuthorizationException.AuthorizationRequestErrorsorAuthorizationException.TokenRequestErrors, providing a root cause.AuthorizationExceptionAuthState. getAuthorizationException()If the last response was an OAuth related failure, this returns the exception describing the failure.Methods in net.openid.appauth with parameters of type AuthorizationException Modifier and Type Method Description voidAuthState.AuthStateAction. execute(String accessToken, String idToken, AuthorizationException ex)Executed in the context of fresh (non-expired) tokens.static AuthorizationExceptionAuthorizationException. fromOAuthTemplate(AuthorizationException ex, String errorOverride, String errorDescriptionOverride, Uri errorUriOverride)Creates an exception based on one of the existing values defined inAuthorizationException.AuthorizationRequestErrorsorAuthorizationException.TokenRequestErrors, adding information retrieved from OAuth error response.static AuthorizationExceptionAuthorizationException. fromTemplate(AuthorizationException ex, Throwable rootCause)Creates an exception based on one of the existing values defined inAuthorizationException.GeneralErrors,AuthorizationException.AuthorizationRequestErrorsorAuthorizationException.TokenRequestErrors, providing a root cause.voidAuthorizationServiceConfiguration.RetrieveConfigurationCallback. onFetchConfigurationCompleted(AuthorizationServiceConfiguration serviceConfiguration, AuthorizationException ex)Invoked when the retrieval of the discovery doc completes successfully or fails.voidAuthorizationService.RegistrationResponseCallback. onRegistrationRequestCompleted(RegistrationResponse response, AuthorizationException ex)Invoked when the request completes successfully or fails.voidAuthorizationService.TokenResponseCallback. onTokenRequestCompleted(TokenResponse response, AuthorizationException ex)Invoked when the request completes successfully or fails.voidAuthState. update(AuthorizationResponse authResponse, AuthorizationException authException)Updates the authorization state based on a new authorization response.voidAuthState. update(TokenResponse tokenResponse, AuthorizationException authException)Updates the authorization state based on a new token response.Constructors in net.openid.appauth with parameters of type AuthorizationException Constructor Description AuthState(AuthorizationResponse authResponse, AuthorizationException authError)Creates anAuthStatebased on an authorization exchange.AuthState(AuthorizationResponse authResponse, TokenResponse tokenResponse, AuthorizationException authException)Creates anAuthStatebased on an authorization exchange and subsequent token exchange.
-