Click or drag to resize
MimeKit

SaslMechanismChallenge Method (String)

Decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.

Namespace:  MailKit.Security
Assembly:  MailKit (in MailKit.dll) Version: 2.10.0
Syntax
C#
public string Challenge(
	string token
)

Parameters

token
Type: SystemString
The server's base64-encoded challenge token.

Return Value

Type: String
The next base64-encoded challenge response.
Exceptions
ExceptionCondition
InvalidOperationException The SASL mechanism is already authenticated.
NotSupportedException THe SASL mechanism does not support SASL-IR.
SaslException An error has occurred while parsing the server's challenge token.
Remarks
Decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.
See Also