- get() - Method in interface net.oauth2.client.TokenProvider
-
Return token synchronously
- getAccessToken() - Method in class net.oauth2.AccessToken
-
Returns the "access_token" string in this oauth token.
- getClientId() - Method in class net.oauth2.AccessTokenGrantRequest
-
- getClientSecret() - Method in class net.oauth2.AccessTokenGrantRequest
-
- getCode() - Method in class net.oauth2.AuthorizationCodeGrantRequest
-
- getDescription() - Method in class net.oauth2.ProtocolError
-
- getError() - Method in exception net.oauth2.client.OAuth2ProtocolException
-
- getError() - Method in class net.oauth2.ProtocolError
-
- getErrorType() - Method in class net.oauth2.ProtocolError
-
- getExpiresIn() - Method in class net.oauth2.AccessToken
-
Returns the "expires_in" number in this access token.
- getGrantType() - Method in class net.oauth2.AccessTokenGrantRequest
-
Returns the grant type of this grant request.
- getPassword() - Method in class net.oauth2.PasswordCredentialsGrantRequest
-
- getPropertyMap() - Static method in class net.oauth2.AccessToken
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getPropertyMap() - Static method in class net.oauth2.AccessTokenGrantRequest
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getPropertyMap() - Static method in class net.oauth2.AuthorizationCodeGrantRequest
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getPropertyMap() - Static method in class net.oauth2.PasswordCredentialsGrantRequest
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getPropertyMap() - Static method in class net.oauth2.ProtocolError
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getPropertyMap() - Static method in class net.oauth2.RefreshTokenGrantRequest
-
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
- getRedirectUri() - Method in class net.oauth2.AuthorizationCodeGrantRequest
-
- getRefreshToken() - Method in class net.oauth2.AccessToken
-
Returns the "refresh_token" string in this oauth token.
- getRefreshToken() - Method in class net.oauth2.RefreshTokenGrantRequest
-
- getScopes() - Method in class net.oauth2.AccessToken
-
Returns the "scope" in this oauth token, modeled as collection of scope strings.
- getScopes() - Method in class net.oauth2.AccessTokenGrantRequest
-
- getState() - Method in class net.oauth2.ProtocolError
-
- getTokenType() - Method in class net.oauth2.AccessToken
-
Returns the "token_type" string in this oauth token.
- getType() - Method in enum net.oauth2.ProtocolErrorType
-
- getUri() - Method in class net.oauth2.ProtocolError
-
- getUsername() - Method in class net.oauth2.PasswordCredentialsGrantRequest
-
- TemporalAccessToken<T extends AccessToken> - Class in net.oauth2
-
Convenience wrapper for temporal operations with access tokens.
- TemporalAccessToken(T, Instant, TemporalUnit) - Constructor for class net.oauth2.TemporalAccessToken
-
Constructs temporal access token wrappers considering the supplied moment as initial moment
of the validity of the token and using the supplied temporal unit as reference unit for
temporal operations including operands such as the expires_in property.
- TemporalAccessToken(T, Instant) - Constructor for class net.oauth2.TemporalAccessToken
-
Constructs temporal access token wrapper using the supplied moment as first moment of validity
for the token and defaulting to ChornoUnit.SECONDS as reference temporal unit for temporal
properties such as expires-in.
- token() - Method in class net.oauth2.TemporalAccessToken
-
Returns the wrapped token instance
- tokenChanged(TemporalAccessToken<T>, TemporalAccessToken<T>) - Method in interface net.oauth2.client.TokenChangeObserver
-
Fired by
TokenChangeObservable when a token value has changed,
either because it was fetched for the first time, or because it was
refreshed.
- TokenChangeObservable<T extends AccessToken> - Interface in net.oauth2.client
-
Functional capability to install listeners for token updates and support
asynchronous push notification on changes.
- TokenChangeObserver<T extends AccessToken> - Interface in net.oauth2.client
-
Functional interface for listeners to asynchronous (push) provisioning of
Access Token update events.
- TokenProvider - Interface in net.oauth2.client
-
Functional capability for synchronous provisioning of Access Tokens.
- TokenProviderJob<T extends AccessToken> - Interface in net.oauth2.client
-
A Token Provider that continuously provides Access Token.
- TokenService - Interface in net.oauth2.client
-
OAuth 2.0 Token Service delegate with functional capabilities to fetch and refresh tokens.
- TokenServiceHttpClient - Interface in net.oauth2.client.http
-
An interface to implementations encapsulating the HTTP transport
communication to an Authorization Server Token Service, and the conversion
between the HTTP request/response payloads and this client's Java object
model for authorization grant's and access tokens.
- toString() - Method in class net.oauth2.AccessToken
-
- toString() - Method in class net.oauth2.AccessTokenGrantRequest
-
- toString() - Method in class net.oauth2.AuthorizationCodeGrantRequest
-
- toString() - Method in class net.oauth2.ClientCredentialsGrantRequest
-
- toString() - Method in class net.oauth2.PasswordCredentialsGrantRequest
-
- toString() - Method in class net.oauth2.ProtocolError
-
- toString() - Method in enum net.oauth2.ProtocolErrorType
-
- toString() - Method in class net.oauth2.RefreshTokenGrantRequest
-
- toString() - Method in class net.oauth2.TemporalAccessToken
-
- ttl() - Method in class net.oauth2.TemporalAccessToken
-
Returns the time-to-live duration in which the token is valid.
- ttlLeft() - Method in class net.oauth2.TemporalAccessToken
-
Returns the remaining time-to-live until this token expires as duration.
- ttlLeft(ChronoUnit) - Method in class net.oauth2.TemporalAccessToken
-
Returns the remaining time-to-live until this token expires, as long value
in the requested temporal units.
- ttlUnit(TemporalUnit) - Method in class net.oauth2.TemporalAccessToken
-
Sets the reference temporal unit used in this wrapper and returns its instance for method
chaining.
- ttlUnit() - Method in class net.oauth2.TemporalAccessToken
-
Returns the reference temporal unit used in this wrapper.