A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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.
- additionalClaims - Variable in class net.openid.appauth.IdToken
-
Additional claims present in this ID Token.
- 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.EndSessionRequest
-
Additional parameters to be passed as part of the request.
- additionalParameters - Variable in class net.openid.appauth.RegistrationRequest
-
Additional parameters to be passed as part of the request.
- additionalParameters - Variable in class net.openid.appauth.RegistrationResponse
-
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.
- ADDRESS - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for the authenticated user’s mailing address.
- ANY_VERSION - Static variable in class net.openid.appauth.browser.VersionRange
-
A version range that matches any delimited version.
- AnyBrowserMatcher - Class in net.openid.appauth.browser
-
Matches any browser.
- AppAuthConfiguration - Class in net.openid.appauth
-
Defines configuration properties that control the behavior of the AppAuth library, independent of the OAuth2 specific details that are described.
- AppAuthConfiguration.Builder - Class in net.openid.appauth
-
Creates
AppAuthConfiguration
instances. - appendQueryParameterIfNotNull(Uri.Builder, String, Object) - Static method in class net.openid.appauth.internal.UriUtil
- APPLICATION_TYPE_NATIVE - Static variable in class net.openid.appauth.RegistrationRequest
-
OpenID Connect ‘application_type’.
- applicationType - Variable in class net.openid.appauth.RegistrationRequest
-
The application type to register, will always be ‘native’.
- atLeast(String) - Static method in class net.openid.appauth.browser.VersionRange
-
Creates a version range that will match any version at or above the specified version, which will be parsed as a
DelimitedVersion
. - atLeast(DelimitedVersion) - Static method in class net.openid.appauth.browser.VersionRange
-
Creates a version range that will match any version at or above the specified version.
- atMost(String) - Static method in class net.openid.appauth.browser.VersionRange
-
Creates a version range that will match any version at or below the specified version, which will be parsed as a
DelimitedVersion
. - atMost(DelimitedVersion) - Static method in class net.openid.appauth.browser.VersionRange
-
Creates a version range that will match any version at or below the specified version.
- audience - Variable in class net.openid.appauth.IdToken
-
Audience(s) that this ID Token is intended for.
- AUTHORIZATION_CODE - Static variable in class net.openid.appauth.GrantTypeValues
-
The grant type used for exchanging an authorization code for one or more tokens.
- 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.RegistrationRequestErrors - Class in net.openid.appauth
-
Error codes related to failed registration requests.
- AuthorizationException.TokenRequestErrors - Class in net.openid.appauth
-
Error codes related to failed token requests.
- AuthorizationManagementActivity - Class in net.openid.appauth
-
Stores state and handles events related to the authorization management flow.
- AuthorizationManagementActivity() - Constructor for class net.openid.appauth.AuthorizationManagementActivity
- AuthorizationManagementRequest - Interface in net.openid.appauth
-
A base request for session management models
AuthorizationRequest
EndSessionRequest
- AuthorizationManagementResponse - Class in net.openid.appauth
-
A base response for session management models
AuthorizationResponse
EndSessionResponse
- AuthorizationManagementResponse() - Constructor for class net.openid.appauth.AuthorizationManagementResponse
- AuthorizationRequest - Class in net.openid.appauth
-
An OAuth2 authorization request.
- AuthorizationRequest.Builder - Class in net.openid.appauth
-
Creates instances of
AuthorizationRequest
. - AuthorizationRequest.Display - Class in net.openid.appauth
-
All spec-defined values for the OpenID Connect 1.0
display
parameter. - AuthorizationRequest.Prompt - Class in net.openid.appauth
-
All spec-defined values for the OpenID Connect 1.0
prompt
parameter. - AuthorizationRequest.ResponseMode - Class in net.openid.appauth
-
All spec-defined values for the OAuth2 / OpenID Connect
response_mode
parameter. - AuthorizationRequest.Scope - Class in net.openid.appauth
-
All spec-defined values for the OAuth2 / OpenID Connect 1.0
scope
parameter. - 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
-
Creates instances of
AuthorizationResponse
. - 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, using the
default configuration
. - AuthorizationService(Context, AppAuthConfiguration) - Constructor for class net.openid.appauth.AuthorizationService
-
Creates an AuthorizationService instance, using the specified configuration.
- AuthorizationService.RegistrationResponseCallback - Interface in net.openid.appauth
-
Callback interface for token endpoint requests.
- 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(Uri, Uri, Uri) - Constructor for class net.openid.appauth.AuthorizationServiceConfiguration
-
Creates a service configuration for a basic OAuth2 provider.
- AuthorizationServiceConfiguration(Uri, Uri, 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.
- authorizedParty - Variable in class net.openid.appauth.IdToken
-
Authorized party - the party to which the ID Token was issued.
- AuthState - Class in net.openid.appauth
-
Collects authorization state from authorization requests and responses.
- AuthState() - Constructor for class net.openid.appauth.AuthState
-
Creates an empty, unauthenticated
AuthState
. - AuthState(AuthorizationResponse, AuthorizationException) - Constructor for class net.openid.appauth.AuthState
-
Creates an
AuthState
based on an authorization exchange. - AuthState(AuthorizationResponse, TokenResponse, AuthorizationException) - Constructor for class net.openid.appauth.AuthState
-
Creates an
AuthState
based on an authorization exchange and subsequent token exchange. - AuthState(AuthorizationServiceConfiguration) - Constructor for class net.openid.appauth.AuthState
-
Creates an unauthenticated
AuthState
, with the service configuration retained for convenience. - AuthState(RegistrationResponse) - Constructor for class net.openid.appauth.AuthState
-
Creates an
AuthState
based on a dynamic registration client registration request. - AuthState.AuthStateAction - Interface in net.openid.appauth
-
Interface for actions executed in the context of fresh (non-expired) tokens.
B
- between(String, String) - Static method in class net.openid.appauth.browser.VersionRange
-
Creates a version range that will match any version equal to or between the specified versions, which will be parsed as
DelimitedVersion
instances. - bind(String) - Method in class net.openid.appauth.browser.CustomTabManager
- BrowserAllowList - Class in net.openid.appauth.browser
-
A allowList of browsers which can be used as part of an authorization flows.
- BrowserAllowList(BrowserMatcher...) - Constructor for class net.openid.appauth.browser.BrowserAllowList
-
Creates a browser allowList, which will match if any of the provided matchers do.
- BrowserDenyList - Class in net.openid.appauth.browser
-
A denyList of browsers.
- BrowserDenyList(BrowserMatcher...) - Constructor for class net.openid.appauth.browser.BrowserDenyList
-
Creates a denyList from the provided set of matchers.
- BrowserDescriptor - Class in net.openid.appauth.browser
-
Represents a browser that may be used for an authorization flow.
- BrowserDescriptor(PackageInfo, boolean) - Constructor for class net.openid.appauth.browser.BrowserDescriptor
-
Creates a description of a browser from a
PackageInfo
object returned from thePackageManager
. - BrowserDescriptor(String, Set<String>, String, boolean) - Constructor for class net.openid.appauth.browser.BrowserDescriptor
-
Creates a description of a browser from the core properties that are frequently used to decide whether a browser can be used for an authorization flow.
- BrowserMatcher - Interface in net.openid.appauth.browser
-
Determines whether a
BrowserDescriptor
matches some set of criteria. - Browsers - Class in net.openid.appauth.browser
-
Defines the attributes of some commonly-used browsers on Android, for use in browser matchers.
- Browsers.Chrome - Class in net.openid.appauth.browser
-
Constants related to Google Chrome.
- Browsers.Firefox - Class in net.openid.appauth.browser
-
Constants related to Mozilla Firefox.
- Browsers.SBrowser - Class in net.openid.appauth.browser
-
Constants related to SBrowser, the default browser on Samsung devices.
- BrowserSelector - Class in net.openid.appauth.browser
-
Utility class to obtain the browser package name to be used for
AuthorizationService.performAuthorizationRequest( net.openid.appauth.AuthorizationRequest, android.app.PendingIntent)
calls. - BrowserSelector() - Constructor for class net.openid.appauth.browser.BrowserSelector
- build() - Method in class net.openid.appauth.AppAuthConfiguration.Builder
-
Creates the instance from the configured properties.
- build() - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Constructs the authorization request.
- build() - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Builds the Authorization object.
- build() - Method in class net.openid.appauth.EndSessionRequest.Builder
-
Constructs an end session request.
- build() - Method in class net.openid.appauth.EndSessionResponse.Builder
-
Builds the response object.
- build() - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Constructs the registration request.
- build() - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Creates the token response instance.
- build() - Method in class net.openid.appauth.TokenRequest.Builder
-
Produces a
TokenRequest
instance, if all necessary values have been provided. - build() - Method in class net.openid.appauth.TokenResponse.Builder
-
Creates the token response instance.
- Builder() - Constructor for class net.openid.appauth.AppAuthConfiguration.Builder
- Builder(AuthorizationRequest) - Constructor for class net.openid.appauth.AuthorizationResponse.Builder
-
Creates an authorization builder with the specified mandatory properties.
- Builder(AuthorizationServiceConfiguration) - Constructor for class net.openid.appauth.EndSessionRequest.Builder
-
Creates an end-session request builder with the specified mandatory properties and preset value for
AuthorizationRequest.state
. - Builder(AuthorizationServiceConfiguration, String) - Constructor for class net.openid.appauth.TokenRequest.Builder
-
Creates a token request builder with the specified mandatory properties.
- Builder(AuthorizationServiceConfiguration, String, String, Uri) - Constructor for class net.openid.appauth.AuthorizationRequest.Builder
-
Creates an authorization request builder with the specified mandatory properties, and preset values for
AuthorizationRequest.state
,AuthorizationRequest.nonce
andAuthorizationRequest.codeVerifier
. - Builder(AuthorizationServiceConfiguration, List<Uri>) - Constructor for class net.openid.appauth.RegistrationRequest.Builder
-
Creates a registration request builder with the specified mandatory properties.
- Builder(EndSessionRequest) - Constructor for class net.openid.appauth.EndSessionResponse.Builder
- Builder(RegistrationRequest) - Constructor for class net.openid.appauth.RegistrationResponse.Builder
-
Creates a token response associated with the specified request.
- Builder(TokenRequest) - Constructor for class net.openid.appauth.TokenResponse.Builder
-
Creates a token response associated with the specified request.
- byString(String) - Static method in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
Returns the matching exception type for the provided OAuth2 error string, or
AuthorizationException.AuthorizationRequestErrors.OTHER
if unknown. - byString(String) - Static method in class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
-
Returns the matching exception type for the provided OAuth2 error string, or
AuthorizationException.RegistrationRequestErrors.OTHER
if unknown. - byString(String) - Static method in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
Returns the matching exception type for the provided OAuth2 error string, or
AuthorizationException.TokenRequestErrors.OTHER
if unknown.
C
- changeUseCustomTab(boolean) - Method in class net.openid.appauth.browser.BrowserDescriptor
-
Creates a copy of this browser descriptor, changing the intention to use it as a custom tab to the specified value.
- checkArgument(boolean) - Static method in class net.openid.appauth.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, Object) - Static method in class net.openid.appauth.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkArgument(boolean, String, Object...) - Static method in class net.openid.appauth.Preconditions
-
Ensures the truth of an expression involving one or more parameters to the calling method.
- checkCodeVerifier(String) - Static method in class net.openid.appauth.CodeVerifierUtil
-
Throws an IllegalArgumentException if the provided code verifier is invalid.
- checkCollectionNotEmpty(T, Object) - Static method in class net.openid.appauth.Preconditions
-
Ensures that a collection is not null or empty.
- checkNotEmpty(String, Object) - Static method in class net.openid.appauth.Preconditions
-
Ensures that a string is not null or empty.
- checkNotNull(T) - Static method in class net.openid.appauth.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNotNull(T, Object) - Static method in class net.openid.appauth.Preconditions
-
Ensures that an object reference passed as a parameter to the calling method is not null.
- checkNullOrNotEmpty(String, Object) - Static method in class net.openid.appauth.Preconditions
-
Ensures that the string is either null, or a non-empty string.
- CHROME_BROWSER - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of Google Chrome for use as a standalone browser.
- CHROME_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of Chrome for use as a custom tab.
- claims - Variable in class net.openid.appauth.AuthorizationRequest
-
Requests that specific Claims be returned.
- claimsLocales - Variable in class net.openid.appauth.AuthorizationRequest
-
End-User’s preferred languages and scripts for Claims being returned, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
- 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.RegistrationRequestErrors
-
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.
- ClientAuthentication - Interface in net.openid.appauth
- ClientAuthentication.UnsupportedAuthenticationMethod - Exception in net.openid.appauth
-
Thrown when a mandatory property is missing from the registration response.
- clientId - Variable in class net.openid.appauth.AuthorizationRequest
-
The client identifier.
- clientId - Variable in class net.openid.appauth.RegistrationResponse
-
The registered client identifier.
- clientId - Variable in class net.openid.appauth.TokenRequest
-
The client identifier.
- clientIdIssuedAt - Variable in class net.openid.appauth.RegistrationResponse
-
Timestamp of when the client identifier was issued, if provided.
- clientSecret - Variable in class net.openid.appauth.RegistrationResponse
-
The client secret, which is part of the client credentials, if provided.
- ClientSecretBasic - Class in net.openid.appauth
-
Implementation of the client authentication method ‘client_secret_basic’.
- ClientSecretBasic(String) - Constructor for class net.openid.appauth.ClientSecretBasic
-
Creates a
ClientAuthentication
which will use the client authentication methodclient_secret_basic
. - clientSecretExpiresAt - Variable in class net.openid.appauth.RegistrationResponse
-
Timestamp of when the client credentials expires, if provided.
- ClientSecretPost - Class in net.openid.appauth
-
Implementation of the client authentication method ‘client_secret_post’.
- ClientSecretPost(String) - Constructor for class net.openid.appauth.ClientSecretPost
-
Creates a
ClientAuthentication
which will use the client authentication methodclient_secret_post
. - 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 - Static variable in class net.openid.appauth.ResponseTypeValues
-
For requesting an authorization code.
- 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
-
The challenge derived from the
code verifier
, using thechallenge method
. - codeVerifierChallengeMethod - Variable in class net.openid.appauth.AuthorizationRequest
-
The challenge method used to generate a
challenge
from thecode verifier
. - CodeVerifierUtil - Class in net.openid.appauth
-
Generates code verifiers and challenges for PKCE exchange.
- compareTo(DelimitedVersion) - Method in class net.openid.appauth.browser.DelimitedVersion
- configuration - Variable in class net.openid.appauth.AuthorizationRequest
-
The service’s
configuration
. - configuration - Variable in class net.openid.appauth.EndSessionRequest
-
The service’s
configuration
. - configuration - Variable in class net.openid.appauth.RegistrationRequest
-
The service’s
configuration
. - configuration - Variable in class net.openid.appauth.TokenRequest
-
The service’s
configuration
. - ConnectionBuilder - Interface in net.openid.appauth.connectivity
-
Creates
HttpURLConnection
instances for use in direct interactions with the authorization service, i.e. - CONSENT - Static variable in class net.openid.appauth.AuthorizationRequest.Prompt
-
The Authorization Server SHOULD prompt the End-User for consent before returning information to the Client.
- createCustomTabsIntentBuilder(Uri...) - 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.
- createResponseHandlingIntent(Context, Uri) - Static method in class net.openid.appauth.AuthorizationManagementActivity
-
Creates an intent to handle the completion of an authorization flow.
- createSession(CustomTabsCallback, Uri...) - Method in class net.openid.appauth.browser.CustomTabManager
-
Creates a
custom tab session
for use with a custom tab intent, with optional callbacks and optional list of URIs that may be requested. - createStartForResultIntent(Context, AuthorizationManagementRequest, Intent) - Static method in class net.openid.appauth.AuthorizationManagementActivity
-
Creates an intent to start an authorization flow.
- createStartIntent(Context, AuthorizationManagementRequest, Intent, PendingIntent, PendingIntent) - Static method in class net.openid.appauth.AuthorizationManagementActivity
-
Creates an intent to start an authorization flow.
- createTabBuilder(Uri...) - Method in class net.openid.appauth.browser.CustomTabManager
-
Creates a
custom tab builder
, with an optional list of optional URIs that may be requested. - 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.
- customTab(String) - Static method in class net.openid.appauth.browser.Browsers.Chrome
-
Creates a browser descriptor for the specified version of Chrome, when used as a custom tab.
- customTab(String) - Static method in class net.openid.appauth.browser.Browsers.Firefox
-
Creates a browser descriptor for the specified version of Firefox, when used as a custom tab.
- customTab(String) - Static method in class net.openid.appauth.browser.Browsers.SBrowser
-
Creates a browser descriptor for the specified version of SBrowser, when used as a custom tab.
- CustomTabManager - Class in net.openid.appauth.browser
-
Hides the details of establishing connections and sessions with custom tabs, to make testing easier.
- CustomTabManager(Context) - Constructor for class net.openid.appauth.browser.CustomTabManager
D
- debug(String, Object...) - Static method in class net.openid.appauth.internal.Logger
- debugWithStack(Throwable, String, Object...) - Static method in class net.openid.appauth.internal.Logger
- DEFAULT - Static variable in class net.openid.appauth.AppAuthConfiguration
-
The default configuration that is used if no configuration is explicitly specified when constructing an
AuthorizationService
. - DEFAULT_CODE_VERIFIER_ENTROPY - Static variable in class net.openid.appauth.CodeVerifierUtil
-
The default entropy (in bytes) used for the code verifier.
- DefaultConnectionBuilder - Class in net.openid.appauth.connectivity
-
Creates
HttpURLConnection
instances using the default, platform-provided mechanism, with sensible production defaults. - DelimitedVersion - Class in net.openid.appauth.browser
-
Represents a delimited version number for an application.
- DelimitedVersion(long[]) - Constructor for class net.openid.appauth.browser.DelimitedVersion
-
Creates a version with the specified parts, ordered from major to minor.
- deriveCodeVerifierChallenge(String) - Static method in class net.openid.appauth.CodeVerifierUtil
-
Produces a challenge from a code verifier, using SHA-256 as the challenge method if the system supports it (all Android devices should support SHA-256), and falls back to the
"plain" challenge type
if unavailable. - discoveryDoc - Variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The discovery document describing the service, if it is an OpenID Connect provider.
- display - Variable in class net.openid.appauth.AuthorizationRequest
-
The OpenID Connect 1.0
display
parameter. - Display() - Constructor for class net.openid.appauth.AuthorizationRequest.Display
- dispose() - Method in class net.openid.appauth.AuthorizationService
-
Disposes state that will not normally be handled by garbage collection.
- dispose() - Method in class net.openid.appauth.browser.CustomTabManager
- docJson - Variable in class net.openid.appauth.AuthorizationServiceDiscovery
-
The JSON representation of the discovery document.
E
- EMAIL - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for the authenticated user’s email address.
- endSessionEndpoint - Variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The end session service’s endpoint;
- EndSessionRequest - Class in net.openid.appauth
-
An OpenID end session request.
- EndSessionRequest.Builder - Class in net.openid.appauth
-
Creates instances of
EndSessionRequest
. - EndSessionResponse - Class in net.openid.appauth
-
A response to end session request.
- EndSessionResponse.Builder - Class in net.openid.appauth
-
Creates instances of
EndSessionResponse
. - equals(Object) - Method in exception net.openid.appauth.AuthorizationException
- equals(Object) - Method in class net.openid.appauth.browser.BrowserDescriptor
- equals(Object) - Method in class net.openid.appauth.browser.DelimitedVersion
- error - Variable in exception net.openid.appauth.AuthorizationException
-
The error string as it is found in the OAuth2 protocol.
- error(String, Object...) - Static method in class net.openid.appauth.internal.Logger
- errorDescription - Variable in exception net.openid.appauth.AuthorizationException
-
The human readable error message associated with this exception, if available.
- errorUri - Variable in exception net.openid.appauth.AuthorizationException
-
A URI identifying a human-readable web page with information about this error.
- errorWithStack(Throwable, String, Object...) - Static method in class net.openid.appauth.internal.Logger
- ExactBrowserMatcher - Class in net.openid.appauth.browser
-
Matches only the specified browser.
- ExactBrowserMatcher(BrowserDescriptor) - Constructor for class net.openid.appauth.browser.ExactBrowserMatcher
-
Creates a browser matcher that will only match the specified browser.
- execute(String, String, AuthorizationException) - Method in interface net.openid.appauth.AuthState.AuthStateAction
-
Executed in the context of fresh (non-expired) tokens.
- expiration - Variable in class net.openid.appauth.IdToken
-
Expiration time on or after which the ID Token MUST NOT be accepted for processing.
- EXPIRY_TIME_TOLERANCE_MS - Static variable in class net.openid.appauth.AuthState
-
Tokens which have less time than this value left before expiry will be considered to be expired for the purposes of calls to
performActionWithFreshTokens
. - EXTRA_EXCEPTION - Static variable in exception net.openid.appauth.AuthorizationException
-
The extra string that used to store an
AuthorizationException
in an intent byAuthorizationException.toIntent()
. - EXTRA_RESPONSE - Static variable in class net.openid.appauth.AuthorizationResponse
-
The extra string used to store an
AuthorizationResponse
in an intent byAuthorizationResponse.toIntent()
. - EXTRA_RESPONSE - Static variable in class net.openid.appauth.EndSessionResponse
-
The extra string used to store an
EndSessionResponse
in an intent byEndSessionResponse.toIntent()
.
F
- fetchFromIssuer(Uri, AuthorizationServiceConfiguration.RetrieveConfigurationCallback) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Fetch an AuthorizationServiceConfiguration from an OpenID Connect issuer URI.
- fetchFromIssuer(Uri, AuthorizationServiceConfiguration.RetrieveConfigurationCallback, ConnectionBuilder) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Fetch an AuthorizationServiceConfiguration from an OpenID Connect issuer URI, using the
default connection builder
. - fetchFromUrl(Uri, AuthorizationServiceConfiguration.RetrieveConfigurationCallback) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Fetch a AuthorizationServiceConfiguration from an OpenID Connect discovery URI, using the
default connection builder
. - fetchFromUrl(Uri, AuthorizationServiceConfiguration.RetrieveConfigurationCallback, ConnectionBuilder) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Fetch a AuthorizationServiceConfiguration from an OpenID Connect discovery URI.
- FIREFOX_BROWSER - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of Mozilla Firefox.
- FIREFOX_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of Firefox for use as a custom tab.
- formUrlDecode(String) - Static method in class net.openid.appauth.internal.UriUtil
- formUrlDecodeUnique(String) - Static method in class net.openid.appauth.internal.UriUtil
- formUrlEncode(Map<String, String>) - Static method in class net.openid.appauth.internal.UriUtil
- formUrlEncodeValue(String) - Static method in class net.openid.appauth.internal.UriUtil
- FRAGMENT - Static variable in class net.openid.appauth.AuthorizationRequest.ResponseMode
-
Instructs the authorization server to send response parameters using the fragment portion of the redirect URI.
- fromIntent(Intent) - Static method in exception net.openid.appauth.AuthorizationException
-
Extracts an
AuthorizationException
from an intent produced byAuthorizationException.toIntent()
. - fromIntent(Intent) - Static method in class net.openid.appauth.AuthorizationResponse
-
Extracts an authorization response from an intent produced by
AuthorizationResponse.toIntent()
. - fromIntent(Intent) - Static method in class net.openid.appauth.EndSessionResponse
-
Extracts an end session response from an intent produced by
EndSessionResponse.toIntent()
. - fromJson(String) - Static method in exception net.openid.appauth.AuthorizationException
-
Reconstructs an
AuthorizationException
from the JSON produced byAuthorizationException.toJsonString()
. - fromJson(String) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Reads an Authorization service configuration from a JSON representation produced by the
AuthorizationServiceConfiguration.toJson()
method or some other equivalent producer. - fromJson(RegistrationRequest, String) - Static method in class net.openid.appauth.RegistrationResponse
-
Reads a registration response JSON string received from an authorization server, and associates it with the provided request.
- fromJson(RegistrationRequest, JSONObject) - Static method in class net.openid.appauth.RegistrationResponse
-
Reads a registration response JSON object received from an authorization server, and associates it with the provided request.
- fromJson(JSONObject) - Static method in exception net.openid.appauth.AuthorizationException
-
Reconstructs an
AuthorizationException
from the JSON produced byAuthorizationException.toJson()
. - fromJson(JSONObject) - Static method in class net.openid.appauth.AuthorizationServiceConfiguration
-
Reads an Authorization service configuration from a JSON representation produced by the
AuthorizationServiceConfiguration.toJson()
method or some other equivalent producer. - fromOAuthRedirect(Uri) - Static method in exception net.openid.appauth.AuthorizationException
-
Creates an exception from an OAuth redirect URI that describes an authorization failure.
- fromOAuthTemplate(AuthorizationException, String, String, Uri) - Static method in exception net.openid.appauth.AuthorizationException
-
Creates an exception based on one of the existing values defined in
AuthorizationException.AuthorizationRequestErrors
orAuthorizationException.TokenRequestErrors
, adding information retrieved from OAuth error response. - fromResponseJson(JSONObject) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Extracts token response fields from a JSON object.
- fromResponseJson(JSONObject) - Method in class net.openid.appauth.TokenResponse.Builder
-
Extracts token response fields from a JSON object.
- fromResponseJsonString(String) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Extracts registration response fields from a JSON string.
- fromResponseJsonString(String) - Method in class net.openid.appauth.TokenResponse.Builder
-
Extracts token response fields from a JSON string.
- fromTemplate(AuthorizationException, Throwable) - Static method in exception net.openid.appauth.AuthorizationException
-
Creates an exception based on one of the existing values defined in
AuthorizationException.GeneralErrors
,AuthorizationException.AuthorizationRequestErrors
orAuthorizationException.TokenRequestErrors
, providing a root cause. - fromUri(Uri) - Method in class net.openid.appauth.AuthorizationResponse.Builder
-
Extracts authorization response parameters from the query portion of a redirect URI.
G
- GeneralErrors() - Constructor for class net.openid.appauth.AuthorizationException.GeneralErrors
- generateRandomCodeVerifier() - Static method in class net.openid.appauth.CodeVerifierUtil
-
Generates a random code verifier string using
SecureRandom
as the source of entropy, with the default entropy quantity as defined byCodeVerifierUtil.DEFAULT_CODE_VERIFIER_ENTROPY
. - 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.
- generateSignatureHash(Signature) - Static method in class net.openid.appauth.browser.BrowserDescriptor
-
Generates a SHA-512 hash, Base64 url-safe encoded, from a
Signature
. - generateSignatureHashes(Signature[]) - Static method in class net.openid.appauth.browser.BrowserDescriptor
-
Generates a set of SHA-512, Base64 url-safe encoded signature hashes from the provided array of signatures.
- 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.
- getAllBrowsers(Context) - Static method in class net.openid.appauth.browser.BrowserSelector
-
Retrieves the full list of browsers installed on the device.
- getAuthorizationEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 authorization endpoint URI.
- getAuthorizationException() - Method in class net.openid.appauth.AuthState
-
If the last response was an OAuth related failure, this returns the exception describing the failure.
- getAuthorizationRequestIntent(AuthorizationRequest) - Method in class net.openid.appauth.AuthorizationService
-
Constructs an intent that encapsulates the provided request and a default custom tabs intent, and is intended to be launched via
Activity.startActivityForResult(android.content.Intent, int)
When started, the intent launches anActivity
that sends an authorization request to the authorization service, using a custom tab. - getAuthorizationRequestIntent(AuthorizationRequest, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Constructs an intent that encapsulates the provided request and custom tabs intent, and is intended to be launched via
Activity.startActivityForResult(android.content.Intent, int)
. - getAuthorizationServiceConfiguration() - Method in class net.openid.appauth.AuthState
-
The configuration of the authorization service associated with this authorization state.
- getBrowserDescriptor() - Method in class net.openid.appauth.AuthorizationService
-
Returns the BrowserDescriptor of the chosen browser.
- getBrowserMatcher() - Method in class net.openid.appauth.AppAuthConfiguration
-
Controls which browsers can be used for the authorization flow.
- getClaimsLocales() - Method in class net.openid.appauth.AuthorizationRequest
-
Derives the set of claims_locales values from the consolidated, space-separated list of BCP47 [RFC5646] language tag values in the
AuthorizationRequest.claimsLocales
field. - 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.
- getClient() - Method in class net.openid.appauth.browser.CustomTabManager
-
Retrieve the custom tab client used to communicate with the custom tab supporting browser, if available.
- getClientAuthentication() - Method in class net.openid.appauth.AuthState
-
Creates the required client authentication for the token endpoint based on information in the most recent registration response (if it is set).
- getClientSecret() - Method in class net.openid.appauth.AuthState
-
The current client secret, if available.
- getClientSecretExpirationTime() - Method in class net.openid.appauth.AuthState
-
The expiration time of the current client credentials (if available), as milliseconds from the UNIX epoch (consistent with
System.currentTimeMillis()
). - getCodeVerifierChallengeMethod() - Static method in class net.openid.appauth.CodeVerifierUtil
- getConnectionBuilder() - Method in class net.openid.appauth.AppAuthConfiguration
-
Creates
HttpURLConnection
instances for use in token requests and related interactions with the authorization service. - getCustomTabManager() - Method in class net.openid.appauth.AuthorizationService
- getDisplayValuesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The
display
parameter values supported. - getEndSessionEndpoint() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
The OAuth 2 emd session endpoint URI.
- getEndSessionRequestIntent(EndSessionRequest) - Method in class net.openid.appauth.AuthorizationService
-
Constructs an intent that encapsulates the provided request and a default custom tabs intent, and is intended to be launched via
Activity.startActivityForResult(android.content.Intent, int)
When started, the intent launches anActivity
that sends an authorization request to the authorization service, using a custom tab. - getEndSessionRequestIntent(EndSessionRequest, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Constructs an intent that encapsulates the provided request and custom tabs intent, and is intended to be launched via
Activity.startActivityForResult(android.content.Intent, int)
. - 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.
- getInstance() - Static method in class net.openid.appauth.internal.Logger
- 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.
- getLastRegistrationResponse() - Method in class net.openid.appauth.AuthState
-
The most recent client registration response used to update this authorization state.
- getLastTokenResponse() - Method in class net.openid.appauth.AuthState
-
The most recent token response used to update this authorization state.
- getLongQueryParameter(Uri, String) - Static method in class net.openid.appauth.internal.UriUtil
- getMissingField() - Method in exception net.openid.appauth.AuthorizationServiceDiscovery.MissingArgumentException
- getMissingField() - Method in exception net.openid.appauth.RegistrationResponse.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.
- getParsedIdToken() - Method in class net.openid.appauth.AuthState
-
The current parsed ID token, if available.
- getPromptValues() - Method in class net.openid.appauth.AuthorizationRequest
-
Derives the set of prompt values from the consolidated, space-delimited prompt values in the
AuthorizationRequest.prompt
field. - 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.
- getRequestHeaders(String) - Method in interface net.openid.appauth.ClientAuthentication
-
Constructs any extra parameters necessary to include in the request headers for the client authentication.
- getRequestHeaders(String) - Method in class net.openid.appauth.ClientSecretBasic
- getRequestHeaders(String) - Method in class net.openid.appauth.ClientSecretPost
- getRequestHeaders(String) - Method in class net.openid.appauth.NoClientAuthentication
-
Constructs any extra parameters necessary to include in the request headers for the client authentication.
- 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.
- getRequestParameters() - Method in class net.openid.appauth.TokenRequest
-
Produces the set of request parameters for this query, which can be further processed into a request body.
- getRequestParameters(String) - Method in interface net.openid.appauth.ClientAuthentication
-
Constructs any extra parameters necessary to include in the request body for the client authentication.
- getRequestParameters(String) - Method in class net.openid.appauth.ClientSecretBasic
- getRequestParameters(String) - Method in class net.openid.appauth.ClientSecretPost
- getRequestParameters(String) - Method in class net.openid.appauth.NoClientAuthentication
-
Constructs any extra parameters necessary to include in the request body for the client authentication.
- 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
-
Derives the set of scopes from the consolidated, space-delimited scopes in the
AuthorizationRequest.scope
field. - getScopeSet() - Method in class net.openid.appauth.AuthorizationResponse
-
Derives the set of scopes from the consolidated, space-delimited scopes in the
AuthorizationResponse.scope
field. - getScopeSet() - Method in class net.openid.appauth.AuthState
-
A set representation of
AuthState.getScope()
, for convenience. - 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.
- getSkipIssuerHttpsCheck() - Method in class net.openid.appauth.AppAuthConfiguration
-
Returns
true
if issuer https validation is disabled, otherwisefalse
. - getStackTraceString(Throwable) - Method in interface net.openid.appauth.internal.Logger.LogWrapper
- getState() - Method in interface net.openid.appauth.AuthorizationManagementRequest
-
An opaque value used by the client to maintain state between the request and callback.
- getState() - Method in class net.openid.appauth.AuthorizationManagementResponse
- getState() - Method in class net.openid.appauth.AuthorizationRequest
- getState() - Method in class net.openid.appauth.AuthorizationResponse
- getState() - Method in class net.openid.appauth.EndSessionRequest
- getState() - Method in class net.openid.appauth.EndSessionResponse
- 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
andclient_secret_jwt
authentication methods. - getUiLocales() - Method in class net.openid.appauth.AuthorizationRequest
-
Derives the set of ui_locales values from the consolidated, space-separated list of BCP47 [RFC5646] language tag values in the
AuthorizationRequest.uiLocales
field. - getUiLocales() - Method in class net.openid.appauth.EndSessionRequest
- getUiLocalesSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Languages and scripts supported for the user interface.
- getUnsupportedAuthenticationMethod() - Method in exception net.openid.appauth.ClientAuthentication.UnsupportedAuthenticationMethod
- 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_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.
- grantType - Variable in class net.openid.appauth.TokenRequest
-
The type of token being sent to the token endpoint.
- grantTypes - Variable in class net.openid.appauth.RegistrationRequest
-
The grant types to use.
- GrantTypeValues - Class in net.openid.appauth
-
The grant type values defined by the OAuth2 spec, and used in
authorization
anddynamic client registration
requests.
H
- hasAccessTokenExpired() - Method in class net.openid.appauth.AuthorizationResponse
-
Determines whether the returned access token has expired.
- hasClientSecretExpired() - Method in class net.openid.appauth.AuthState
-
Determines whether the client credentials is considered to have expired.
- hasClientSecretExpired() - Method in class net.openid.appauth.RegistrationResponse
-
Determines whether the returned access token has expired.
- hashCode() - Method in exception net.openid.appauth.AuthorizationException
- hashCode() - Method in class net.openid.appauth.browser.BrowserDescriptor
- hashCode() - Method in class net.openid.appauth.browser.DelimitedVersion
I
- ID_TOKEN - Static variable in class net.openid.appauth.ResponseTypeValues
-
For requesting an OpenID Conenct ID Token.
- ID_TOKEN_PARSING_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates that a received ID token could not be parsed
- ID_TOKEN_VALIDATION_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates that a received ID token is invalid
- idToken - Variable in class net.openid.appauth.AuthorizationResponse
-
The id token retrieved as part of the authorization flow.
- idToken - Variable in class net.openid.appauth.TokenResponse
-
The ID token describing the authenticated user, if provided.
- IdToken - Class in net.openid.appauth
-
An OpenID Connect ID Token.
- idTokenHint - Variable in class net.openid.appauth.EndSessionRequest
-
Previously issued ID Token passed to the end session endpoint as a hint about the End-User’s current authenticated session with the Client
- IMPLICIT - Static variable in class net.openid.appauth.GrantTypeValues
-
The grant type used when obtaining an access token.
- info(String, Object...) - Static method in class net.openid.appauth.internal.Logger
- infoWithStack(Throwable, String, Object...) - Static method in class net.openid.appauth.internal.Logger
- INSTANCE - Static variable in class net.openid.appauth.browser.AnyBrowserMatcher
-
The singleton instance.
- INSTANCE - Static variable in class net.openid.appauth.connectivity.DefaultConnectionBuilder
-
The singleton instance of the default connection builder.
- INSTANCE - Static variable in class net.openid.appauth.NoClientAuthentication
-
The default (singleton) instance of
NoClientAuthentication
. - INVALID_CLIENT - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
invalid_client
OAuth2 error response. - INVALID_CLIENT_METADATA - Static variable in class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
-
An
invalid_grant
OAuth2 error response. - INVALID_DISCOVERY_DOCUMENT - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a problem parsing an OpenID Connect Service Discovery document.
- INVALID_GRANT - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
invalid_grant
OAuth2 error response. - INVALID_REDIRECT_URI - Static variable in class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
-
An
invalid_client
OAuth2 error response. - INVALID_REGISTRATION_RESPONSE - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a problem parsing an OpenID Connect Registration Response.
- INVALID_REQUEST - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An
invalid_request
OAuth2 error response. - INVALID_REQUEST - Static variable in class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
-
An
invalid_request
OAuth2 error response. - INVALID_REQUEST - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
invalid_request
OAuth2 error response. - INVALID_SCOPE - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An
invalid_scope
OAuth2 error response. - INVALID_SCOPE - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
invalid_scope
OAuth2 error response. - isAuthorized() - Method in class net.openid.appauth.AuthState
-
Determines whether the current state represents a successful authorization, from which at least either an access token or an ID token have been retrieved.
- isClaimsParameterSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Specifies whether the
claims
parameter is supported for authorization requests. - isLoggable(String, int) - Method in interface net.openid.appauth.internal.Logger.LogWrapper
- isRequestParameterSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Specifies whether the
request
parameter is supported for authorization requests. - isRequestUriParameterSupported() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Specifies whether the
request_uri
parameter is supported for authorization requests. - issuedAt - Variable in class net.openid.appauth.IdToken
-
Time at which the JWT was issued.
- issuer - Variable in class net.openid.appauth.IdToken
-
Issuer Identifier for the Issuer of the response.
J
- JSON_DESERIALIZATION_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a problem occurred deserializing JSON.
- jsonDeserialize(String) - Static method in class net.openid.appauth.AuthorizationRequest
-
Reads an authorization request from a JSON string representation produced by
AuthorizationRequest.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.AuthorizationResponse
-
Reads an authorization request from a JSON string representation produced by
AuthorizationManagementResponse.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.AuthState
-
Reads an authorization state instance from a JSON string representation produced by
AuthState.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.EndSessionRequest
-
Reads an authorization request from a JSON string representation produced by
EndSessionRequest.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.EndSessionResponse
-
Reads an end session response from a JSON string representation produced by
AuthorizationManagementResponse.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.RegistrationRequest
-
Reads a registration request from a JSON string representation produced by
RegistrationRequest.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.RegistrationResponse
-
Reads a registration response from a JSON string representation produced by
RegistrationResponse.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.TokenRequest
-
Reads a token request from a JSON string representation produced by
TokenRequest.jsonSerializeString()
. - jsonDeserialize(String) - Static method in class net.openid.appauth.TokenResponse
-
Reads a token response from a JSON string, and associates it with the provided request.
- jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.AuthorizationRequest
-
Reads an authorization request from a JSON string representation produced by
AuthorizationRequest.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.AuthorizationResponse
-
Reads an authorization response from a JSON string representation produced by
AuthorizationResponse.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.AuthState
-
Reads an authorization state instance from a JSON string representation produced by
AuthState.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.EndSessionRequest
-
Reads an authorization request from a JSON string representation produced by
EndSessionRequest.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.EndSessionResponse
-
Reads an end session response from a JSON string representation produced by
EndSessionResponse.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.RegistrationRequest
-
Reads a registration request from a JSON string representation produced by
RegistrationRequest.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.RegistrationResponse
-
Reads a registration response from a JSON string representation produced by
RegistrationResponse.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.TokenRequest
-
Reads a token request from a JSON string representation produced by
TokenRequest.jsonSerialize()
. - jsonDeserialize(JSONObject) - Static method in class net.openid.appauth.TokenResponse
-
Reads a token response from a JSON string, and associates it with the provided request.
- jsonSerialize() - Method in interface net.openid.appauth.AuthorizationManagementRequest
-
Produces a JSON representation of the request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.AuthorizationManagementResponse
-
Produces a JSON representation of the request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.AuthorizationRequest
-
Produces a JSON representation of the authorization request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.AuthorizationResponse
-
Produces a JSON representation of the authorization response for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.AuthState
-
Produces a JSON representation of the authorization state for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.EndSessionRequest
-
Produces a JSON representation of the end session request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.EndSessionResponse
-
Produces a JSON representation of the end session response for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.RegistrationRequest
-
Produces a JSON representation of the registration request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.RegistrationResponse
-
Produces a JSON representation of the registration response for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.TokenRequest
-
Produces a JSON string representation of the token request for persistent storage or local transmission (e.g.
- jsonSerialize() - Method in class net.openid.appauth.TokenResponse
-
Produces a JSON string representation of the token response for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in interface net.openid.appauth.AuthorizationManagementRequest
-
Produces a JSON string representation of the request for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.AuthorizationManagementResponse
-
Produces a JSON representation of the end session response for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.AuthorizationRequest
-
Produces a JSON string representation of the request for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.AuthState
-
Produces a JSON string representation of the authorization state for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.EndSessionRequest
-
Produces a JSON string representation of the request for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.RegistrationRequest
-
Produces a JSON string representation of the registration request for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.RegistrationResponse
-
Produces a JSON string representation of the registration response for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.TokenRequest
-
Produces a JSON string representation of the token request for persistent storage or local transmission (e.g.
- jsonSerializeString() - Method in class net.openid.appauth.TokenResponse
-
Produces a JSON string representation of the token response for persistent storage or local transmission (e.g.
- jwks - Variable in class net.openid.appauth.RegistrationRequest
-
Client’s JSON Web Key Set [JWK] document.
- jwksUri - Variable in class net.openid.appauth.RegistrationRequest
-
URL for the Client’s JSON Web Key Set [JWK] document.
L
- log(int, Throwable, String, Object...) - Method in class net.openid.appauth.internal.Logger
- Logger - Class in net.openid.appauth.internal
-
Convenience wrapper around
Log
, which evaluates the current log level of the logging tag once and uses this to determine whether logging should proceed. - Logger.LogWrapper - Interface in net.openid.appauth.internal
-
The core interface of
Log
, converted into instance methods so as to allow easier mock testing. - LOGIN - Static variable in class net.openid.appauth.AuthorizationRequest.Prompt
-
The Authorization Server SHOULD prompt the End-User for re-authentication.
- loginHint - Variable in class net.openid.appauth.AuthorizationRequest
-
The OpenID Connect 1.0
login_hint
parameter.
M
- matches(String) - Method in class net.openid.appauth.browser.VersionRange
-
Determines whether the specified version (parsed as an
DelimitedVersion
falls within the version range. - matches(BrowserDescriptor) - Method in class net.openid.appauth.browser.AnyBrowserMatcher
- matches(BrowserDescriptor) - Method in class net.openid.appauth.browser.BrowserAllowList
- matches(BrowserDescriptor) - Method in class net.openid.appauth.browser.BrowserDenyList
- matches(BrowserDescriptor) - Method in interface net.openid.appauth.browser.BrowserMatcher
- matches(BrowserDescriptor) - Method in class net.openid.appauth.browser.ExactBrowserMatcher
- matches(BrowserDescriptor) - Method in class net.openid.appauth.browser.VersionedBrowserMatcher
- matches(DelimitedVersion) - Method in class net.openid.appauth.browser.VersionRange
-
Determines whether the specified version falls within the version range.
- MAX_CODE_VERIFIER_ENTROPY - Static variable in class net.openid.appauth.CodeVerifierUtil
-
The maximum permitted entropy (in bytes) for use with
CodeVerifierUtil.generateRandomCodeVerifier(SecureRandom,int)
. - MAX_CODE_VERIFIER_LENGTH - Static variable in class net.openid.appauth.CodeVerifierUtil
-
The maximum permitted length for a code verifier.
- MIN_CODE_VERIFIER_ENTROPY - Static variable in class net.openid.appauth.CodeVerifierUtil
-
The minimum permitted entropy (in bytes) for use with
CodeVerifierUtil.generateRandomCodeVerifier(SecureRandom,int)
. - MIN_CODE_VERIFIER_LENGTH - Static variable in class net.openid.appauth.CodeVerifierUtil
-
The minimum permitted length for a code verifier.
- MINIMUM_VERSION_FOR_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.Browsers.Chrome
-
The version in which Custom Tabs were introduced in Chrome.
- MINIMUM_VERSION_FOR_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.Browsers.Firefox
-
The version in which Custom Tabs were introduced in Firefox.
- MINIMUM_VERSION_FOR_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.Browsers.SBrowser
-
The version in which Custom Tabs were introduced in Samsung Internet.
- MissingArgumentException(String) - Constructor for exception net.openid.appauth.AuthorizationServiceDiscovery.MissingArgumentException
-
Indicates that the specified mandatory field is missing from the discovery document.
- MissingArgumentException(String) - Constructor for exception net.openid.appauth.RegistrationResponse.MissingArgumentException
-
Indicates that the specified mandatory field is missing from the registration response.
N
- NAME - Static variable in class net.openid.appauth.ClientSecretBasic
-
Name of this authentication method.
- NAME - Static variable in class net.openid.appauth.ClientSecretPost
-
Name of this authentication method.
- NAME - Static variable in class net.openid.appauth.NoClientAuthentication
-
Name of this authentication method.
- net.openid.appauth - package net.openid.appauth
-
AppAuth for Android.
- net.openid.appauth.browser - package net.openid.appauth.browser
-
Defines an abstraction of browsers and mechanisms by which an app can control which browser will be used by AppAuth for authorization.
- net.openid.appauth.connectivity - package net.openid.appauth.connectivity
-
Types and utilities related to direct communication with servers.
- net.openid.appauth.internal - package net.openid.appauth.internal
-
Internal data types and utility classes for AppAuth.
- NETWORK_ERROR - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates a network error occurred.
- NoClientAuthentication - Class in net.openid.appauth
-
Implementation of the client authentication method ‘none’.
- nonce - Variable in class net.openid.appauth.AuthorizationRequest
-
String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
- nonce - Variable in class net.openid.appauth.IdToken
-
String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
- nonce - Variable in class net.openid.appauth.TokenRequest
-
The (optional) nonce associated with the current session.
- NONE - Static variable in class net.openid.appauth.AuthorizationRequest.Prompt
-
The Authorization Server MUST NOT display any authentication or consent user interface pages.
O
- OFFLINE_ACCESS - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for requesting an OAuth 2.0 refresh token to be issued, that can be used to obtain an Access Token that grants access to the End-User’s UserInfo Endpoint even when the End-User is not present (not logged in).
- onCreate(Bundle) - Method in class net.openid.appauth.AuthorizationManagementActivity
- onCreate(Bundle) - Method in class net.openid.appauth.RedirectUriReceiverActivity
- onFetchConfigurationCompleted(AuthorizationServiceConfiguration, AuthorizationException) - Method in interface net.openid.appauth.AuthorizationServiceConfiguration.RetrieveConfigurationCallback
-
Invoked when the retrieval of the discovery doc completes successfully or fails.
- onNewIntent(Intent) - Method in class net.openid.appauth.AuthorizationManagementActivity
- onRegistrationRequestCompleted(RegistrationResponse, AuthorizationException) - Method in interface net.openid.appauth.AuthorizationService.RegistrationResponseCallback
-
Invoked when the request completes successfully or fails.
- onResume() - Method in class net.openid.appauth.AuthorizationManagementActivity
- onSaveInstanceState(Bundle) - Method in class net.openid.appauth.AuthorizationManagementActivity
- onTokenRequestCompleted(TokenResponse, AuthorizationException) - Method in interface net.openid.appauth.AuthorizationService.TokenResponseCallback
-
Invoked when the request completes successfully or fails.
- openConnection(Uri) - Method in interface net.openid.appauth.connectivity.ConnectionBuilder
-
Creates a connection to the specified URL.
- openConnection(Uri) - Method in class net.openid.appauth.connectivity.DefaultConnectionBuilder
- OPENID - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for OpenID based authorization.
- OPENID_CONFIGURATION_RESOURCE - Static variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The standard resource under
.well-known
at which an OpenID Connect discovery document can be found under an issuer’s base URI. - OTHER - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
Indicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.
- OTHER - Static variable in class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
-
Indicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.
- OTHER - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
Indicates an OAuth error as per RFC 6749, but the error code is not known to the AppAuth for Android library.
P
- PACKAGE_NAME - Static variable in class net.openid.appauth.browser.Browsers.Chrome
-
The package name for Chrome.
- PACKAGE_NAME - Static variable in class net.openid.appauth.browser.Browsers.Firefox
-
The package name for Firefox.
- PACKAGE_NAME - Static variable in class net.openid.appauth.browser.Browsers.SBrowser
-
The package name for SBrowser.
- packageName - Variable in class net.openid.appauth.browser.BrowserDescriptor
-
The package name of the browser app.
- PAGE - Static variable in class net.openid.appauth.AuthorizationRequest.Display
-
The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view.
- PARAM_CLIENT_ID - Static variable in class net.openid.appauth.TokenRequest
- PARAM_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The OAuth2 parameter used to indicate the type of error during an authorization or token request.
- PARAM_ERROR_DESCRIPTION - Static variable in exception net.openid.appauth.AuthorizationException
-
The OAuth2 parameter used to provide a human readable description of the error which occurred.
- PARAM_ERROR_URI - Static variable in exception net.openid.appauth.AuthorizationException
-
The OAuth2 parameter used to provide a URI to a human-readable page which describes the error.
- parse(String) - Static method in class net.openid.appauth.browser.DelimitedVersion
-
Parses a delimited version number from the provided string.
- parseUriIfAvailable(String) - Static method in class net.openid.appauth.internal.UriUtil
- performActionWithFreshTokens(AuthorizationService, Map<String, String>, AuthState.AuthStateAction) - Method in class net.openid.appauth.AuthState
-
Ensures that a non-expired access token is available before invoking the provided action.
- performActionWithFreshTokens(AuthorizationService, AuthState.AuthStateAction) - Method in class net.openid.appauth.AuthState
-
Ensures that a non-expired access token is available before invoking the provided action.
- performActionWithFreshTokens(AuthorizationService, ClientAuthentication, Map<String, String>, AuthState.AuthStateAction) - Method in class net.openid.appauth.AuthState
-
Ensures that a non-expired access token is available before invoking the provided action.
- performActionWithFreshTokens(AuthorizationService, ClientAuthentication, AuthState.AuthStateAction) - Method in class net.openid.appauth.AuthState
-
Ensures that a non-expired access token is available before invoking the provided action.
- performAuthorizationRequest(AuthorizationRequest, PendingIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an authorization request to the authorization service, using a custom tab if available, or a browser instance.
- performAuthorizationRequest(AuthorizationRequest, PendingIntent, PendingIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an authorization request to the authorization service, using a custom tab if available, or a browser instance.
- performAuthorizationRequest(AuthorizationRequest, PendingIntent, PendingIntent, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an authorization request to the authorization service, using a custom tab.
- performAuthorizationRequest(AuthorizationRequest, PendingIntent, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an authorization request to the authorization service, using a custom tab.
- performEndSessionRequest(EndSessionRequest, PendingIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an end session request to the authorization service, using a custom tab if available, or a browser instance.
- performEndSessionRequest(EndSessionRequest, PendingIntent, PendingIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an end session request to the authorization service, using a custom tab if available, or a browser instance.
- performEndSessionRequest(EndSessionRequest, PendingIntent, PendingIntent, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an end session request to the authorization service, using a custom tab.
- performEndSessionRequest(EndSessionRequest, PendingIntent, CustomTabsIntent) - Method in class net.openid.appauth.AuthorizationService
-
Sends an end session request to the authorization service, using a custom tab.
- performRegistrationRequest(RegistrationRequest, AuthorizationService.RegistrationResponseCallback) - Method in class net.openid.appauth.AuthorizationService
-
Sends a request to the authorization service to dynamically register a client.
- performTokenRequest(TokenRequest, AuthorizationService.TokenResponseCallback) - Method in class net.openid.appauth.AuthorizationService
-
Sends a request to the authorization service to exchange a code granted as part of an authorization request for a token.
- performTokenRequest(TokenRequest, ClientAuthentication, AuthorizationService.TokenResponseCallback) - Method in class net.openid.appauth.AuthorizationService
-
Sends a request to the authorization service to exchange a code granted as part of an authorization request for a token.
- PHONE - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for the authenticated user’s phone number.
- POPUP - Static variable in class net.openid.appauth.AuthorizationRequest.Display
-
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window.
- postLogoutRedirectUri - Variable in class net.openid.appauth.EndSessionRequest
-
The client’s redirect URI.
- Preconditions - Class in net.openid.appauth
-
Utility class for guava style pre-condition checks.
- println(int, String, String) - Method in interface net.openid.appauth.internal.Logger.LogWrapper
- PROFILE - Static variable in class net.openid.appauth.AuthorizationRequest.Scope
-
A scope for the authenticated user’s basic profile information.
- PROGRAM_CANCELED_AUTH_FLOW - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates an OAuth authorization flow was programmatically cancelled.
- prompt - Variable in class net.openid.appauth.AuthorizationRequest
-
The OpenID Connect 1.0
prompt
parameter. - Prompt() - Constructor for class net.openid.appauth.AuthorizationRequest.Prompt
Q
- QUERY - Static variable in class net.openid.appauth.AuthorizationRequest.ResponseMode
-
Instructs the authorization server to send response parameters using the query portion of the redirect URI.
R
- redirectUri - Variable in class net.openid.appauth.AuthorizationRequest
-
The client’s redirect URI.
- redirectUri - Variable in class net.openid.appauth.TokenRequest
-
The client’s redirect URI.
- RedirectUriReceiverActivity - Class in net.openid.appauth
-
Activity that receives the redirect Uri sent by the OpenID endpoint.
- RedirectUriReceiverActivity() - Constructor for class net.openid.appauth.RedirectUriReceiverActivity
- redirectUris - Variable in class net.openid.appauth.RegistrationRequest
-
The client’s redirect URI’s.
- REFRESH_TOKEN - Static variable in class net.openid.appauth.GrantTypeValues
-
The grant type used when exchanging a refresh token for a new token.
- refreshToken - Variable in class net.openid.appauth.TokenRequest
-
A refresh token to be exchanged for a new token.
- refreshToken - Variable in class net.openid.appauth.TokenResponse
-
The refresh token, if provided.
- registrationAccessToken - Variable in class net.openid.appauth.RegistrationResponse
-
Client registration access token that can be used for subsequent operations upon the client registration.
- registrationClientUri - Variable in class net.openid.appauth.RegistrationResponse
-
Location of the client configuration endpoint, if provided.
- registrationEndpoint - Variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The authorization service’s client registration endpoint.
- RegistrationRequest - Class in net.openid.appauth
- RegistrationRequest.Builder - Class in net.openid.appauth
-
Creates instances of
RegistrationRequest
. - RegistrationRequestErrors() - Constructor for class net.openid.appauth.AuthorizationException.RegistrationRequestErrors
- RegistrationResponse - Class in net.openid.appauth
- RegistrationResponse.Builder - Class in net.openid.appauth
- RegistrationResponse.MissingArgumentException - Exception in net.openid.appauth
-
Thrown when a mandatory property is missing from the registration response.
- request - Variable in class net.openid.appauth.AuthorizationResponse
-
The authorization request associated with this response.
- request - Variable in class net.openid.appauth.EndSessionResponse
-
The end session request associated with this response.
- request - Variable in class net.openid.appauth.RegistrationResponse
-
The registration request associated with this response.
- request - Variable in class net.openid.appauth.TokenResponse
-
The token request associated with this response.
- requireRequestUriRegistration() - Method in class net.openid.appauth.AuthorizationServiceDiscovery
-
Specifies whether
request_uri
values are required to be pre-registered before use. - responseMode - Variable in class net.openid.appauth.AuthorizationRequest
-
Instructs the authorization service on the mechanism to be used for returning response parameters from the authorization endpoint.
- ResponseMode() - Constructor for class net.openid.appauth.AuthorizationRequest.ResponseMode
- responseType - Variable in class net.openid.appauth.AuthorizationRequest
-
The expected response type.
- responseTypes - Variable in class net.openid.appauth.RegistrationRequest
-
The response types to use.
- ResponseTypeValues - Class in net.openid.appauth
-
The response type values defined by the OAuth 2.0 and OpenID Connect Core 1.0 specifications, used in
authorization
anddynamic client registration
requests.
S
- SAMSUNG_BROWSER - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of SBrowser for use as a standalone browser.
- SAMSUNG_CUSTOM_TAB - Static variable in class net.openid.appauth.browser.VersionedBrowserMatcher
-
Matches any version of SBrowser for use as a custom tab.
- 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() - Constructor for class net.openid.appauth.AuthorizationRequest.Scope
- select(Context, BrowserMatcher) - Static method in class net.openid.appauth.browser.BrowserSelector
-
Searches through all browsers for the best match based on the supplied browser matcher.
- SELECT_ACCOUNT - Static variable in class net.openid.appauth.AuthorizationRequest.Prompt
-
The Authorization Server SHOULD prompt the End-User to select a user account.
- 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) - 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.
- 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.
- 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.EndSessionRequest.Builder
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies additional parameters.
- setAdditionalParameters(Map<String, String>) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the additional, non-standard 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.
- setAuthorizationServiceConfiguration(AuthorizationServiceConfiguration) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setBrowserMatcher(BrowserMatcher) - Method in class net.openid.appauth.AppAuthConfiguration.Builder
-
Specify the browser matcher to use, which controls the browsers that can be used for authorization.
- setClaims(JSONObject) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Requests that specific Claims be returned.
- setClaimsLocales(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
End-User’s preferred languages and scripts for Claims being returned, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
- setClaimsLocalesValues(Iterable<String>) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
End-User’s preferred languages and scripts for Claims being returned, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
- setClaimsLocalesValues(String...) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
End-User’s preferred languages and scripts for Claims being returned, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
- setClientId(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the client ID.
- setClientId(String) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the client identifier.
- 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.
- setClientIdIssuedAt(Long) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the timestamp for when the client identifier was issued.
- setClientSecret(String) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the client secret.
- setClientSecretExpiresAt(Long) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the expiration time of the client secret.
- setCodeVerifier(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the code verifier 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.
- 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.
- setConfiguration(AuthorizationServiceConfiguration) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the authorization service configuration for the request, which must not be null or empty.
- 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.
- setConnectionBuilder(ConnectionBuilder) - Method in class net.openid.appauth.AppAuthConfiguration.Builder
-
Specify the connection builder to use, which creates
HttpURLConnection
instances for use in direct communication with the authorization service. - setDisplay(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the OpenID Connect 1.0
display
parameter. - setGrantType(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the grant type for the request, which must not be null or empty.
- setGrantTypeValues(String...) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the grant types.
- setGrantTypeValues(List<String>) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the grant types.
- 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.
- setIdTokenHint(String) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setInstance(Logger) - Static method in class net.openid.appauth.internal.Logger
- setJwks(JSONObject) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the client’s JSON Web Key Set.
- setJwksUri(Uri) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the URL for the Client’s JSON Web Key Set.
- setLoginHint(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the OpenID Connect 1.0
login_hint
parameter. - setNeedsTokenRefresh(boolean) - Method in class net.openid.appauth.AuthState
-
Sets whether to force an access token refresh, regardless of the current access token’s expiration time.
- setNonce(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the String value used to associate a Client session with an ID Token, and to mitigate replay attacks.
- setNonce(String) - Method in class net.openid.appauth.TokenRequest.Builder
-
Specifies the (optional) nonce for the current session.
- setPostLogoutRedirectUri(Uri) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setPrompt(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the encoded OpenID Connect 1.0
prompt
parameter, which is a space-delimited set of case sensitive ASCII prompt values. - setPromptValues(Iterable<String>) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the set of OpenID Connect 1.0
prompt
parameter values, which are space-delimited, case sensitive ASCII prompt values. - setPromptValues(String...) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the set of OpenID Connect 1.0
prompt
parameter values, which are space-delimited, case sensitive ASCII prompt values. - 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.
- setRedirectUriValues(Uri...) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the redirect URI’s.
- setRedirectUriValues(List<Uri>) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the redirect URI’s.
- 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.
- setRegistrationAccessToken(String) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the registration access token.
- setRegistrationClientUri(Uri) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the client configuration endpoint.
- setRequest(EndSessionRequest) - Method in class net.openid.appauth.EndSessionResponse.Builder
- setRequest(RegistrationRequest) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the request associated with this response.
- 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.
- setResponseTypeValues(String...) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the response types.
- setResponseTypeValues(List<String>) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the response types.
- 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(Iterable<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.AuthorizationResponse.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(Iterable<String>) - Method in class net.openid.appauth.TokenResponse.Builder
-
Specifies the set of case-sensitive scopes.
- setScopes(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(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.
- setSkipIssuerHttpsCheck(Boolean) - Method in class net.openid.appauth.AppAuthConfiguration.Builder
-
Disables https validation for the issuer identifier.
- 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.
- setState(String) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setState(String) - Method in class net.openid.appauth.EndSessionResponse.Builder
- setSubjectType(String) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the subject types.
- setTokenEndpointAuthenticationMethod(String) - Method in class net.openid.appauth.RegistrationRequest.Builder
-
Specifies the client authentication method to use at the token endpoint.
- setTokenEndpointAuthMethod(String) - Method in class net.openid.appauth.RegistrationResponse.Builder
-
Specifies the client authentication method to use at the token endpoint.
- 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.
- setUiLocales(String) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the OpenID Connect 1.0
ui_locales
parameter, which is a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. - setUiLocales(String) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setUiLocalesValues(Iterable<String>) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the OpenID Connect 1.0
ui_locales
parameter, which is a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. - setUiLocalesValues(Iterable<String>) - Method in class net.openid.appauth.EndSessionRequest.Builder
- setUiLocalesValues(String...) - Method in class net.openid.appauth.AuthorizationRequest.Builder
-
Specifies the OpenID Connect 1.0
ui_locales
parameter, which is a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. - setUiLocalesValues(String...) - Method in class net.openid.appauth.EndSessionRequest.Builder
- SIGNATURE - Static variable in class net.openid.appauth.browser.Browsers.Chrome
-
The SHA-512 hash (Base64 url-safe encoded) of the public key for Chrome.
- SIGNATURE_HASH - Static variable in class net.openid.appauth.browser.Browsers.Firefox
-
The SHA-512 hash (Base64 url-safe encoded) of the public key for Firefox.
- SIGNATURE_HASH - Static variable in class net.openid.appauth.browser.Browsers.SBrowser
-
The SHA-512 hash (Base64 url-safe encoded) of the public key for SBrowser.
- SIGNATURE_SET - Static variable in class net.openid.appauth.browser.Browsers.Chrome
-
The set of signature hashes for Chrome.
- SIGNATURE_SET - Static variable in class net.openid.appauth.browser.Browsers.Firefox
-
The set of signature hashes for Firefox.
- SIGNATURE_SET - Static variable in class net.openid.appauth.browser.Browsers.SBrowser
-
The set of signature hashes for SBrowser.
- signatureHashes - Variable in class net.openid.appauth.browser.BrowserDescriptor
-
The set of
signatures
of the browser app, which have been hashed with SHA-512, and Base-64 URL-safe encoded. - standaloneBrowser(String) - Static method in class net.openid.appauth.browser.Browsers.Chrome
-
Creates a browser descriptor for the specified version of Chrome, when used as a standalone browser.
- standaloneBrowser(String) - Static method in class net.openid.appauth.browser.Browsers.Firefox
-
Creates a browser descriptor for the specified version of Firefox, when used as a standalone browser.
- standaloneBrowser(String) - Static method in class net.openid.appauth.browser.Browsers.SBrowser
-
Creates a browser descriptor for the specified version of SBrowser, when used as a standalone browser.
- 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.
- state - Variable in class net.openid.appauth.EndSessionRequest
-
An opaque value used by the client to maintain state between the request and callback.
- state - Variable in class net.openid.appauth.EndSessionResponse
-
The returned state parameter, which must match the value specified in the request.
- STATE_MISMATCH - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
Indicates that the response state param did not match the request state param, resulting in the response being discarded.
- subject - Variable in class net.openid.appauth.IdToken
-
Subject Identifier.
- SUBJECT_TYPE_PAIRWISE - Static variable in class net.openid.appauth.RegistrationRequest
-
Instructs the authorization server to generate a pairwise subject identifier.
- SUBJECT_TYPE_PUBLIC - Static variable in class net.openid.appauth.RegistrationRequest
-
Instructs the authorization server to generate a public subject identifier.
- subjectType - Variable in class net.openid.appauth.RegistrationRequest
-
The subject type to use.
T
- 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. - toCustomTabUriBundle(Uri[], int) - Static method in class net.openid.appauth.internal.UriUtil
- toIntent() - Method in exception net.openid.appauth.AuthorizationException
-
Creates an intent from this exception.
- toIntent() - Method in class net.openid.appauth.AuthorizationManagementResponse
- toIntent() - Method in class net.openid.appauth.AuthorizationResponse
-
Produces an intent containing this authorization response.
- toIntent() - Method in class net.openid.appauth.EndSessionResponse
-
Produces an intent containing this end session 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.AuthorizationServiceConfiguration
-
Converts the authorization service configuration to JSON 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.AuthorizationServiceConfiguration
-
Converts the authorization service configuration to a JSON string for storage or transmission.
- toJsonString() - Method in class net.openid.appauth.RegistrationRequest
-
Converts the registration request to JSON for transmission to an authorization service.
- TOKEN - Static variable in class net.openid.appauth.ResponseTypeValues
-
For requesting an access token via an implicit grant.
- 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.
- tokenEndpointAuthenticationMethod - Variable in class net.openid.appauth.RegistrationRequest
-
The client authentication method to use at the token endpoint.
- tokenEndpointAuthMethod - Variable in class net.openid.appauth.RegistrationResponse
-
Client authentication method to use at the token endpoint, if provided.
- TokenRequest - Class in net.openid.appauth
-
An OAuth2 token request.
- TokenRequest.Builder - Class in net.openid.appauth
-
Creates instances of
TokenRequest
. - 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
-
Creates instances of
TokenResponse
. - 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
- toString() - Method in class net.openid.appauth.browser.DelimitedVersion
- toString() - Method in class net.openid.appauth.browser.VersionRange
- TOUCH - Static variable in class net.openid.appauth.AuthorizationRequest.Display
-
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
- toUri() - Method in interface net.openid.appauth.AuthorizationManagementRequest
-
Produces a request URI, that can be used to dispatch the request.
- toUri() - Method in class net.openid.appauth.AuthorizationRequest
-
Produces a request URI, that can be used to dispatch the authorization request.
- toUri() - Method in class net.openid.appauth.EndSessionRequest
- 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_REGISTRATION_ERROR - Static variable in exception net.openid.appauth.AuthorizationException
-
The error type for OAuth specific errors on the registration 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.
U
- uiLocales - Variable in class net.openid.appauth.AuthorizationRequest
-
The OpenID Connect 1.0
ui_locales
parameter. - uiLocales - Variable in class net.openid.appauth.EndSessionRequest
-
This is a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference.
- UNAUTHORIZED_CLIENT - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An
unauthorized_client
OAuth2 error response. - UNAUTHORIZED_CLIENT - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
unauthorized_client
OAuth2 error response. - UNSUPPORTED_GRANT_TYPE - Static variable in class net.openid.appauth.AuthorizationException.TokenRequestErrors
-
An
unsupported_grant_type
OAuth2 error response. - UNSUPPORTED_RESPONSE_TYPE - Static variable in class net.openid.appauth.AuthorizationException.AuthorizationRequestErrors
-
An
unsupported_response_type
OAuth2 error response. - UnsupportedAuthenticationMethod(String) - Constructor for exception net.openid.appauth.ClientAuthentication.UnsupportedAuthenticationMethod
-
Indicates that the specified client authentication method is unsupported.
- update(AuthorizationResponse, AuthorizationException) - Method in class net.openid.appauth.AuthState
-
Updates the authorization state based on a new authorization response.
- update(RegistrationResponse) - Method in class net.openid.appauth.AuthState
-
Updates the authorization state based on a new client registration response.
- update(TokenResponse, AuthorizationException) - Method in class net.openid.appauth.AuthState
-
Updates the authorization state based on a new token response.
- UriUtil - Class in net.openid.appauth.internal
-
Utility methods for extracting parameters from Uri objects.
- useCustomTab - Variable in class net.openid.appauth.browser.BrowserDescriptor
-
Whether it is intended that the browser will be used via a custom tab.
- USER_CANCELED_AUTH_FLOW - Static variable in class net.openid.appauth.AuthorizationException.GeneralErrors
-
Indicates the user manually canceled the OAuth authorization code flow.
V
- verbose(String, Object...) - Static method in class net.openid.appauth.internal.Logger
- verboseWithStack(Throwable, String, Object...) - Static method in class net.openid.appauth.internal.Logger
- version - Variable in class net.openid.appauth.browser.BrowserDescriptor
-
The version string of the browser app.
- VersionedBrowserMatcher - Class in net.openid.appauth.browser
-
Matches a browser based on its package name, set of signatures, version and whether it is being used as a custom tab.
- VersionedBrowserMatcher(String, String, boolean, VersionRange) - Constructor for class net.openid.appauth.browser.VersionedBrowserMatcher
-
Creates a browser matcher that requires an exact match on package name, single signature hash, custom tab usage mode, and a version range.
- VersionedBrowserMatcher(String, Set<String>, boolean, VersionRange) - Constructor for class net.openid.appauth.browser.VersionedBrowserMatcher
-
Creates a browser matcher that requires an exact match on package name, set of signature hashes, custom tab usage mode, and a version range.
- VersionRange - Class in net.openid.appauth.browser
-
A browser filter which matches when a browser falls into a version range.
- VersionRange(DelimitedVersion, DelimitedVersion) - Constructor for class net.openid.appauth.browser.VersionRange
-
Creates a version range with the specified bounds.
W
- WAP - Static variable in class net.openid.appauth.AuthorizationRequest.Display
-
The Authorization Server SHOULD display the authentication and consent UI consistent with a “feature phone” type display.
- warn(String, Object...) - Static method in class net.openid.appauth.internal.Logger
- warnWithStack(Throwable, String, Object...) - Static method in class net.openid.appauth.internal.Logger
- WELL_KNOWN_PATH - Static variable in class net.openid.appauth.AuthorizationServiceConfiguration
-
The standard base path for well-known resources on domains.
All Classes All Packages