| Pop3LoginOAUTH2Async Method |
Logs user in using AUTHENTICATE XOAUTH2 command. This method does NOT send the password.
You can use
DotNetOpenAuth to create the key.
You can check which authentication methods remote server supports using
SupportedAuthenticationMethods method.
Namespace:
Limilabs.Client.POP3
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task LoginOAUTH2Async(
string user,
string accessToken
)
Public Function LoginOAUTH2Async (
user As String,
accessToken As String
) As Task
public:
Task^ LoginOAUTH2Async(
String^ user,
String^ accessToken
)
member LoginOAUTH2Async :
user : string *
accessToken : string -> Task
Parameters
- user
- Type: SystemString
User's login (email address). - accessToken
- Type: SystemString
OAuth 2.0 access token.
Return Value
Type:
TaskA task that represents the asynchronous login operation.
Exceptions See Also