次の方法で共有


ManagedIdentityServiceClientCredentialsFactory.CreateCredentialsAsync メソッド

定義

ServiceClientCredentials を作成するためのファクトリ メソッド。

public override System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials> CreateCredentialsAsync (string appId, string audience, string loginEndpoint, bool validateAuthority, System.Threading.CancellationToken cancellationToken);
override this.CreateCredentialsAsync : string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials>
Public Overrides Function CreateCredentialsAsync (appId As String, audience As String, loginEndpoint As String, validateAuthority As Boolean, cancellationToken As CancellationToken) As Task(Of ServiceClientCredentials)

パラメーター

appId
String

appId。

audience
String

対象ユーザー。

loginEndpoint
String

ログイン URL。

validateAuthority
Boolean

使用する検証機関の値。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

Task<Microsoft.Rest.ServiceClientCredentials>

Task<TResult>非同期操作の結果を表す 。

適用対象