Table of Contents

Property AuthCredCallback

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

AuthCredCallback

Callback to provide NATS authentication credentials. When specified, value of NatsAuthCred will take precedence over other authentication options. Note that, default value of NatsAuthCred should not be returned as the behavior is not defined.

public Func<Uri, CancellationToken, ValueTask<NatsAuthCred>>? AuthCredCallback { get; init; }

Property Value

Func<Uri, CancellationToken, ValueTask<NatsAuthCred>>