MailBee.NET Objects 7.2

SaslMethod.RequiresCredentials Method 

Designates whether or not the implemented SASL mechanism can operate without user credentials passed in AccountName and Password property values.

public virtual bool RequiresCredentials();

Return Value

By default, returns true.

Remarks

The developer should override this method if the implemented SASL mechanism can obtain credentials in some other way when they are not supplied by the caller. For instance, MailBee NTLM implementation can get the credentials from the operating system.

Note   If AccountDataIsPassword is false, this designates Password must be a null reference (Nothing in Visual Basic). For instance, OAuth authentication method requires this.

See Also

SaslMethod Class | MailBee Namespace | AccountDataIsPassword