Authenticates the user to the IMAP server using an OAuth token.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub Login ( _
	token As String, _
	method As ImapAuthentication _
)
C#
public void Login(
	string token,
	ImapAuthentication method
)

Parameters

token
Type: System..::..String
Authentication token.
method
Type: Rebex.Net..::..ImapAuthentication
Authentication method (only OAuth 2.0 is supported at the moment).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also