- All Known Implementing Classes:
InternalAuthToken
Token for holding authentication details, such as user name and password.
Such a token is required by a
Driver
to authenticate with a Neo4j
instance.- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthTokenAndExpiration
expiringAt
(long utcExpirationTimestamp) Returns a new instance of a type holding both the token and its UTC expiration timestamp.
-
Method Details
-
expiringAt
Returns a new instance of a type holding both the token and its UTC expiration timestamp.This is used by the bearer token implementation of the
AuthTokenManager
supplied by theAuthTokenManagers
.- Parameters:
utcExpirationTimestamp
- the UTC expiration timestamp- Returns:
- a new instance of a type holding both the token and its UTC expiration timestamp
- Since:
- 5.8
- See Also:
-