Returns the authorization URL of the specified provider, query parameters and return URL.
Namespace: Nemiro.OAuthAssembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
Parameters
- clientName
- Type: Nemiro.OAuth ClientName
The provider name, through which it is necessary to authorize the current user; or the name of the registered client.
- 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: StringExceptions
Exception | Condition |
---|---|
NullHttpContextException | The exception that is thrown when you try to access methods that are designed for web projects. |
See Also