| SaslMechanismChallenge(String, CancellationToken) Method |
Decode the base64-encoded server challenge and return the next challenge response encoded in base64.
Namespace: MailKit.SecurityAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax public string Challenge(
string token,
CancellationToken cancellationToken = default
)
Parameters
- token String
- The server's base64-encoded challenge token.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
StringThe next base64-encoded challenge response.
Exceptions Remarks
Decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.
See Also