IConfidentialClientApplication.GetAuthorizationRequestUrlAsync Method

Definition

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