次の方法で共有


TokenProvider.CreateAzureActiveDirectoryTokenProvider メソッド

定義

Azure Active Directory トークン プロバイダーを作成します。

public static Microsoft.Azure.Relay.TokenProvider CreateAzureActiveDirectoryTokenProvider (Microsoft.Azure.Relay.TokenProvider.AuthenticationCallback authCallback, string authority, object state = default);
static member CreateAzureActiveDirectoryTokenProvider : Microsoft.Azure.Relay.TokenProvider.AuthenticationCallback * string * obj -> Microsoft.Azure.Relay.TokenProvider
Public Shared Function CreateAzureActiveDirectoryTokenProvider (authCallback As TokenProvider.AuthenticationCallback, authority As String, Optional state As Object = Nothing) As TokenProvider

パラメーター

authCallback
TokenProvider.AuthenticationCallback

AAD アクセス トークン文字列を取得するために呼び出されるユーザー指定のハンドラー。

authority
String

AAD トークンを発行する機関のアドレス。 たとえば、https://login.microsoftonline.com/{TenantId} のように指定します。

state
Object

コールバックに配信される状態。

戻り値

TokenProvider Json Web トークンを返す 。

適用対象