| ImapLoginOAUTHAsync Method |
Logs user in using AUTHENTICATE XOAUTH command. This method does NOT send the password.
You can use
OAuth class to create the key.
You can check which authentication methods remote server supports using
Capabilities and then
AuthenticationMethods method.
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task LoginOAUTHAsync(
string key
)
Public Function LoginOAUTHAsync (
key As String
) As Task
public:
Task^ LoginOAUTHAsync(
String^ key
)
member LoginOAUTHAsync :
key : string -> Task
Parameters
- key
- Type: SystemString
XOAuth key. The key will be encoded using BASE64. You can use GetXOAuthKey method to create this key.
Return Value
Type:
TaskA task that represents the asynchronous login operation.
Exceptions See Also