Show / Hide Table of Contents

Interface IAuthTokenProvider

An interface for acquiring authentication tokens.

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

Methods

View Source

AcquireTokenAsync(IEnumerable<string>, CancellationToken)

Gets a token for the requested scopes.

Declaration
Task<string> AcquireTokenAsync(IEnumerable<string> applicationScopes, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<string> applicationScopes

The target application scopes.

CancellationToken cancellationToken

A cancellation token.

Returns
Type Description
Task<string>

An access token to access protected web APIs.

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