Initializes a new instance of
OAuth object with a consumer key pair.
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public OAuth(
string consumerKey,
string consumerSecret
)
Public Sub New (
consumerKey As String,
consumerSecret As String
)
Parameters
- consumerKey
- Type: SystemString
A string value with a consumer public key. - consumerSecret
- Type: SystemString
A string value with a consumer secret key.
Exceptions Remarks For GMail 3-legged IMAP/SMTP OAuth you can use "anonymous", "anonymous" key pair or
get a registered site for an e-mail account and specify the keys from Google
"Registration for Web Applications" page.
For GMail 2-legged OAuth you should register and get key pair from Google.
See Also