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.
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