Compartilhar via


IdentityModelFactory.AuthenticationRecord Método

Definição

Inicializa uma nova instância da AuthenticationRecord(String, String, String, String, String) classe para fins de simulação.

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

Parâmetros

username
String

Define o Username.

authority
String

Define o Authority.

homeAccountId
String

Define o HomeAccountId.

tenantId
String

Define o TenantId.

clientId
String

Define o ClientId.

Retornos

Uma nova instância do AuthenticationRecord(String, String, String, String, String) para fins de zombaria.

Aplica-se a