MailKit Documentation
MailKit Documentation
API Reference
MailKit.Security
SaslMechanismOAuth2 Class
SaslMechanismOAuth2 Constructor
SaslMechanismOAuth2(NetworkCredential) Constructor
SaslMechanismOAuth2(String, String) Constructor
Sasl
Mechanism
OAuth
2(Network
Credential) Constructor
Initializes a new instance of the
SaslMechanismOAuth2
class.
Namespace:
MailKit.Security
Assembly:
MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
SaslMechanismOAuth2
(
NetworkCredential
credentials
)
Parameters
credentials
NetworkCredential
The user's credentials.
Exceptions
Exception
Condition
ArgumentNullException
credentials
is
null
.
Remarks
Creates a new XOAUTH2 SASL context.
See Also
Reference
SaslMechanismOAuth2 Class
SaslMechanismOAuth2 Overload
MailKit.Security Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast