Interface IAuthMechanism
A pluggable authentication mechanism.
public interface IAuthMechanism
Methods
HandleChallengeAsync(byte[]?, ConnectionConfig, CancellationToken)
Handle one round of challenge-response.
Task<byte[]> HandleChallengeAsync(byte[]? challenge, ConnectionConfig config, CancellationToken cancellationToken = default)
Parameters
challenge
byte[]config
ConnectionConfigcancellationToken
CancellationToken