Interface AuthenticationProvider.TokenProvider
-
- Enclosing class:
- AuthenticationProvider
public static interface AuthenticationProvider.TokenProviderApplication callback to request authentication token value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacquireToken(java.lang.String ticketKey, AuthenticationProvider.AuthenticationCallback callback)Implement this method and pass a fresh authentication token using the callback.
-
-
-
Method Detail
-
acquireToken
void acquireToken(java.lang.String ticketKey, AuthenticationProvider.AuthenticationCallback callback)Implement this method and pass a fresh authentication token using the callback. This will be called 1 time right after registering and also whenever the token is about to expire.- Parameters:
ticketKey- The ticket key that is used to get an updated token.callback- callback to provide the result.
-
-