次の方法で共有


AuthInfo コンストラクター

定義

オーバーロード

AuthInfo()

AuthInfo クラスの新しいインスタンスを初期化します。

AuthInfo(String, String, String, String, Nullable<Int32>)

AuthInfo クラスの新しいインスタンスを初期化します。

AuthInfo()

AuthInfo クラスの新しいインスタンスを初期化します。

public AuthInfo();
Public Sub New ()

適用対象

AuthInfo(String, String, String, String, Nullable<Int32>)

AuthInfo クラスの新しいインスタンスを初期化します。

public AuthInfo(string tokenType, string token, string refreshToken = default, string scope = default, int? expiresIn = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AuthInfo : string * string * string * string * Nullable<int> -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AuthInfo
Public Sub New (tokenType As String, token As String, Optional refreshToken As String = Nothing, Optional scope As String = Nothing, Optional expiresIn As Nullable(Of Integer) = Nothing)

パラメーター

tokenType
String

認証トークンの種類。 使用可能な値は、'PAT'、'OAuth' です。

token
String

ソース管理プロバイダーへのアクセスに使用されるアクセス トークン。

refreshToken
String

アクセス トークンの更新に使用される更新トークン。

scope
String

アクセス トークンのスコープ。

expiresIn
Nullable<Int32>

トークンが有効なままの時間 (秒単位)

適用対象