IConfidentialClientApplication.GetAuthorizationRequestUrlAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAuthorizationRequestUrlAsync(IEnumerable<String>, String, String) |
Obsolete.
[V2 API] URL of the authorize endpoint including the query parameters. |
GetAuthorizationRequestUrlAsync(IEnumerable<String>, String, String, String, IEnumerable<String>, String) |
Obsolete.
[V2 API] Gets URL of the authorize endpoint including the query parameters. |
GetAuthorizationRequestUrlAsync(IEnumerable<String>, String, String)
Caution
Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes.
[V2 API] URL of the authorize endpoint including the query parameters.
[System.Obsolete("Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]
public System.Threading.Tasks.Task<Uri> GetAuthorizationRequestUrlAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, string extraQueryParameters);
[<System.Obsolete("Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]
abstract member GetAuthorizationRequestUrlAsync : seq<string> * string * string -> System.Threading.Tasks.Task<Uri>
Public Function GetAuthorizationRequestUrlAsync (scopes As IEnumerable(Of String), loginHint As String, extraQueryParameters As String) As Task(Of Uri)
Parameters
- scopes
- IEnumerable<String>
Array of scopes requested for resource
- loginHint
- String
Identifier of the user. Generally a UPN.
- extraQueryParameters
- String
This parameter will be appended as is to the query string in the HTTP authentication request to the authority. The parameter can be null.
Returns
URL of the authorize endpoint including the query parameters.
- Attributes
Applies to
GetAuthorizationRequestUrlAsync(IEnumerable<String>, String, String, String, IEnumerable<String>, String)
Caution
Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes.
[V2 API] Gets URL of the authorize endpoint including the query parameters.
[System.Obsolete("Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]
public System.Threading.Tasks.Task<Uri> GetAuthorizationRequestUrlAsync (System.Collections.Generic.IEnumerable<string> scopes, string redirectUri, string loginHint, string extraQueryParameters, System.Collections.Generic.IEnumerable<string> extraScopesToConsent, string authority);
[<System.Obsolete("Use GetAuthorizationRequestUrl instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]
abstract member GetAuthorizationRequestUrlAsync : seq<string> * string * string * string * seq<string> * string -> System.Threading.Tasks.Task<Uri>
Public Function GetAuthorizationRequestUrlAsync (scopes As IEnumerable(Of String), redirectUri As String, loginHint As String, extraQueryParameters As String, extraScopesToConsent As IEnumerable(Of String), authority As String) As Task(Of Uri)
Parameters
- scopes
- IEnumerable<String>
Array of scopes requested for resource
- redirectUri
- String
Address to return to upon receiving a response from the authority.
- loginHint
- String
Identifier of the user. Generally a UPN.
- extraQueryParameters
- String
This parameter will be appended as is to the query string in the HTTP authentication request to the authority. The parameter can be null.
- extraScopesToConsent
- IEnumerable<String>
Array of scopes for which a developer can request consent upfront.
- authority
- String
Specific authority for which the token is requested. Passing a different value than configured does not change the configured value
Returns
URL of the authorize endpoint including the query parameters.
- Attributes
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기