Sdílet prostřednictvím


TokenAcquirerAppTokenCredential Class

Definition

Azure SDK token credential for App tokens based on the ITokenAcquisition service.

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

Constructors

TokenAcquirerAppTokenCredential(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