OAuth2AuthorizeToken Method |
Fetches Request Authorize from the specified URI (URL).
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string AuthorizeToken(
string uri,
StringDictionary parameters
)
Public Function AuthorizeToken (
uri As String,
parameters As StringDictionary
) As String
Parameters
- uri
- Type: SystemString
An URI for sending HTTP request. - parameters
- Type: System.Collections.SpecializedStringDictionary
A StringDictionary object with the parameters' list.
Return Value
Type:
StringA string with the URI for authentication process in the end user's browser.
Exceptions Exception | Condition |
---|
MailBeeInvalidArgumentException | uri is a null reference (Nothing in Visual Basic) or an empty string.
parameters is a null reference (Nothing in Visual Basic) or an empty string.
|
Examples See
OAuth2 topic for the example.
See Also