public interface AccessTokenAuthenticationHandler
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResult |
authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String bearerToken)
Authenticates a HTTP request using the access token defined in the Authorization header.
|
AuthenticationResult authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String bearerToken) throws AccessFailedException
request - the requestresponse - the responsebearerToken - the bearer token provided with the requestUnrecognisedTokenException - when the token is unrecognisedExpiredTokenException - when the token has expiredUnrecognisedUserKeyException - when the user key associated with the token is unrecognisedAccessFailedExceptionCopyright © 2020–2023 Atlassian. All rights reserved.