Show / Hide Table of Contents

Interface IAuthTokenCache

Caches auth tokens.

Namespace: Microsoft.XboxStudios.SQTech.Authentication
Assembly: Microsoft.XboxStudios.SQTech.Authentication.dll
Syntax
public interface IAuthTokenCache

Methods

View Source

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

  • View Source
In This Article
Back to top Generated by DocFX