MailBee.NET Objects 7.2

OAuth.AuthorizeToken Method (String, StringDictionary)

Fetches Request Authorize from the specified URI passing extra parameters in that URI.

public string AuthorizeToken(
   string uri,
   StringDictionary parameters
);

Parameters

uri
A URI for producing HTTP request string.
parameters
A StringDictionary object with the parameters list.

Return Value

A string with URI for authentication process in client browser.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException uri is a null reference (Nothing in Visual Basic) or an empty string.
MailBeeInvalidStateException RequestToken should be called first.

Example

See OAuth topic for the example.

See Also

OAuth Class | MailBee Namespace | OAuth.AuthorizeToken Overload List