MailBee.NET Objects 7.2

SaslMethod.AccountDataIsPassword Method 

Designates if only the password must be set (password-only method).

public virtual bool AccountDataIsPassword();

Return Value

Must return false in case if this authentication method requires login and password, or true is the account name is included in the password (for instance, in case of OAuth method). If RequiresCredentials is false, this method has no effect.

Remarks

In most cases, this method should return false. In OAuth case, the account name is not defined, you only need to supply the account signature which includes multiple parameters (some of which may be treated as the password).

See Also

SaslMethod Class | MailBee Namespace | RequiresCredentials