Click or drag to resize
MimeKit

SaslMechanismOAuthBearer(NetworkCredential) Constructor

Initializes a new instance of the SaslMechanismOAuthBearer class.

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public SaslMechanismOAuthBearer(
	NetworkCredential credentials
)

Parameters

credentials  NetworkCredential
The user's credentials.
Exceptions
ExceptionCondition
ArgumentNullExceptioncredentials is null.
Remarks
Creates a new OAUTHBEARER SASL context.
See Also