OAuthWeb GetAuthorizationUrl Method (String, NameValueCollection, String)Nemiro.OAuth
Returns the authorization URL of the specified provider, query parameters and return URL.

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public static string GetAuthorizationUrl(
	string clientName,
	NameValueCollection parameters,
	string returnUrl
)

Parameters

clientName
Type: System String
Provider name, through which it is necessary to authorize the current user.
parameters
Type: System.Collections.Specialized NameValueCollection
Additional parameters to be passed to the authorization URL.
returnUrl
Type: System String
The address to which the user is redirected after the authorization.

Return Value

Type: String
Exceptions

ExceptionCondition
NullHttpContextException The exception that is thrown when you try to access methods that are designed for web projects.
See Also