Interface IAuthTokenCache
Caches auth tokens.
Namespace: Microsoft.XboxStudios.SQTech.Authentication
Assembly: Microsoft.XboxStudios.SQTech.Authentication.dll
Syntax
public interface IAuthTokenCache
Methods
View SourceRegisterCacheIfNeededAsync(ITokenCache, CancellationToken)
Attempts to register a ITokenCache if not already registered.
Declaration
ValueTask RegisterCacheIfNeededAsync(ITokenCache tokenCache, CancellationToken token = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ITokenCache | tokenCache | The token cache to register. |
| CancellationToken | token | A token to cancel the asynchronous operation. |
Returns
| Type | Description |
|---|---|
| ValueTask | A ValueTask representing the asynchronous operation. |