共用方式為


IdentityModelFactory Class

Definition

Model factory that enables mocking for the Azure Identity library.

public static class IdentityModelFactory
type IdentityModelFactory = class
Public Class IdentityModelFactory
Inheritance
IdentityModelFactory

Methods

AuthenticationRecord(String, String, String, String, String)

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

DeviceCodeInfo(String, String, Uri, DateTimeOffset, String, String, IReadOnlyCollection<String>)

Initializes a new instance of the DeviceCodeInfo(String, String, Uri, DateTimeOffset, String, String, IReadOnlyCollection<String>) class for mocking purposes.

Applies to