Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accessToken(String) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- accessTokenExpiration(Instant) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- AccessTokenExpiredException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates that the
access tokenof aClientTokenhas expired, and it's no longer possible to automatically obtain a newaccess tokenbecauserefresh tokenis not present. - AccessTokenExpiredException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.AccessTokenExpiredException
- AccessTokenExpiredException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.AccessTokenExpiredException
- addScope(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- apply(ClientToken) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler.ClientTokenCallback
-
Method to invoke with a
ClientToken. - AUTHORIZATION_CODE_GRANT - Enum constant in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
- authorizationEndpoint(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
B
- build() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- build() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- builder() - Static method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- builder() - Static method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- builder(ClientConfiguration) - Static method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- builder(ClientToken) - Static method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- builder(ClientTokenMetadata) - Static method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- builder(ClientConfigurationEntity) - Static method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- builder(ClientTokenEntity) - Static method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
C
- CLIENT_CREDENTIALS_GRANT - Enum constant in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
- clientCertificate(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- ClientConfigStorageService - Interface in com.atlassian.oauth2.client.api.storage.config
- ClientConfiguration - Interface in com.atlassian.oauth2.client.api
-
Configuration for the OAuth 2 flow providing details on the provider and required values in order to complete the flow.
- ClientConfigurationCreatedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientConfigurationCreatedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationCreatedEvent
- ClientConfigurationDeletedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientConfigurationDeletedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationDeletedEvent
- ClientConfigurationEntity - Class in com.atlassian.oauth2.client.api.storage.config
- ClientConfigurationEntity.Builder - Class in com.atlassian.oauth2.client.api.storage.config
- ClientConfigurationUpdatedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientConfigurationUpdatedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationUpdatedEvent
- clientId(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- clientSecret(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- ClientToken - Interface in com.atlassian.oauth2.client.api
-
The result of the OAuth 2 flow containing the accessToken and optionally refreshToken.
- ClientTokenCreatedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientTokenCreatedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientTokenCreatedEvent
- ClientTokenDeletedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientTokenDeletedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientTokenDeletedEvent
- ClientTokenEntity - Class in com.atlassian.oauth2.client.api.storage.token
- ClientTokenEntity.Builder - Class in com.atlassian.oauth2.client.api.storage.token
- ClientTokenEvent - Interface in com.atlassian.oauth2.client.api.storage.event
-
Client token event
- ClientTokenMetadata - Interface in com.atlassian.oauth2.client.api
-
Provides additional information about a
ClientToken. - ClientTokenMetadata.ClientTokenStatus - Enum Class in com.atlassian.oauth2.client.api
-
Information about the state of the token, based on its last usage.
- ClientTokenRecoverableEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientTokenRecoverableEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientTokenRecoverableEvent
- ClientTokenStorageService - Interface in com.atlassian.oauth2.client.api.storage.token
- ClientTokenUnrecoverableEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientTokenUnrecoverableEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientTokenUnrecoverableEvent
- ClientTokenUpdatedEvent - Class in com.atlassian.oauth2.client.api.storage.event
- ClientTokenUpdatedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.storage.event.ClientTokenUpdatedEvent
- com.atlassian.oauth2.client.api - package com.atlassian.oauth2.client.api
- com.atlassian.oauth2.client.api.exceptions - package com.atlassian.oauth2.client.api.exceptions
- com.atlassian.oauth2.client.api.lib.event - package com.atlassian.oauth2.client.api.lib.event
- com.atlassian.oauth2.client.api.lib.flow - package com.atlassian.oauth2.client.api.lib.flow
- com.atlassian.oauth2.client.api.lib.token - package com.atlassian.oauth2.client.api.lib.token
- com.atlassian.oauth2.client.api.storage - package com.atlassian.oauth2.client.api.storage
- com.atlassian.oauth2.client.api.storage.config - package com.atlassian.oauth2.client.api.storage.config
- com.atlassian.oauth2.client.api.storage.event - package com.atlassian.oauth2.client.api.storage.event
- com.atlassian.oauth2.client.api.storage.token - package com.atlassian.oauth2.client.api.storage.token
- com.atlassian.oauth2.client.api.storage.token.exception - package com.atlassian.oauth2.client.api.storage.token.exception
- configId(String) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- ConfigurationNotFoundException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates that a
ClientConfigurationEntitycan't be found in the database. - ConfigurationNotFoundException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.ConfigurationNotFoundException
- ConfigurationNotFoundException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.ConfigurationNotFoundException
- createFlowRequest(HttpSession, ClientConfiguration, Function<String, String>) - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequestService
-
Creates the flow request
- createFlowRequest(HttpSession, String, String, Function<String, String>) - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequestService
-
Creates the flow request and persists the results for the given resource owner.
- customParams(Map<String, List<String>>) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
D
- defaultGrantType() - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
- delete(String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
- delete(String) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
- deleteTokenByValue(String) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Delete the OAuth2 Token by the access or refresh token.
- description(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
E
- equals(Object) - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestUnsuccessfullyCompletedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationCreatedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationDeletedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationUpdatedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenCreatedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenDeletedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenRecoverableEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUnrecoverableEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUpdatedEvent
- equals(Object) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- execute(String, TokenHandler.ClientTokenCallback<T>) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Handles the use of
ClientToken, automatically applying a refresh before executing the callback if required. - execute(String, TokenHandler.ClientTokenCallback<T>, Duration) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Handles the use of
ClientToken, automatically applying a refresh before executing the callback if required. - externalId(String) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
F
- FlowRequest - Interface in com.atlassian.oauth2.client.api.lib.flow
-
Contains the id of the flow request and the redirect url that the OAuth 2 Provider uses as a callback to
- FlowRequestCompletedEvent - Class in com.atlassian.oauth2.client.api.lib.event
- FlowRequestCompletedEvent(String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
-
Deprecated.
- FlowRequestCompletedEvent(String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- FlowRequestCompletedEvent(String, String, String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- FlowRequestError - Interface in com.atlassian.oauth2.client.api.lib.flow
-
The
FlowRequestErroris created in the unsuccessful OAuth2 flow - FlowRequestService - Interface in com.atlassian.oauth2.client.api.lib.flow
-
Enables clients to start flow requests and to get their results.
- FlowRequestStartedEvent - Class in com.atlassian.oauth2.client.api.lib.event
- FlowRequestStartedEvent(String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- FlowRequestStartedEvent(String, String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- FlowRequestSuccessfullyCompletedEvent - Class in com.atlassian.oauth2.client.api.lib.event
- FlowRequestSuccessfullyCompletedEvent(String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestSuccessfullyCompletedEvent
- FlowRequestSuccessfullyCompletedEvent(String, String, String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestSuccessfullyCompletedEvent
- FlowRequestUnsuccessfullyCompletedEvent - Class in com.atlassian.oauth2.client.api.lib.event
- FlowRequestUnsuccessfullyCompletedEvent(String, String, String, String, String) - Constructor for class com.atlassian.oauth2.client.api.lib.event.FlowRequestUnsuccessfullyCompletedEvent
- FlowResult - Interface in com.atlassian.oauth2.client.api.lib.flow
-
Result of the flow request which holds generated
ClientTokenorFlowRequestErrorif error occurred - forceRefresh(ClientConfiguration, ClientToken) - Method in interface com.atlassian.oauth2.client.api.lib.token.TokenService
-
Refreshes provided token.
- forValue(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
G
- generateRedirectUrl(String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
-
Generates the redirectUrl for a given authorizationUrl.
- GENERIC - Enum constant in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
- get(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
- getAccessToken() - Method in interface com.atlassian.oauth2.client.api.ClientToken
- getAccessToken() - Method in interface com.atlassian.oauth2.client.api.OAuth2Token
- getAccessToken() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getAccessTokenExpiration() - Method in interface com.atlassian.oauth2.client.api.ClientToken
- getAccessTokenExpiration() - Method in interface com.atlassian.oauth2.client.api.OAuth2Token
- getAccessTokenExpiration() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getAccessTokensExpiringBefore(Instant) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
- getAuthorizationEndpoint() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
-
Returns the authorization endpoint url for the OAuth 2 flow.
- getAuthorizationEndpoint() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getById(String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
- getById(String) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
- getByIdOrFail(String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
- getByIdOrFail(String) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
- getByName(String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
- getByName(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
- getByNameOrDefault(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
- getClientCertificate() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
-
JSON client certificate for authentication.
- getClientCertificate() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getClientConfigurationId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationCreatedEvent
- getClientConfigurationId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationDeletedEvent
- getClientConfigurationId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationUpdatedEvent
- getClientId() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getClientId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getClientId() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getClientSecret() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getClientSecret() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getClientTokenId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenCreatedEvent
- getClientTokenId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenDeletedEvent
- getClientTokenId() - Method in interface com.atlassian.oauth2.client.api.storage.event.ClientTokenEvent
- getClientTokenId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenRecoverableEvent
- getClientTokenId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUnrecoverableEvent
- getClientTokenId() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUpdatedEvent
- getConfigId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getConfigId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- getConfigId() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getCustomParams() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getCustomParams() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getDescription() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getErrorMessage() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestUnsuccessfullyCompletedEvent
- getExternalId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getExternalId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- getExternalId() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getFlowRequestId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getFlowRequestId() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- getFlowResult(HttpSession, String) - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequestService
-
Returns stored flow result.
- getGrantType() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
-
Returns the grant type for the OAuth 2 flow.
- getGrantType() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getGrantType() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- getGrantType() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getId() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequest
- getId() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getId() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getInitFlowUrl() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequest
- getInvalidSince() - Method in exception com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
- getKey() - Method in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
- getLastRefreshed() - Method in interface com.atlassian.oauth2.client.api.ClientTokenMetadata
-
When was this token last refreshed.
- getLastRefreshed() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getLastStatusUpdated() - Method in interface com.atlassian.oauth2.client.api.ClientTokenMetadata
-
When status of this token was last updated
- getLastStatusUpdated() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- getLastStatusUpdated() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getMessage() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowRequestError
- getName() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getName() - Method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
-
The name of the grant type as defined in the OAuth 2.0 specification.
- getOrThrow(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
- getProviderType() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getProviderType() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- getProviderType() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- getProviderType() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getRefreshCount() - Method in interface com.atlassian.oauth2.client.api.ClientTokenMetadata
-
How many times has this particular token been refreshed.
- getRefreshCount() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getRefreshedToken(String) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Refreshes and returns the client token, saving the up to date token to the store.
- getRefreshedToken(String, String, Duration) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Fetches the OAuth2 Token for a given resource owner and configuration.
- getRefreshedToken(String, Duration) - Method in interface com.atlassian.oauth2.client.api.storage.TokenHandler
-
Refreshes if access token is already expired or expires within the margin period.
- getRefreshToken() - Method in interface com.atlassian.oauth2.client.api.ClientToken
- getRefreshToken() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getRefreshTokenExpiration() - Method in interface com.atlassian.oauth2.client.api.ClientToken
- getRefreshTokenExpiration() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getRefreshTokensExpiringBefore(Instant) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
- getScopes() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getScopes() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- getStatus() - Method in interface com.atlassian.oauth2.client.api.ClientTokenMetadata
-
Tells whether the token is known to be valid or invalid, based on its last usage.
- getStatus() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- getStatus() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- getTokenEndpoint() - Method in interface com.atlassian.oauth2.client.api.ClientConfiguration
- getTokenEndpoint() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- GOOGLE - Enum constant in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
- grantType(GrantType) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- GrantType - Enum Class in com.atlassian.oauth2.client.api.storage.config
-
Supported OAuth 2.0 grant types.
H
- hashCode() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestCompletedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestStartedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.lib.event.FlowRequestUnsuccessfullyCompletedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationCreatedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationDeletedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientConfigurationUpdatedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenCreatedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenDeletedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenRecoverableEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUnrecoverableEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.event.ClientTokenUpdatedEvent
- hashCode() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
I
- id(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- id(String) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- incrementRefreshCount() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- indicatesSuccess() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowResult
- InvalidTokenException() - Constructor for exception com.atlassian.oauth2.client.api.storage.TokenHandler.InvalidTokenException
- InvalidTokenException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.TokenHandler.InvalidTokenException
- InvalidTokenException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.TokenHandler.InvalidTokenException
- InvalidTokenException(Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.TokenHandler.InvalidTokenException
- isNameUnique(String, String) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
-
Returns whether given name is unique.
- isRefreshNeeded(ClientToken, Duration) - Method in interface com.atlassian.oauth2.client.api.lib.token.TokenService
-
Deprecated.this logic is no longer part of the public API. Use
TokenHandler.getRefreshedToken(String, Duration)
K
- key - Variable in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
L
- lastRefreshed(Instant) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- lastStatusUpdated(Instant) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- list() - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
M
- MAX_TIMESTAMP - Static variable in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- MICROSOFT - Enum constant in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
N
- name(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
O
- OAuth2Token - Interface in com.atlassian.oauth2.client.api
-
Represents an OAuth2 Access Token and its metadata.
- orDefaultGrantType(GrantType) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
P
- providerType(ProviderType) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- ProviderType - Enum Class in com.atlassian.oauth2.client.api.storage.config
R
- RECOVERABLE - Enum constant in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Indicates there was an error which occurred during last authorisation attempt.
- RecoverableTokenException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates potentially recoverable problem with a
ClientToken. - RecoverableTokenException(String, Throwable, Instant) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
- RecoverableTokenException(String, Instant) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.RecoverableTokenException
- refreshCount(int) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- refreshIfNeeded(ClientConfiguration, ClientToken, Duration) - Method in interface com.atlassian.oauth2.client.api.lib.token.TokenService
-
Deprecated.
- refreshToken(String) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- refreshTokenExpiration(Instant) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- RefreshTokenExpiredException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates that the
refresh tokenof aClientTokenhas expired, and it's no longer possible to automatically obtain a newaccess token. - RefreshTokenExpiredException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.RefreshTokenExpiredException
- RefreshTokenExpiredException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.RefreshTokenExpiredException
- requiresAuthorization() - Method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
-
Whether the grant type requires an authorization, also known as the 3LO (3-legged OAuth) flow.
S
- save(ClientConfigurationEntity) - Method in interface com.atlassian.oauth2.client.api.storage.config.ClientConfigStorageService
-
Creates or updates the
ClientConfigurationEntity - save(ClientTokenEntity) - Method in interface com.atlassian.oauth2.client.api.storage.token.ClientTokenStorageService
-
Creates or updates the
ClientTokenEntity - scopes(List<String>) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- status(ClientTokenMetadata.ClientTokenStatus) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
T
- toBuilder() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- toBuilder() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- toErrorResult() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowResult
- tokenEndpoint(String) - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity.Builder
- TokenHandler - Interface in com.atlassian.oauth2.client.api.storage
-
Utilities for working with OAuth 2.0 tokens.
- TokenHandler.ClientTokenCallback<T> - Interface in com.atlassian.oauth2.client.api.storage
-
Callback to execute with a
ClientToken. - TokenHandler.InvalidTokenException - Exception in com.atlassian.oauth2.client.api.storage
-
Indicates that there was a problem with a
ClientTokenand it couldn't be used for successful authorisation with an OAuth 2.0 resource server. - TokenNotFoundException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates that a
ClientTokenEntitycan't be found in the database. - TokenNotFoundException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.TokenNotFoundException
- TokenNotFoundException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.TokenNotFoundException
- TokenService - Interface in com.atlassian.oauth2.client.api.lib.token
-
Service for obtaining and refreshing
ClientToken. - TokenServiceException - Exception in com.atlassian.oauth2.client.api.lib.token
-
Generic exception for Token services.
- TokenServiceException(String) - Constructor for exception com.atlassian.oauth2.client.api.lib.token.TokenServiceException
- TokenServiceException(Throwable) - Constructor for exception com.atlassian.oauth2.client.api.lib.token.TokenServiceException
- TokenStorageServiceException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Represents an exception that occurs when interacting with the token storage service.
- TokenStorageServiceException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.TokenStorageServiceException
- TokenStorageServiceException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.TokenStorageServiceException
- toString() - Method in class com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- toString() - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity
- toSuccessResult() - Method in interface com.atlassian.oauth2.client.api.lib.flow.FlowResult
U
- UNKNOWN - Enum constant in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Indicates that this token hasn't been used yet.
- UNRECOVERABLE - Enum constant in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Indicates that the token is permanently unrecoverable and new
ClientTokenmust be obtained. - UnrecoverableTokenException - Exception in com.atlassian.oauth2.client.api.storage.token.exception
-
Indicates an unrecoverable problem with a
ClientToken. - UnrecoverableTokenException(String) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.UnrecoverableTokenException
- UnrecoverableTokenException(String, Throwable) - Constructor for exception com.atlassian.oauth2.client.api.storage.token.exception.UnrecoverableTokenException
- updateFrom(ClientToken) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- updateFrom(ClientTokenMetadata) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
- updateFrom(ClientTokenEntity) - Method in class com.atlassian.oauth2.client.api.storage.token.ClientTokenEntity.Builder
V
- VALID - Enum constant in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Indicates that this token pair has been successfully used during last authorisation attempt.
- ValidationException - Exception in com.atlassian.oauth2.client.api.exceptions
-
Common exception class to indicate a validation exception has occurred.
- ValidationException() - Constructor for exception com.atlassian.oauth2.client.api.exceptions.ValidationException
- valueOf(String) - Static method in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.oauth2.client.api.ClientTokenMetadata.ClientTokenStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.oauth2.client.api.storage.config.GrantType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.oauth2.client.api.storage.config.ProviderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form
FlowRequestCompletedEvent(String, String, String, String)} or