Condividi tramite


IdentityModelFactory.AuthenticationRecord Method

Definition

Initializes a new instance of the AuthenticationRecord(String, String, String, String, String) class for mocking purposes.

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

Parameters

username
String

Sets the Username.

authority
String

Sets the Authority.

homeAccountId
String

Sets the HomeAccountId.

tenantId
String

Sets the TenantId.

clientId
String

Sets the ClientId.

Returns

A new instance of the AuthenticationRecord(String, String, String, String, String) for mocking purposes.

Applies to