Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AccessFailedException - Exception in com.atlassian.oauth2.provider.api.token.exception.access
- AccessFailedException(String) - Constructor for exception com.atlassian.oauth2.provider.api.token.exception.access.AccessFailedException
- AccessToken - Interface in com.atlassian.oauth2.provider.api.token.access
- AccessTokenAuthenticationHandler - Interface in com.atlassian.oauth2.provider.api.token
-
Provides operations to authenticate with Atlassian products through access tokens
- AccessTokenDao - Interface in com.atlassian.oauth2.provider.api.token.access.dao
- AccessTokenEntity - Class in com.atlassian.oauth2.provider.api.token.access.dao
- AccessTokenEntity() - Constructor for class com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenEntity
- authenticate(HttpServletRequest, HttpServletResponse, String) - Method in interface com.atlassian.oauth2.provider.api.token.AccessTokenAuthenticationHandler
-
Authenticates a HTTP request using the access token defined in the Authorization header.
- authenticated(Scope, String) - Static method in class com.atlassian.oauth2.provider.api.token.AuthenticationResult
- AuthenticationResult - Class in com.atlassian.oauth2.provider.api.token
- Authorization - Interface in com.atlassian.oauth2.provider.api.authorization
- AUTHORIZATION_CODE - Enum constant in enum class com.atlassian.oauth2.provider.api.token.FlowType
- AuthorizationDao - Interface in com.atlassian.oauth2.provider.api.authorization.dao
- AuthorizationEntity - Class in com.atlassian.oauth2.provider.api.authorization.dao
- AuthorizationEntity() - Constructor for class com.atlassian.oauth2.provider.api.authorization.dao.AuthorizationEntity
- AuthorizationFlowResult - Class in com.atlassian.oauth2.provider.api.authorization
- AuthorizationService - Interface in com.atlassian.oauth2.provider.api.authorization
-
Service for handling 3LO authentication
C
- Client - Interface in com.atlassian.oauth2.provider.api.client
- ClientAuthorizationEvent - Class in com.atlassian.oauth2.provider.api.event.authorization
- ClientAuthorizationEvent() - Constructor for class com.atlassian.oauth2.provider.api.event.authorization.ClientAuthorizationEvent
- ClientConfigurationCreatedEvent - Class in com.atlassian.oauth2.provider.api.event.client
- ClientConfigurationCreatedEvent(Client) - Constructor for class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationCreatedEvent
- ClientConfigurationDeletedEvent - Class in com.atlassian.oauth2.provider.api.event.client
- ClientConfigurationDeletedEvent(Client) - Constructor for class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationDeletedEvent
- ClientConfigurationEvent - Class in com.atlassian.oauth2.provider.api.event.client
- ClientConfigurationEvent() - Constructor for class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationEvent
- ClientConfigurationUpdatedEvent - Class in com.atlassian.oauth2.provider.api.event.client
- ClientConfigurationUpdatedEvent(Client, Client) - Constructor for class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationUpdatedEvent
- ClientDao - Interface in com.atlassian.oauth2.provider.api.client.dao
- ClientEntity - Class in com.atlassian.oauth2.provider.api.client.dao
- ClientEntity() - Constructor for class com.atlassian.oauth2.provider.api.client.dao.ClientEntity
- ClientSecretRefreshEvent - Class in com.atlassian.oauth2.provider.api.event.client
- ClientSecretRefreshEvent() - Constructor for class com.atlassian.oauth2.provider.api.event.client.ClientSecretRefreshEvent
- ClientService - Interface in com.atlassian.oauth2.provider.api.client
-
Service for managing OAuth2 clients (from the provider's perspective).
- CODE - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.SupportedResponseType
- CodeChallengeMethod - Enum Class in com.atlassian.oauth2.provider.api.pkce
-
Determines how the PKCE code verifier should be transformed and validated when exchanging an authorization code for access/refresh tokens.
- com.atlassian.oauth2.provider.api.authorization - package com.atlassian.oauth2.provider.api.authorization
- com.atlassian.oauth2.provider.api.authorization.dao - package com.atlassian.oauth2.provider.api.authorization.dao
- com.atlassian.oauth2.provider.api.client - package com.atlassian.oauth2.provider.api.client
- com.atlassian.oauth2.provider.api.client.dao - package com.atlassian.oauth2.provider.api.client.dao
- com.atlassian.oauth2.provider.api.event - package com.atlassian.oauth2.provider.api.event
- com.atlassian.oauth2.provider.api.event.authorization - package com.atlassian.oauth2.provider.api.event.authorization
- com.atlassian.oauth2.provider.api.event.client - package com.atlassian.oauth2.provider.api.event.client
- com.atlassian.oauth2.provider.api.event.token - package com.atlassian.oauth2.provider.api.event.token
- com.atlassian.oauth2.provider.api.external - package com.atlassian.oauth2.provider.api.external
- com.atlassian.oauth2.provider.api.pkce - package com.atlassian.oauth2.provider.api.pkce
- com.atlassian.oauth2.provider.api.settings - package com.atlassian.oauth2.provider.api.settings
- com.atlassian.oauth2.provider.api.token - package com.atlassian.oauth2.provider.api.token
- com.atlassian.oauth2.provider.api.token.access - package com.atlassian.oauth2.provider.api.token.access
- com.atlassian.oauth2.provider.api.token.access.dao - package com.atlassian.oauth2.provider.api.token.access.dao
- com.atlassian.oauth2.provider.api.token.access.exception - package com.atlassian.oauth2.provider.api.token.access.exception
- com.atlassian.oauth2.provider.api.token.exception.access - package com.atlassian.oauth2.provider.api.token.exception.access
- com.atlassian.oauth2.provider.api.token.refresh - package com.atlassian.oauth2.provider.api.token.refresh
- com.atlassian.oauth2.provider.api.token.refresh.dao - package com.atlassian.oauth2.provider.api.token.refresh.dao
- com.atlassian.oauth2.provider.api.xsrf - package com.atlassian.oauth2.provider.api.xsrf
- com.atlassian.oauth2.provider.api.xsrf.exeption - package com.atlassian.oauth2.provider.api.xsrf.exeption
- completeAuthorizationFlow(String, String, String) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
Completes authorization flow and returns
Authorizationif successful - create(Client) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- create(AccessToken) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- create(RefreshToken) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- create(String, Scope, List<String>) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Creates a
Client - create(String, List<String>) - Method in interface com.atlassian.oauth2.provider.api.client.dao.RedirectUriDao
- createAccessToken(String, String, String, long, Scope) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Creates an Access Token
- createRefreshToken(String, String, long, String, Scope, String, int) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Creates a Refresh Token
E
- error - Variable in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
- ExpiredTokenException - Exception in com.atlassian.oauth2.provider.api.token.exception.access
- ExpiredTokenException(String) - Constructor for exception com.atlassian.oauth2.provider.api.token.exception.access.ExpiredTokenException
F
- failed(TokenResponseErrorDescription) - Static method in class com.atlassian.oauth2.provider.api.authorization.AuthorizationFlowResult
- findAccessTokensByUserKey(UserKey) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Finds access tokens for userKey
- findByAccessTokenId(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Tries to find a
AccessTokenusing the raw token - findByAuthorizationCode(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- findByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.RedirectUriDao
- findByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- findByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- findByCode(String) - Method in interface com.atlassian.oauth2.provider.api.authorization.dao.AuthorizationDao
- findByRefreshTokenId(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Tries to find a
RefreshTokenusing the raw token - findByToken(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- findByTokenId(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- findByUserKey(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- findByUserKey(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- findClient(String) - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Find the client using the clientId
- findClientByEntityId(String) - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Find the client using the client entity id
- findRedirectUrisByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Gets an existing redirect uri
- findRefreshTokensByUserKey(UserKey) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Finds refresh tokens for userKey
- findRefreshTokensForClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Finds refresh tokens for a client id
- findUserKeysByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- findUserKeysByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Finds user keys of tokens for a client id
- FlowType - Enum Class in com.atlassian.oauth2.provider.api.token
-
Enum to represent the different types of OAuth2 flows supported by the provider
- fold(Function<Authorization, T>, Function<TokenResponseErrorDescription, T>) - Method in class com.atlassian.oauth2.provider.api.authorization.AuthorizationFlowResult
- fromIdentifier(String) - Static method in enum class com.atlassian.oauth2.provider.api.token.FlowType
- fromString(String) - Static method in enum class com.atlassian.oauth2.provider.api.pkce.CodeChallengeMethod
G
- generateToken(HttpServletRequest) - Method in interface com.atlassian.oauth2.provider.api.xsrf.OAuth2XsrfTokenGenerator
- getAccessTokenId() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getAuthorization(String) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
fetches the Authorization object for the given code
- getAuthorizationCode() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getAuthorizationCode() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getAuthorizationCode() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getAuthorizationDate() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getAuthorizationDate() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Gets an existing
Client - getByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- getById(String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Gets an existing
Client - getById(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- getClientId() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getClientId() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getClientId() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getClientId() - Method in class com.atlassian.oauth2.provider.api.token.AuthenticationResult
- getClientId() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getClientIdById(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- getClientSecret() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getCodeChallenge() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getCodeChallengeMethod() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getCreatedAt() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getCreatedAt() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getCreatedAt() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getFlowIdentifier() - Method in enum class com.atlassian.oauth2.provider.api.token.FlowType
- getId() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getId() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getId() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getJwtSecret() - Method in interface com.atlassian.oauth2.provider.api.settings.ProviderSettingsDao
-
Get the JWT Secret from plugin settings
- getJwtSecret() - Method in interface com.atlassian.oauth2.provider.api.settings.ProviderSettingsService
-
Gets the latest JWT secret stored in the cache
- getLastAccessed() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getName() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getOAuth2AuthorizationServerMetadata() - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Gets the OAuth 2 server metadata: endpoints, response types supported, scopes supported etc
- getRedirects() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getRedirects() - Method in class com.atlassian.oauth2.provider.api.client.dao.ClientEntity
- getRedirectUri() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getRefreshCount() - Method in class com.atlassian.oauth2.provider.api.event.token.TokenCreatedEvent
- getRefreshCount() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getScope() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getScope() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getScope() - Method in class com.atlassian.oauth2.provider.api.event.authorization.ClientAuthorizationEvent
- getScope() - Method in class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationCreatedEvent
- getScope() - Method in class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationDeletedEvent
- getScope() - Method in class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationUpdatedEvent
- getScope() - Method in class com.atlassian.oauth2.provider.api.event.token.TokenCreatedEvent
- getScope() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getScope() - Method in class com.atlassian.oauth2.provider.api.token.AuthenticationResult
- getScope() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getUserKey() - Method in interface com.atlassian.oauth2.provider.api.authorization.Authorization
- getUserKey() - Method in interface com.atlassian.oauth2.provider.api.client.Client
- getUserKey() - Method in interface com.atlassian.oauth2.provider.api.token.access.AccessToken
- getUserKey() - Method in interface com.atlassian.oauth2.provider.api.token.refresh.RefreshToken
- getXsrfTokenName() - Method in interface com.atlassian.oauth2.provider.api.xsrf.OAuth2XsrfTokenGenerator
I
- ifFailure(Consumer<TokenResponseErrorDescription>) - Method in class com.atlassian.oauth2.provider.api.authorization.AuthorizationFlowResult
- ifSuccess(Consumer<Authorization>) - Method in class com.atlassian.oauth2.provider.api.authorization.AuthorizationFlowResult
- init() - Method in interface com.atlassian.oauth2.provider.api.settings.JwtSecretInitService
- INVALID_CLIENT - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
- INVALID_CLIENT_ID - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
- INVALID_CODE - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
- INVALID_GRANT - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
- INVALID_REDIRECT_URI - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
- INVALID_REQUEST - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
- isAccessTokenValid(String, String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Checks if the provided access token is stored against the provided client ID
- isAuthenticated() - Method in class com.atlassian.oauth2.provider.api.token.AuthenticationResult
- isClientNameUnique(String, String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Checks if client name is unique
- isClientNameUnique(String, String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- isClientSecretValid(String, String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Checks if the provided client secret is a match for the client secret stored against the client ID provided
- isClientSecretValid(String, String, FlowType) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Checks if the provided client secret is a match for the client secret stored against the client ID provided.
- isCodeRedeemed(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Checks if the provided authorization code is held against an existing token
- isExpectedCodeChallengeGenerated(String, CodeChallengeMethod, String) - Method in interface com.atlassian.oauth2.provider.api.pkce.PkceService
-
Checks if the expected code challenge is produced by applying the given code challenge method to the given code verifier.
- isPkceCodeVerifierValidAgainstAuthorization(String, String) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
Checks if the provided code verifier produces the expected code challenge for the authorization associated with the provided authorization code.
- isPkceEnabledForAuthorization(String) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
Checks if PKCE is enabled for the given authorization request.
- isRefreshTokenValid(String, String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Checks if the provided refresh token is stored against the provided client ID
- isValidCode(String) - Method in interface com.atlassian.oauth2.provider.api.pkce.PkceService
-
Checks if the given string is a valid PKCE code challenge or PKCE code verifier.
J
- JwtSecretInitService - Interface in com.atlassian.oauth2.provider.api.settings
L
- list() - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Gets all Client
- list() - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- listClients() - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Gets all Clients
- listCurrentUsersAccessTokens() - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Gets all the current users access tokens
- listCurrentUsersRefreshTokens() - Method in interface com.atlassian.oauth2.provider.api.external.OAuth2ProviderService
-
Gets all the current users refresh tokens
N
- name - Variable in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
- name - Variable in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
- newClient - Variable in class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationEvent
- notAuthenticated() - Static method in class com.atlassian.oauth2.provider.api.token.AuthenticationResult
O
- OAuth2AuthorizationServerMetadata - Class in com.atlassian.oauth2.provider.api.external
-
Metadata object following spec: https://datatracker.ietf.org/doc/html/rfc8414
- OAuth2AuthorizationServerMetadata() - Constructor for class com.atlassian.oauth2.provider.api.external.OAuth2AuthorizationServerMetadata
- OAuth2ProviderService - Interface in com.atlassian.oauth2.provider.api.external
- OAuth2ProviderStatisticsEvent - Class in com.atlassian.oauth2.provider.api.event
- OAuth2ProviderStatisticsEvent() - Constructor for class com.atlassian.oauth2.provider.api.event.OAuth2ProviderStatisticsEvent
- OAuth2XsrfTokenGenerator - Interface in com.atlassian.oauth2.provider.api.xsrf
- oldClient - Variable in class com.atlassian.oauth2.provider.api.event.client.ClientConfigurationEvent
P
- PKCE - Enum constant in enum class com.atlassian.oauth2.provider.api.token.FlowType
- PkceService - Interface in com.atlassian.oauth2.provider.api.pkce
-
Methods used by the PKCE implementation https://datatracker.ietf.org/doc/html/rfc7636
- PLAIN - Enum constant in enum class com.atlassian.oauth2.provider.api.pkce.CodeChallengeMethod
- ProviderSettingsDao - Interface in com.atlassian.oauth2.provider.api.settings
- ProviderSettingsService - Interface in com.atlassian.oauth2.provider.api.settings
- PUBLIC_FLOWS - Static variable in enum class com.atlassian.oauth2.provider.api.token.FlowType
-
Flows that do not require a client secret
R
- RedirectUriDao - Interface in com.atlassian.oauth2.provider.api.client.dao
- RefreshToken - Interface in com.atlassian.oauth2.provider.api.token.refresh
- RefreshTokenDao - Interface in com.atlassian.oauth2.provider.api.token.refresh.dao
- RefreshTokenEntity - Class in com.atlassian.oauth2.provider.api.token.refresh.dao
- RefreshTokenEntity() - Constructor for class com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenEntity
- removeAccessTokenAssociatedWith(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes token associated with refresh token
- removeAccessTokenById(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes stored token using raw token
- removeAllByAuthorizationCode(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- removeAllByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- removeAllByUserKey(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- removeByAccessTokenId(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- removeByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.RedirectUriDao
- removeByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- removeByClientId(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes all tokens for client id
- removeByCode(String) - Method in interface com.atlassian.oauth2.provider.api.authorization.dao.AuthorizationDao
- removeById(String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Deletes a
Client - removeById(String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- removeByRefreshTokenId(String) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- removeByUserKey(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes all tokens for user key
- removeCurrentUsersTokensById(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes associated tokens for a given tokenId.
- removeExpiredAccessTokens(Duration) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes all expired access tokens
- removeExpiredAuthorizations(Duration) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
Remove expired authorizations after a expiration period
- removeExpiredAuthorizationsAfter(Duration) - Method in interface com.atlassian.oauth2.provider.api.authorization.dao.AuthorizationDao
- removeExpiredRefreshTokens(Duration) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes all expired refresh tokens
- removeExpiredTokensAfter(Duration) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- removeExpiredTokensAfter(Duration) - Method in interface com.atlassian.oauth2.provider.api.token.refresh.dao.RefreshTokenDao
- removeRefreshToken(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes refresh token
- removeRefreshTokenAssociatedWith(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes token associated with access token
- removeTokenById(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- removeTokensByAuthorizationCode(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Removes stored tokens using the provided authorization code
- removeTokensById(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Deprecated.
- reset() - Method in interface com.atlassian.oauth2.provider.api.settings.ProviderSettingsService
-
Resets JWT secret - generating a new secret
- resetClientSecret(String) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
- resetClientSecret(String, String) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- resetJwtSecret() - Method in interface com.atlassian.oauth2.provider.api.settings.ProviderSettingsDao
-
Generate and save JWT secret to plugin settings.
S
- S256 - Enum constant in enum class com.atlassian.oauth2.provider.api.pkce.CodeChallengeMethod
- save(Authorization) - Method in interface com.atlassian.oauth2.provider.api.authorization.dao.AuthorizationDao
- saveJwtSecret() - Method in interface com.atlassian.oauth2.provider.api.settings.ProviderSettingsDao
-
Create and Save JWT secret to plugin settings, if one does not already exist.
- startAuthorizationFlow(String, String, Scope, CodeChallengeMethod, String) - Method in interface com.atlassian.oauth2.provider.api.authorization.AuthorizationService
-
Creates an authorization request
- success(Authorization) - Static method in class com.atlassian.oauth2.provider.api.authorization.AuthorizationFlowResult
- SupportedResponseType - Enum Class in com.atlassian.oauth2.provider.api.authorization
T
- TokenCreatedEvent - Class in com.atlassian.oauth2.provider.api.event.token
- TokenCreatedEvent(String, RefreshToken) - Constructor for class com.atlassian.oauth2.provider.api.event.token.TokenCreatedEvent
- TokenEvent - Class in com.atlassian.oauth2.provider.api.event.token
- TokenEvent() - Constructor for class com.atlassian.oauth2.provider.api.event.token.TokenEvent
- TokenResponseError - Enum Class in com.atlassian.oauth2.provider.api.authorization
-
https://tools.ietf.org/html/rfc6749#section-5.2 High level errors
- TokenResponseErrorDescription - Enum Class in com.atlassian.oauth2.provider.api.authorization
-
Lower level errors
- TokenRevokedEvent - Class in com.atlassian.oauth2.provider.api.event.token
- TokenRevokedEvent(String, String) - Constructor for class com.atlassian.oauth2.provider.api.event.token.TokenRevokedEvent
- TokenService - Interface in com.atlassian.oauth2.provider.api.token
- toString() - Method in enum class com.atlassian.oauth2.provider.api.pkce.CodeChallengeMethod
U
- UnrecognisedTokenException - Exception in com.atlassian.oauth2.provider.api.token.exception.access
- UnrecognisedTokenException(String) - Constructor for exception com.atlassian.oauth2.provider.api.token.exception.access.UnrecognisedTokenException
- UnrecognisedUserKeyException - Exception in com.atlassian.oauth2.provider.api.token.exception.access
- UnrecognisedUserKeyException(String) - Constructor for exception com.atlassian.oauth2.provider.api.token.exception.access.UnrecognisedUserKeyException
- UNSUPPORTED_RESPONSE_TYPE - Enum constant in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
- updateAccessTokenLastAccessed(String) - Method in interface com.atlassian.oauth2.provider.api.token.TokenService
-
Updates last accessed time for access token
- updateClient(String, String, String, List<String>) - Method in interface com.atlassian.oauth2.provider.api.client.ClientService
-
Updates an existing
Client - updateClient(String, String, String, List<String>) - Method in interface com.atlassian.oauth2.provider.api.client.dao.ClientDao
- updateRedirectUris(String, List<String>) - Method in interface com.atlassian.oauth2.provider.api.client.dao.RedirectUriDao
- updateTokenLastAccessed(String) - Method in interface com.atlassian.oauth2.provider.api.token.access.dao.AccessTokenDao
- UserKeyNotFoundException - Exception in com.atlassian.oauth2.provider.api.token.access.exception
- UserKeyNotFoundException(String) - Constructor for exception com.atlassian.oauth2.provider.api.token.access.exception.UserKeyNotFoundException
V
- validateSession(HttpServletRequest) - Method in interface com.atlassian.oauth2.provider.api.xsrf.OAuth2XsrfTokenGenerator
- validateToken(HttpServletRequest) - Method in interface com.atlassian.oauth2.provider.api.xsrf.OAuth2XsrfTokenGenerator
- value - Variable in enum class com.atlassian.oauth2.provider.api.authorization.SupportedResponseType
- valueOf(String) - Static method in enum class com.atlassian.oauth2.provider.api.authorization.SupportedResponseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseError
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.provider.api.authorization.TokenResponseErrorDescription
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.provider.api.pkce.CodeChallengeMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.oauth2.provider.api.token.FlowType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.oauth2.provider.api.authorization.SupportedResponseType
-
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.provider.api.authorization.TokenResponseError
-
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.provider.api.authorization.TokenResponseErrorDescription
-
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.provider.api.pkce.CodeChallengeMethod
-
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.provider.api.token.FlowType
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- XsrfSessionException - Exception in com.atlassian.oauth2.provider.api.xsrf.exeption
- XsrfSessionException(String) - Constructor for exception com.atlassian.oauth2.provider.api.xsrf.exeption.XsrfSessionException
All Classes and Interfaces|All Packages|Serialized Form
TokenService.removeCurrentUsersTokensById(String)instead