Uses of Interface
org.neo4j.driver.AuthTokenAndExpiration
Packages that use AuthTokenAndExpiration
-
Uses of AuthTokenAndExpiration in org.neo4j.driver
Methods in org.neo4j.driver that return AuthTokenAndExpirationModifier and TypeMethodDescriptiondefault AuthTokenAndExpiration
AuthToken.expiringAt
(long utcExpirationTimestamp) Returns a new instance of a type holding both the token and its UTC expiration timestamp.Method parameters in org.neo4j.driver with type arguments of type AuthTokenAndExpirationModifier 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
Classes in org.neo4j.driver.internal.security that implement AuthTokenAndExpirationConstructor parameters in org.neo4j.driver.internal.security with type arguments of type AuthTokenAndExpirationModifierConstructorDescriptionExpirationBasedAuthTokenManager
(Supplier<CompletionStage<AuthTokenAndExpiration>> freshTokenSupplier, Set<Class<? extends SecurityException>> retryableExceptionClasses, Clock clock)