OAuthGetXOAuthKey Method (String, StringDictionary) |
Fetches XOAuth key from the specified URI passing extra parameters in that URI.
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string GetXOAuthKey(
string uri,
StringDictionary parameters
)
Public Function GetXOAuthKey (
uri As String,
parameters As StringDictionary
) As String
Parameters
- uri
- Type: SystemString
A URI for producing XOAuth key string. - parameters
- Type: System.Collections.SpecializedStringDictionary
A StringDictionary object with parameters list.
Return Value
Type:
StringA string with the URI for XOAuth authentication process for IMAP/SMTP.
Exceptions Remarks The return value of this method is what you then supply as a password when calling Login
method of IMAP or SMTP component. Moreover, this value can be used not only with MailBee, you can pass it
as OAuth key to any implementation of XOAUTH authentication.
Examples See
OAuth topic for the example.
See Also