Share via


IdentityModelFactory.DeviceCodeInfo メソッド

定義

モック作成のために、 クラスの DeviceCodeInfo(String, String, Uri, DateTimeOffset, String, String, IReadOnlyCollection<String>) 新しいインスタンスを初期化します。

public static Azure.Identity.DeviceCodeInfo DeviceCodeInfo (string userCode, string deviceCode, Uri verificationUri, DateTimeOffset expiresOn, string message, string clientId, System.Collections.Generic.IReadOnlyCollection<string> scopes);
static member DeviceCodeInfo : string * string * Uri * DateTimeOffset * string * string * System.Collections.Generic.IReadOnlyCollection<string> -> Azure.Identity.DeviceCodeInfo
Public Shared Function DeviceCodeInfo (userCode As String, deviceCode As String, verificationUri As Uri, expiresOn As DateTimeOffset, message As String, clientId As String, scopes As IReadOnlyCollection(Of String)) As DeviceCodeInfo

パラメーター

userCode
String

UserCode を設定します。

deviceCode
String

DeviceCode を設定します。

verificationUri
Uri

VerificationUri を設定します。

expiresOn
DateTimeOffset

ExpiresOn を設定します。

message
String

Message を設定します。

clientId
String

ClientId を設定します。

scopes
IReadOnlyCollection<String>

Scopes を設定します。

戻り値

モック作成用の の DeviceCodeInfo(String, String, Uri, DateTimeOffset, String, String, IReadOnlyCollection<String>) 新しいインスタンス。

適用対象