Table of Contents

Interface IAuthMechanism

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

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 ConnectionConfig
cancellationToken CancellationToken

Returns

Task<byte[]>