| SaslMechanismChallengeAsync(String, CancellationToken) Method |
Asynchronously 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 Task<string> ChallengeAsync(
string token,
CancellationToken cancellationToken = default
)
Parameters
- token String
- The server's base64-encoded challenge token.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskStringThe next base64-encoded challenge response.
Exceptions Remarks
Asynchronously decodes the base64-encoded server challenge and returns the next challenge response encoded in base64.
See Also