Lezen in het Engels

Delen via


TokenCredential Class

Definition

Represents a credential capable of providing an OAuth token.

C#
public abstract class TokenCredential
Inheritance
TokenCredential
Derived

Constructors

Methods

GetToken(TokenRequestContext, CancellationToken)

Gets an AccessToken for the specified set of scopes.

GetTokenAsync(TokenRequestContext, CancellationToken)

Gets an AccessToken for the specified set of scopes.

Applies to

Product Versies
Azure SDK for .NET Latest