Share via


TokenAcquirerTokenCredential Class

Definition

Azure SDK token credential based on the ITokenAcquisition service.

public class TokenAcquirerTokenCredential : Azure.Core.TokenCredential
type TokenAcquirerTokenCredential = class
    inherit TokenCredential
Public Class TokenAcquirerTokenCredential
Inherits TokenCredential
Inheritance
TokenAcquirerTokenCredential

Constructors

TokenAcquirerTokenCredential(ITokenAcquirer)

Constructor from an ITokenAcquisition service.

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