IdentityModelFactory.AuthenticationRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- homeAccountId
- String
Sets the HomeAccountId.
Returns
A new instance of the AuthenticationRecord(String, String, String, String, String) for mocking purposes.