OnBehalfOfClient class
On-Behalf-Of クライアント
- Extends
-
@azure/msal-common.BaseClient
メソッド
| acquire |
フローに代わってトークンを取得するパブリック API |
継承されたメソッド
| create |
/token 要求のクエリ文字列を作成します |
| send |
必要なプレフライトおよびポストフライト ロジックで sendPostRequestAsync をラップします |
| update |
クライアントの authority オブジェクトを更新します。 エンドポイントの検出を完了する必要があります。 |
コンストラクターの詳細
OnBehalfOfClient(ClientConfiguration)
new OnBehalfOfClient(configuration: ClientConfiguration)
パラメーター
- configuration
- @azure/msal-common.ClientConfiguration
継承されたプロパティの詳細
authority
authority: Authority
プロパティ値
Inherited From BaseClient.authority
logger
メソッドの詳細
acquireToken(CommonOnBehalfOfRequest)
フローに代わってトークンを取得するパブリック API
function acquireToken(request: CommonOnBehalfOfRequest): Promise<null | AuthenticationResult>
パラメーター
- request
- CommonOnBehalfOfRequest
developer provided CommonOnBehalfOfRequest
返品
Promise<null | AuthenticationResult>
継承済みメソッドの詳細
createTokenQueryParameters(BaseAuthRequest)
/token 要求のクエリ文字列を作成します
function createTokenQueryParameters(request: BaseAuthRequest): string
パラメーター
- request
- BaseAuthRequest
返品
string
Inherited From BaseClient.createTokenQueryParameters
sendPostRequest<T>(RequestThumbprint, string, NetworkRequestOptions, string)
必要なプレフライトおよびポストフライト ロジックで sendPostRequestAsync をラップします
function sendPostRequest<T>(thumbprint: RequestThumbprint, tokenEndpoint: string, options: NetworkRequestOptions, correlationId: string): Promise<NetworkResponse<T>>
パラメーター
- thumbprint
- RequestThumbprint
調整のために拇印を要求する
- tokenEndpoint
-
string
POST を作成するエンドポイント
- options
- NetworkRequestOptions
POST 要求に含める本文とヘッダー
- correlationId
-
string
テレメトリの CorrelationId
返品
Promise<NetworkResponse<T>>
Inherited From BaseClient.sendPostRequest
updateAuthority(string, string)
クライアントの authority オブジェクトを更新します。 エンドポイントの検出を完了する必要があります。
function updateAuthority(cloudInstanceHostname: string, correlationId: string): Promise<void>
パラメーター
- cloudInstanceHostname
-
string
- correlationId
-
string
返品
Promise<void>
Inherited From BaseClient.updateAuthority