Freigeben über


AuthenticationMethodFactory.CreateAuthenticationWithToken Methode

Definition

Überlädt

CreateAuthenticationWithToken(String, String)

Erstellt eine DeviceAuthenticationWithToken instance basierend auf den Parametern.

CreateAuthenticationWithToken(String, String, String)

Erstellt eine ModuleAuthenticationWithToken instance basierend auf den Parametern.

CreateAuthenticationWithToken(String, String)

Erstellt eine DeviceAuthenticationWithToken instance basierend auf den Parametern.

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

Parameter

deviceId
String

Geräte-ID.

token
String

Dem Gerät zugeordnetes Sicherheitstoken.

Gibt zurück

Eine neue Instanz der DeviceAuthenticationWithToken-Klasse.

Gilt für:

CreateAuthenticationWithToken(String, String, String)

Erstellt eine ModuleAuthenticationWithToken instance basierend auf den Parametern.

public static Microsoft.Azure.Devices.Client.IAuthenticationMethod CreateAuthenticationWithToken (string deviceId, string moduleId, string token);
static member CreateAuthenticationWithToken : string * string * string -> Microsoft.Azure.Devices.Client.IAuthenticationMethod
Public Shared Function CreateAuthenticationWithToken (deviceId As String, moduleId As String, token As String) As IAuthenticationMethod

Parameter

deviceId
String

Geräte-ID.

moduleId
String

Modulbezeichner.

token
String

Dem Gerät zugeordnetes Sicherheitstoken.

Gibt zurück

Eine neue Instanz der ModuleAuthenticationWithToken-Klasse.

Gilt für: