Uses of Interface
org.neo4j.driver.AuthToken
Packages that use AuthToken
Package
Description
-
Uses of AuthToken in org.neo4j.driver
Methods in org.neo4j.driver that return AuthTokenModifier and TypeMethodDescriptionAuthTokenAndExpiration.authToken()Returns theAuthToken.static AuthTokenThe basic authentication scheme, using a username and a password.static AuthTokenThe basic authentication scheme, using a username and a password.static AuthTokenThe bearer authentication scheme, using a base64 encoded token.static AuthTokenA custom authentication token used for doing custom authentication on the server side.static AuthTokenAuthTokens.custom(String principal, String credentials, String realm, String scheme, Map<String, Object> parameters) A custom authentication token used for doing custom authentication on the server side.static AuthTokenThe kerberos authentication scheme, using a base64 encoded ticketstatic AuthTokenAuthTokens.none()No authentication scheme.Methods in org.neo4j.driver that return types with arguments of type AuthTokenModifier and TypeMethodDescriptionAuthTokenManager.getToken()Returns aCompletionStagefor a validAuthToken.Methods in org.neo4j.driver with parameters of type AuthTokenModifier and TypeMethodDescriptionstatic DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic DriverReturn a driver for a Neo4j instance with custom configuration.static DriverReturn a driver for a Neo4j instance with the default configuration settingsstatic DriverReturn a driver for a Neo4j instance with custom configuration.booleanAuthTokenManager.handleSecurityException(AuthToken authToken, SecurityException exception) HandlesSecurityExceptionthat is created based on the server's security error response by determining if the given error may be resolved upon nextAuthTokenManager.getToken()invokation.default <T extends BaseSession>
TInstantiate a new session of a supported type with the suppliedAuthToken.<T extends BaseSession>
TDriver.session(Class<T> sessionClass, SessionConfig sessionConfig, AuthToken sessionAuthToken) Instantiate a new session of a supported type with the suppliedsession configurationandAuthToken.booleanDriver.verifyAuthentication(AuthToken authToken) Verifies if the givenAuthTokenis valid.Method parameters in org.neo4j.driver with type arguments of type AuthTokenModifier and TypeMethodDescriptionstatic AuthTokenManagerReturns anAuthTokenManagerthat manages basicAuthTokeninstances.static AuthTokenManagerAuthTokenManagers.basicAsync(Supplier<CompletionStage<AuthToken>> newTokenStageSupplier) Returns anAuthTokenManagerthat manages basicAuthTokeninstances. -
Uses of AuthToken in org.neo4j.driver.internal.async
Methods in org.neo4j.driver.internal.async that return AuthTokenModifier and TypeMethodDescriptionConnectionContext.overrideAuthToken()ImmutableConnectionContext.overrideAuthToken()Constructors in org.neo4j.driver.internal.async with parameters of type AuthTokenModifierConstructorDescriptionLeakLoggingNetworkSession(ConnectionProvider connectionProvider, RetryLogic retryLogic, org.neo4j.driver.internal.DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, NotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled) NetworkSession(ConnectionProvider connectionProvider, RetryLogic retryLogic, org.neo4j.driver.internal.DatabaseName databaseName, AccessMode mode, Set<Bookmark> bookmarks, String impersonatedUser, long fetchSize, Logging logging, BookmarkManager bookmarkManager, NotificationConfig notificationConfig, AuthToken overrideAuthToken, boolean telemetryDisabled) -
Uses of AuthToken in org.neo4j.driver.internal.async.pool
Methods in org.neo4j.driver.internal.async.pool that return AuthTokenMethods in org.neo4j.driver.internal.async.pool with parameters of type AuthTokenModifier and TypeMethodDescriptionConnectionPoolImpl.acquire(org.neo4j.driver.internal.BoltServerAddress address, AuthToken overrideAuthToken) CompletionStage<io.netty.channel.Channel>CompletionStage<io.netty.channel.Channel>voidAuthContext.initiateAuth(AuthToken authToken) voidAuthContext.initiateAuth(AuthToken authToken, boolean managed) voidAuthContext.setValidToken(AuthToken validToken) -
Uses of AuthToken in org.neo4j.driver.internal.cluster
Methods in org.neo4j.driver.internal.cluster with parameters of type AuthTokenModifier and TypeMethodDescriptionRediscovery.lookupClusterComposition(RoutingTable routingTable, ConnectionPool connectionPool, Set<Bookmark> bookmarks, String impersonatedUser, AuthToken overrideAuthToken) Fetches cluster composition using the provided routing table.RediscoveryImpl.lookupClusterComposition(RoutingTable routingTable, ConnectionPool connectionPool, Set<Bookmark> bookmarks, String impersonatedUser, AuthToken overrideAuthToken) Given a database and its current routing table, and the global connection pool, use the global cluster composition provider to fetch a new cluster composition, which would be used to update the routing table of the given database and global connection pool. -
Uses of AuthToken in org.neo4j.driver.internal.messaging
Methods in org.neo4j.driver.internal.messaging with parameters of type AuthTokenModifier and TypeMethodDescriptionvoidBoltProtocol.initializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, NotificationConfig notificationConfig, Clock clock) Initialize channel after it is connected and handshake selected this protocol version. -
Uses of AuthToken in org.neo4j.driver.internal.messaging.v3
Methods in org.neo4j.driver.internal.messaging.v3 with parameters of type AuthTokenModifier and TypeMethodDescriptionvoidBoltProtocolV3.initializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, NotificationConfig notificationConfig, Clock clock) -
Uses of AuthToken in org.neo4j.driver.internal.messaging.v51
Methods in org.neo4j.driver.internal.messaging.v51 with parameters of type AuthTokenModifier and TypeMethodDescriptionvoidBoltProtocolV51.initializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, NotificationConfig notificationConfig, Clock clock) -
Uses of AuthToken in org.neo4j.driver.internal.messaging.v53
Methods in org.neo4j.driver.internal.messaging.v53 with parameters of type AuthTokenModifier and TypeMethodDescriptionvoidBoltProtocolV53.initializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, NotificationConfig notificationConfig, Clock clock) -
Uses of AuthToken in org.neo4j.driver.internal.security
Classes in org.neo4j.driver.internal.security that implement AuthTokenModifier and TypeClassDescriptionfinal classA simple common token for authentication schemes that easily convert to an auth token mapMethods in org.neo4j.driver.internal.security that return AuthTokenModifier and TypeMethodDescriptionInternalAuthTokenAndExpiration.authToken()Returns the value of theauthTokenrecord component.Methods in org.neo4j.driver.internal.security that return types with arguments of type AuthTokenModifier and TypeMethodDescriptionExpirationBasedAuthTokenManager.getToken()StaticAuthTokenManager.getToken()ValidatingAuthTokenManager.getToken()Methods in org.neo4j.driver.internal.security with parameters of type AuthTokenModifier and TypeMethodDescriptionbooleanExpirationBasedAuthTokenManager.handleSecurityException(AuthToken authToken, SecurityException exception) booleanStaticAuthTokenManager.handleSecurityException(AuthToken authToken, SecurityException exception) booleanValidatingAuthTokenManager.handleSecurityException(AuthToken authToken, SecurityException exception) Constructors in org.neo4j.driver.internal.security with parameters of type AuthTokenModifierConstructorDescriptionInternalAuthTokenAndExpiration(AuthToken authToken, long expirationTimestamp) Creates an instance of aInternalAuthTokenAndExpirationrecord class.StaticAuthTokenManager(AuthToken authToken) -
Uses of AuthToken in org.neo4j.driver.internal.spi
Methods in org.neo4j.driver.internal.spi with parameters of type AuthToken