Authenticates the user to the Exchange server using an OAuth access token.

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

Syntax

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

Parameters

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also