Freigeben über


IdentityModelFactory.AuthenticationRecord Methode

Definition

Initialisiert eine neue instance der AuthenticationRecord(String, String, String, String, String) -Klasse zu Mockingzwecken.

public static Azure.Identity.AuthenticationRecord AuthenticationRecord (string username, string authority, string homeAccountId, string tenantId, string clientId);
static member AuthenticationRecord : string * string * string * string * string -> Azure.Identity.AuthenticationRecord
Public Shared Function AuthenticationRecord (username As String, authority As String, homeAccountId As String, tenantId As String, clientId As String) As AuthenticationRecord

Parameter

username
String

Legt Username fest.

authority
String

Legt Authority fest.

homeAccountId
String

Legt HomeAccountId fest.

tenantId
String

Legt TenantId fest.

clientId
String

Legt ClientId fest.

Gibt zurück

Eine neue instance der für AuthenticationRecord(String, String, String, String, String) Mockingzwecke.

Gilt für: