- ACCESS_DENIED - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An access_denied
OAuth2 error response.
- accessToken - Variable in class net.openid.appauth.AuthorizationResponse
-
The access token retrieved as part of the authorization flow.
- accessToken - Variable in class net.openid.appauth.TokenResponse
-
The access token, if provided.
- accessTokenExpirationTime - Variable in class net.openid.appauth.AuthorizationResponse
-
The approximate expiration time of the access token, as milliseconds from the UNIX epoch.
- accessTokenExpirationTime - Variable in class net.openid.appauth.TokenResponse
-
The expiration time of the access token, if provided.
- additionalParameters - Variable in class net.openid.appauth.AuthorizationRequest
-
Additional parameters to be passed as part of the request.
- additionalParameters - Variable in class net.openid.appauth.AuthorizationResponse
-
The additional, non-standard parameters in the response.
- additionalParameters - Variable in class net.openid.appauth.TokenRequest
-
Additional parameters to be passed as part of the request.
- additionalParameters - Variable in class net.openid.appauth.TokenResponse
-
Additional, non-standard parameters in the response.
- authorizationCode - Variable in class net.openid.appauth.AuthorizationResponse
-
The authorization code generated by the authorization server.
- authorizationCode - Variable in class net.openid.appauth.TokenRequest
-
An authorization code to be exchanged for one or more tokens.
- authorizationEndpoint - Variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The authorization service's endpoint.
- AuthorizationException - Exception in net.openid.appauth
-
Returned as a response to OAuth2 requests if they fail.
- AuthorizationException(int, int, String, String, Uri, Throwable) - Constructor for exception net.openid.appauth.AuthorizationException
-
Instantiates an authorization request with optional root cause information.
- AuthorizationException.AuthorizationRequestErrors - Class in net.openid.appauth
-
Error codes related to failed authorization requests.
- AuthorizationException.GeneralErrors - Class in net.openid.appauth
-
Error codes specific to AppAuth for Android, rather than those defined in the OAuth2 and
OpenID specifications.
- AuthorizationException.TokenRequestErrors - Class in net.openid.appauth
-
Error codes related to failed token requests.
- AuthorizationRequest - Class in net.openid.appauth
-
An OAuth2 authorization request.
- AuthorizationRequest.Builder - Class in net.openid.appauth
-
- AuthorizationRequestErrors() - Constructor for class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
- AuthorizationResponse - Class in net.openid.appauth
-
A response to an authorization request.
- AuthorizationResponse.Builder - Class in net.openid.appauth
-
- AuthorizationService - Class in net.openid.appauth
-
Dispatches requests to an OAuth2 authorization service.
- AuthorizationService(Context) - Constructor for class net.openid.appauth.AuthorizationService
-
Creates an AuthorizationService instance based on the provided configuration.
- AuthorizationService.TokenResponseCallback - Interface in net.openid.appauth
-
Callback interface for token endpoint requests.
- AuthorizationServiceConfiguration - Class in net.openid.appauth
-
Configuration details required to interact with an authorization service.
- AuthorizationServiceConfiguration(Uri, Uri) - Constructor for class net.openid.appauth.AuthorizationServiceConfiguration
-
Creates a service configuration for a basic OAuth2 provider.
- AuthorizationServiceConfiguration(AuthorizationServiceDiscovery) - Constructor for class net.openid.appauth.AuthorizationServiceConfiguration
-
Creates an service configuration for an OpenID Connect provider, based on its
discovery document
.
- AuthorizationServiceConfiguration.RetrieveConfigurationCallback - Interface in net.openid.appauth
-
Callback interface for configuration retrieval.
- AuthorizationServiceDiscovery - Class in net.openid.appauth
-
An OpenID Connect 1.0 Discovery Document.
- AuthorizationServiceDiscovery(JSONObject) - Constructor for class net.openid.appauth.AuthorizationServiceDiscovery
-
Extracts a discovery document from its standard JSON representation.
- AuthorizationServiceDiscovery.MissingArgumentException - Exception in net.openid.appauth
-
Thrown when a mandatory property is missing from the discovery document.
- AuthState - Class in net.openid.appauth
-
Collects authorization state from authorization requests and responses.
- AuthState() - Constructor for class net.openid.appauth.AuthState
-
- AuthState(AuthorizationResponse, Exception) - Constructor for class net.openid.appauth.AuthState
-
Creates an
AuthState
based on an authorization exchange.
- AuthState(AuthorizationResponse, TokenResponse) - Constructor for class net.openid.appauth.AuthState
-
Creates an
AuthState
based on an authorization exchange and subsequent token
exchange.
- AuthState.AuthStateAction - Interface in net.openid.appauth
-
Interface for actions executed in the context of fresh (non-expired) tokens.
- checkCodeVerifier(String) - Static method in class net.openid.appauth.CodeVerifierUtil
-
- CLIENT_ERROR - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An authorization error occurring on the client rather than the server.
- CLIENT_ERROR - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An authorization error occurring on the client rather than the server.
- clientId - Variable in class net.openid.appauth.AuthorizationRequest
-
The client identifier.
- clientId - Variable in class net.openid.appauth.TokenRequest
-
The client identifier.
- code - Variable in exception net.openid.appauth.AuthorizationException
-
The error code describing the class of problem encountered from the set defined in this
class.
- CODE_CHALLENGE_METHOD_PLAIN - Static variable in class net.openid.appauth.AuthorizationRequest
-
Plain-text code verifier challenge method.
- CODE_CHALLENGE_METHOD_S256 - Static variable in class net.openid.appauth.AuthorizationRequest
-
SHA-256 based code verifier challenge method.
- codeVerifier - Variable in class net.openid.appauth.AuthorizationRequest
-
The proof key for code exchange.
- codeVerifier - Variable in class net.openid.appauth.TokenRequest
-
The code verifier that was used to generate the challenge in the original authorization
request, if one was used.
- codeVerifierChallenge - Variable in class net.openid.appauth.AuthorizationRequest
-
- codeVerifierChallengeMethod - Variable in class net.openid.appauth.AuthorizationRequest
-
- CodeVerifierUtil - Class in net.openid.appauth
-
Generates code verifiers and challenges for PKCE exchange.
- configuration - Variable in class net.openid.appauth.AuthorizationRequest
-
- configuration - Variable in class net.openid.appauth.TokenRequest
-
- createCustomTabsIntentBuilder() - Method in class net.openid.appauth.AuthorizationService
-
Creates a custom tab builder, that will use a tab session from an existing connection to
a web browser, if available.
- createTokenExchangeRequest() - Method in class net.openid.appauth.AuthorizationResponse
-
Creates a follow-up request to exchange a received authorization code for tokens.
- createTokenExchangeRequest(Map<String, String>) - Method in class net.openid.appauth.AuthorizationResponse
-
Creates a follow-up request to exchange a received authorization code for tokens, including
the provided additional parameters.
- createTokenRefreshRequest() - Method in class net.openid.appauth.AuthState
-
Creates a token request for new tokens using the current refresh token.
- createTokenRefreshRequest(Map<String, String>) - Method in class net.openid.appauth.AuthState
-
Creates a token request for new tokens using the current refresh token, adding the
specified additional parameters.
- GeneralErrors() - Constructor for class net.openid.appauth.AuthorizationException.GeneralErrors
-
- generateRandomCodeVerifier() - Static method in class net.openid.appauth.CodeVerifierUtil
-
- generateRandomCodeVerifier(SecureRandom, int) - Static method in class net.openid.appauth.CodeVerifierUtil
-
Generates a random code verifier string using the provided entropy source and the specified
number of bytes of entropy.
- getAccessToken() - Method in class net.openid.appauth.AuthState
-
The current access token, if available.
- getAccessTokenExpirationTime() - Method in class net.openid.appauth.AuthState
-
The expiration time of the current access token (if available), as milliseconds from the
UNIX epoch (consistent with
System.currentTimeMillis()
).
- getAcrValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The authentication context class references supported.
- getAuthorizationEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 authorization endpoint URI.
- getAuthorizationServiceConfiguration() - Method in class net.openid.appauth.AuthState
-
The configuration of the authorization service associated with this authorization state.
- getClaimsLocalesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Languages and scripts supported for values in claims being returned.
- getClaimsSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The claim names of the claims that the provider may be able to supply values for.
- getClaimTypesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The claim types supported.
- getCodeVerifierChallengeMethod() - Static method in class net.openid.appauth.CodeVerifierUtil
-
Returns the challenge method utilized on this system: typically
SHA-256
if supported by
the system,
plain
otherwise.
- getDisplayValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The display
parameter values supported.
- getGrantTypesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 grant_type
values supported.
- getIdToken() - Method in class net.openid.appauth.AuthState
-
The current ID token, if available.
- getIdTokenEncryptionAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption algorithms (alg values) supported for encoding ID token claims.
- getIdTokenEncryptionEncodingValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption encodings (enc values) supported for encoding ID token claims.
- getIdTokenSigningAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWS signing algorithms (alg values) supported for encoding ID token claims.
- getIssuer() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The asserted issuer identifier.
- getJwksUri() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JSON web key set document URI.
- getLastAuthorizationResponse() - Method in class net.openid.appauth.AuthState
-
The most recent authorization response used to update the authorization state.
- getLastTokenResponse() - Method in class net.openid.appauth.AuthState
-
The most recent token response used to update this authorization state.
- getMissingField() - Method in exception net.openid.appauth.AuthorizationServiceDiscovery.MissingArgumentException
-
- getNeedsTokenRefresh() - Method in class net.openid.appauth.AuthState
-
Determines whether the access token is considered to have expired.
- getOpPolicyUri() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
A page articulating the policy regarding the use of data provided by the provider.
- getOpTosUri() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
A page articulating the terms of service for the provider.
- getRefreshToken() - Method in class net.openid.appauth.AuthState
-
The most recent refresh token received from the server, if available.
- getRegistrationEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The dynamic client registration endpoint URI.
- getRequestObjectEncryptionAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption algorithms (alg values) supported for Request Objects.
- getRequestObjectEncryptionEncodingValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption encodings (enc values) supported for Request Objects.
- getRequestObjectSigningAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWS signing algorithms (alg values) supported for Request Objects.
- getResponseModesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 response_mode
values supported.
- getResponseTypesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 response_type
values supported.
- getScope() - Method in class net.openid.appauth.AuthState
-
The scope of the current authorization grant.
- getScopeSet() - Method in class net.openid.appauth.AuthorizationRequest
-
- getScopeSet() - Method in class net.openid.appauth.AuthorizationResponse
-
- getScopeSet() - Method in class net.openid.appauth.AuthState
-
- getScopeSet() - Method in class net.openid.appauth.TokenRequest
-
Derives the set of scopes from the consolidated, space-delimited scopes in the
TokenRequest.scope
field.
- getScopeSet() - Method in class net.openid.appauth.TokenResponse
-
Derives the set of scopes from the consolidated, space-delimited scopes in the
TokenResponse.scope
field.
- getScopesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 scope values supported.
- getServiceDocumentation() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
A page containing human-readable information that developers might want or need to know when
using this provider.
- getSubjectTypesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The subject identifier types supported.
- getTokenEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 token endpoint URI.
- getTokenEndpointAuthMethodsSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The client authentication methods supported by the token endpoint.
- getTokenEndpointAuthSigningAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWS signing algorithms (alg values) supported by the token endpoint for the signature on
the JWT used to authenticate the client for the private_key_jwt
and
client_secret_jwt
authentication methods.
- getUiLocalesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Languages and scripts supported for the user interface.
- getUserinfoEncryptionAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption algorithms (alg values) supported by the UserInfo Endpoint
for encoding ID token claims.
- getUserinfoEncryptionEncodingValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWE encryption encodings (enc values) supported by the UserInfo Endpoint
for encoding ID token claims.
- getUserinfoEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OpenID Connect UserInfo endpoint URI.
- getUserinfoSigningAlgorithmValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JWS signing algorithms (alg values) supported by the UserInfo Endpoint
for encoding ID token claims.
- GRANT_TYPE_AUTHORIZATION_CODE - Static variable in class net.openid.appauth.TokenRequest
-
The grant type used for exchanging an authorization code for one or more tokens.
- GRANT_TYPE_CLIENT_CREDENTIALS - Static variable in class net.openid.appauth.TokenRequest
-
The grant type used when requesting an access token using client credentials, typically
TLS client certificates.
- GRANT_TYPE_PASSWORD - Static variable in class net.openid.appauth.TokenRequest
-
The grant type used when requesting an access token using a username and password.
- GRANT_TYPE_REFRESH_TOKEN - Static variable in class net.openid.appauth.TokenRequest
-
The grant type used when exchanging a refresh token for a new token.
- grantType - Variable in class net.openid.appauth.TokenRequest
-
The type of token being sent to the token endpoint.
- scope - Variable in class net.openid.appauth.AuthorizationRequest
-
The optional set of scopes expressed as a space-delimited, case-sensitive string.
- scope - Variable in class net.openid.appauth.AuthorizationResponse
-
The scope of the returned access token.
- scope - Variable in class net.openid.appauth.TokenRequest
-
A space-delimited set of scopes used to determine the scope of any returned tokens.
- scope - Variable in class net.openid.appauth.TokenResponse
-
The scope of the access token.
- SCOPE_ADDRESS - Static variable in class net.openid.appauth.AuthorizationRequest
-
A scope for the authenticated user's mailing address.
- SCOPE_ADDRESS - Static variable in class net.openid.appauth.AuthorizationService
-
Scope value which requests access to the address claim.
- SCOPE_EMAIL - Static variable in class net.openid.appauth.AuthorizationRequest
-
A scope for the authenticated user's email address.
- SCOPE_EMAIL - Static variable in class net.openid.appauth.AuthorizationService
-
Scope value which requests access to the email and email_verified claims.
- SCOPE_OPENID - Static variable in class net.openid.appauth.AuthorizationRequest
-
A scope for OpenID based authorization.
- SCOPE_OPENID - Static variable in class net.openid.appauth.AuthorizationService
-
Scope value which requests access to the end-user's stable identifier.
- SCOPE_PHONE - Static variable in class net.openid.appauth.AuthorizationRequest
-
A scope for the authenticated user's phone number.
- SCOPE_PROFILE - Static variable in class net.openid.appauth.AuthorizationRequest
-
A scope for the authenticated user's basic profile information.
- SCOPE_PROFILE - Static variable in class net.openid.appauth.AuthorizationService
-
Scope value which requests access to the end-user's default profile claims.
- SERVER_ERROR - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An server_error
OAuth2 error response, equivalent to an HTTP 500 error code, but
sent via redirect.
- SERVER_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a server error occurred.
- setAccessToken(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the OAuth 2 access token.
- setAccessToken(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the access token.
- setAccessTokenExpirationTime(Long) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the expiration time of the OAuth 2 access token.
- setAccessTokenExpirationTime(Long) - Method in class net.openid.appauth.TokenResponse.Builder
-
Sets the exact expiration time of the access token, in milliseconds since the UNIX epoch.
- setAccessTokenExpiresIn(Long) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the expiration period of the OAuth 2 access token.
- setAccessTokenExpiresIn(Long, Clock) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the relative expiration time of the access token, in seconds, using the
provided clock as the source of the current time.
- setAccessTokenExpiresIn(Long) - Method in class net.openid.appauth.TokenResponse.Builder
-
Sets the relative expiration time of the access token, in seconds, using the default
system clock as the source of the current time.
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies additional parameters.
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the additional set of parameters received as part of the response.
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies an additional set of parameters to be sent as part of the request.
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the additional, non-standard parameters received as part of the response.
- setAuthorizationCode(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the OAuth 2 authorization code.
- setAuthorizationCode(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the authorization code for the request.
- setAuthorizationServiceConfiguration(AuthorizationServiceConfiguration) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the service configuration to be used in dispatching this request.
- setClientId(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the client ID.
- setClientId(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the client ID for the token request, which must not be null or empty.
- setCodeVerifier(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the code verifier to use for this authorization request.
- setCodeVerifier(String, String, String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the code verifier, challenge and method strings to use for this authorization
request.
- setCodeVerifier(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the code verifier for an authorization code exchange request.
- setConfiguration(AuthorizationServiceConfiguration) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the authorization service configuration for the request, which must not
be null or empty.
- setGrantType(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the grant type for the request, which must not be null or empty.
- setIdToken(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the OAuth 2 Id token.
- setIdToken(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the ID token.
- setNeedsTokenRefresh(boolean) - Method in class net.openid.appauth.AuthState
-
Sets whether to force an access token refresh, irrespective of the expiration time.
- setRedirectUri(Uri) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the client's redirect URI.
- setRedirectUri(Uri) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the redirect URI for the request.
- setRefreshToken(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the refresh token for the request.
- setRefreshToken(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the refresh token.
- setRequest(TokenRequest) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the request associated with this response.
- setResponseMode(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the response mode to be used for returning authorization response parameters
from the authorization endpoint.
- setResponseType(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the expected response type.
- setScope(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the encoded scope string, which is a space-delimited set of
case-sensitive scope identifiers.
- setScope(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the encoded scope string, which is a space-delimited set of
case-sensitive scope identifiers.
- setScope(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the encoded scope string, which is a space-delimited set of
case-sensitive scope identifiers.
- setScope(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the encoded scope string, which is a space-delimited set of
case-sensitive scope identifiers.
- setScopes(String...) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(Iterable<String>) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(String...) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(Iterable<String>) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(String...) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(Iterable<String>) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(String...) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(Iterable<String>) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the set of case-sensitive scopes.
- setState(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the opaque value used by the client to maintain state between the request and
callback.
- setState(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the OAuth 2 state.
- setTokenType(String) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Specifies the OAuth 2 token type.
- setTokenType(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the token type of the access token in this response.
- state - Variable in class net.openid.appauth.AuthorizationRequest
-
An opaque value used by the client to maintain state between the request and callback.
- state - Variable in class net.openid.appauth.AuthorizationResponse
-
The returned state parameter, which must match the value specified in the request.
- TEMPORARILY_UNAVAILABLE - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
A temporarily_unavailable
OAuth2 error response, equivalent to an HTTP 503 error
code, but sent via redirect.
- toIntent() - Method in exception net.openid.appauth.AuthorizationException
-
Creates an intent from this exception.
- toIntent() - Method in class net.openid.appauth.AuthorizationResponse
-
Produces an intent containing this authorization response.
- toJson() - Method in exception net.openid.appauth.AuthorizationException
-
Produces a JSON representation of the authorization exception, for transmission or storage.
- toJson() - Method in class net.openid.appauth.AuthorizationRequest
-
Produces a JSON representation of the request for storage or transmission.
- toJson() - Method in class net.openid.appauth.AuthorizationResponse
-
Converts the response to a JSON object for storage or transmission.
- toJson() - Method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Converts the authorization service configuration to JSON for storage or transmission.
- toJson() - Method in class net.openid.appauth.AuthState
-
Converts the authorization state to a JSON object for storage or transmission.
- toJson() - Method in class net.openid.appauth.TokenRequest
-
Converts the token request to JSON for storage or transmission.
- toJson() - Method in class net.openid.appauth.TokenResponse
-
Converts the token response to a JSON object, for storage or transmission.
- toJsonString() - Method in exception net.openid.appauth.AuthorizationException
-
Provides a JSON string representation of an authorization exception, for transmission or
storage.
- toJsonString() - Method in class net.openid.appauth.AuthorizationRequest
-
Produces a JSON string representation of the request for storage or transmission.
- toJsonString() - Method in class net.openid.appauth.AuthorizationResponse
-
Converts the response to a JSON string for storage or transmission.
- toJsonString() - Method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Converts the authorization service configuration to a JSON string for storage or
transmission.
- toJsonString() - Method in class net.openid.appauth.AuthState
-
Converts the authorization state to a JSON string for storage or transmission.
- toJsonString() - Method in class net.openid.appauth.TokenRequest
-
Converts the authorization request to a JSON string for storage or transmission.
- toJsonString() - Method in class net.openid.appauth.TokenResponse
-
Converts the token response to a JSON string, for storage or transmission.
- TOKEN_RESPONSE_CONSTRUCTION_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a problem occurred constructing a
token response
object
from the JSON provided by the server.
- TOKEN_TYPE_BEARER - Static variable in class net.openid.appauth.AuthorizationResponse
-
Indicates that a provided access token is a bearer token.
- TOKEN_TYPE_BEARER - Static variable in class net.openid.appauth.TokenResponse
-
Indicates that a provided access token is a bearer token.
- tokenEndpoint - Variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The authorization service's token exchange and refresh endpoint.
- TokenRequest - Class in net.openid.appauth
-
An OAuth2 token request.
- TokenRequest.Builder - Class in net.openid.appauth
-
- TokenRequestErrors() - Constructor for class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
- TokenResponse - Class in net.openid.appauth
-
A response to a token request.
- TokenResponse.Builder - Class in net.openid.appauth
-
- tokenType - Variable in class net.openid.appauth.AuthorizationResponse
-
The type of the retrieved token.
- tokenType - Variable in class net.openid.appauth.TokenResponse
-
The type of the token returned.
- toString() - Method in exception net.openid.appauth.AuthorizationException
-
- type - Variable in exception net.openid.appauth.AuthorizationException
-
The type of the error.
- TYPE_GENERAL_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The error type used for all errors that are not specific to OAuth related responses.
- TYPE_OAUTH_AUTHORIZATION_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The error type for OAuth specific errors on the authorization endpoint.
- TYPE_OAUTH_TOKEN_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The error type for OAuth specific errors on the token endpoint.
- TYPE_RESOURCE_SERVER_AUTHORIZATION_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The error type for authorization errors encountered out of band on the resource server.