Udostępnij za pośrednictwem


PopTokenAuthenticationPolicy(ISupportsProofOfPossession, String) Constructor

Definition

Creates a new instance of PopTokenAuthenticationPolicy.

public PopTokenAuthenticationPolicy (Azure.Core.ISupportsProofOfPossession credential, string scope);
new Azure.Core.Pipeline.PopTokenAuthenticationPolicy : Azure.Core.ISupportsProofOfPossession * string -> Azure.Core.Pipeline.PopTokenAuthenticationPolicy
Public Sub New (credential As ISupportsProofOfPossession, scope As String)

Parameters

credential
ISupportsProofOfPossession

The TokenCredential to be used for authorization.

scope
String

The scope to be included in acquired tokens.

Applies to