A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://neo4j.com/docs/api/dotnet-driver/current/api/Neo4j.Driver.AuthTokenManagers.html below:

Class AuthTokenManagers

This class provides common implementations of IAuthTokenManager for various types of authentication.

public static class AuthTokenManagers
Inheritance

AuthTokenManagers

Inherited Members
Properties
None

An implementation of IAuthTokenManager that allows connection with auth disabled. This will only work if authentication is disabled on the Neo4j Instance we are connecting to.

Methods
Basic(Func<ValueTask<IAuthToken>>)

An implementation of IAuthTokenManager that will call the provided async function whenever a new token is required. It will handle caching of the token and will only call the function when a new token is needed.

Bearer(Func<ValueTask<AuthTokenAndExpiration>>)

An implementation of IAuthTokenManager that will call the provided async function whenever a token is needed. It will cache the token and will only call the function when a new token is needed or the existing cached token has expired.

Static(IAuthToken)

An implementation of IAuthTokenManager that allows connection using a static token that never changes.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4