Uses of Interface
org.neo4j.driver.AuthTokenAndExpiration
-
Uses of AuthTokenAndExpiration in org.neo4j.driver
Modifier and TypeMethodDescriptiondefault AuthTokenAndExpiration
AuthToken.expiringAt
(long utcExpirationTimestamp) Returns a new instance of a type holding both the token and its UTC expiration timestamp.Modifier and TypeMethodDescriptionstatic AuthTokenManager
AuthTokenManagers.bearer
(Supplier<AuthTokenAndExpiration> newTokenSupplier) Returns anAuthTokenManager
that manages bearerAuthToken
instances with UTC expiration timestamp.static AuthTokenManager
AuthTokenManagers.bearerAsync
(Supplier<CompletionStage<AuthTokenAndExpiration>> newTokenStageSupplier) Returns anAuthTokenManager
that manages bearerAuthToken
instances with UTC expiration timestamp. -
Uses of AuthTokenAndExpiration in org.neo4j.driver.internal.security
ModifierConstructorDescriptionExpirationBasedAuthTokenManager
(Supplier<CompletionStage<AuthTokenAndExpiration>> freshTokenSupplier, Set<Class<? extends SecurityException>> retryableExceptionClasses, Clock clock)