Language

ConfidentialClientApplication.GetAuthorizationRequestUrl メソッド

定義

承認要求の URL を計算して、ユーザーがサインインし、ユーザー名の特定のスコープにアクセスするアプリケーションに同意します。 URL は、アプリケーションで構成された機関の /authorize エンドポイントを対象とします。 このオーバーライドを使用すると、ログイン ヒントと追加のクエリ パラメーターを指定できます。

public Microsoft.Identity.Client.GetAuthorizationRequestUrlParameterBuilder GetAuthorizationRequestUrl(System.Collections.Generic.IEnumerable<string> scopes);
abstract member GetAuthorizationRequestUrl : seq<string> -> Microsoft.Identity.Client.GetAuthorizationRequestUrlParameterBuilder
override this.GetAuthorizationRequestUrl : seq<string> -> Microsoft.Identity.Client.GetAuthorizationRequestUrlParameterBuilder
Public Function GetAuthorizationRequestUrl (scopes As IEnumerable(Of String)) As GetAuthorizationRequestUrlParameterBuilder

パラメーター

scopes
IEnumerable<String>

保護された API へのアクセスを要求されたスコープ

返品

トークン要求を実行する前に省略可能なパラメーターを追加して、パラメーターでパラメーター化された STS 承認エンドポイントの URL を取得できるようにするビルダー

実装

注釈

次の省略可能なパラメーターを連結することもできます。 WithRedirectUri(String)WithLoginHint(String)Microsoft.Identity.Client.AbstractAcquireTokenParameterBuilder`1.WithExtraQueryParameters(System.Collections.Generic.Dictionary{System.String,System.String})WithExtraScopesToConsent(IEnumerable<String>)

適用対象