Property AuthCredCallback
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; }