- All Known Implementing Classes:
InternalAuthTokenAndExpiration
@Preview(name="AuthToken rotation and session auth support")
public sealed interface AuthTokenAndExpiration
permits InternalAuthTokenAndExpiration
A container used by the expiration based
AuthTokenManager implementation provided by the driver, it contains an
AuthToken and its UTC expiration timestamp.
This is used by the bearer token implementation of the AuthTokenManager supplied by the
AuthTokenManagers.
- Since:
- 5.8
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAuthToken.longReturns the token's UTC expiration timestamp.