- 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 expiration-based implementation of the AuthTokenManager supplied by the
AuthTokenManagers.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAuthToken.longReturns the token's UTC expiration timestamp.