| SaslMechanismOAuthBearerChallenge(Byte, Int32, Int32, CancellationToken) Method |
Parse the server's challenge token and return the next challenge response.
Namespace: MailKit.SecurityAssembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax protected override byte[] Challenge(
byte[] token,
int startIndex,
int length,
CancellationToken cancellationToken
)
Parameters
- token Byte
- The server's challenge token.
- startIndex Int32
- The index into the token specifying where the server's challenge begins.
- length Int32
- The length of the server's challenge.
- cancellationToken CancellationToken
- The cancellation token.
Return Value
ByteThe next challenge response.
Exceptions Remarks
Parses the server's challenge token and returns the next challenge response.
See Also