 | Pop3LoginOAUTH2 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.POP3Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic void LoginOAUTH2(
string user,
string accessToken
)
Public Sub LoginOAUTH2 (
user As String,
accessToken As String
)
public:
void LoginOAUTH2(
String^ user,
String^ accessToken
)
member LoginOAUTH2 :
user : string *
accessToken : string -> unit Parameters
- user String
- User's login (email address).
- accessToken String
- OAuth 2.0 access token.
Exceptions
See AlsoReference
LoginOAUTH2(String, String)