Language

IConfidentialClientApplication.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
Public Function GetAuthorizationRequestUrl (scopes As IEnumerable(Of String)) As GetAuthorizationRequestUrlParameterBuilder

パラメーター

scopes
IEnumerable<String>

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

返品

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

注釈

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

適用対象