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.Basic.html below:

Method Basic
Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll
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.

public static IAuthTokenManager Basic(Func<ValueTask<IAuthToken>> tokenProviderAsync)
Parameters
tokenProviderAsync Func<ValueTask<IAuthToken>>

A function that will be called when a new token is needed.

Returns
IAuthTokenManager

The IAuthTokenManager that will call the provided function when a new token is needed.


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