Freigeben über


AuthenticationMethodFactory.CreateAuthenticationWithSharedAccessPolicyToken Methode

Definition

Factorymethode zum Erstellen eines ServiceAuthenticationWithSharedAccessPolicyToken-Objekts

public static Microsoft.Azure.Devices.IAuthenticationMethod CreateAuthenticationWithSharedAccessPolicyToken (string policyName, string token);
static member CreateAuthenticationWithSharedAccessPolicyToken : string * string -> Microsoft.Azure.Devices.IAuthenticationMethod
Public Shared Function CreateAuthenticationWithSharedAccessPolicyToken (policyName As String, token As String) As IAuthenticationMethod

Parameter

policyName
String

PolicyName

token
String

SharedAccessSignatureToken

Gibt zurück

ein AuthenticationMethod-Objekt

Gilt für: