T - returned type@FunctionalInterface public static interface TokenHandler.ClientTokenCallback<T>
ClientToken.| Modifier and Type | Method and Description |
|---|---|
T |
apply(ClientToken clientToken)
Method to invoke with a
ClientToken. |
T apply(ClientToken clientToken) throws TokenHandler.InvalidTokenException
ClientToken.
If authorisation with the token fails, this method should throw TokenHandler.InvalidTokenException.
clientToken - token to be used for authorisation with an OAuth 2.0 serverTokenHandler.InvalidTokenException - thrown if the token is invalid and authorisation failedCopyright © 2020 Atlassian. All rights reserved.