NodeConnectionAuthenticator constructor

NodeConnectionAuthenticator({
  1. required Authenticator authenticator,
  2. ChallengeMinter? challenges,
  3. AuthAuditSink? onRejected,
  4. Duration timeout = const Duration(seconds: 10),
})

Creates a connection authenticator.

Implementation

NodeConnectionAuthenticator({
  required this.authenticator,
  ChallengeMinter? challenges,
  this.onRejected,
  this.timeout = const Duration(seconds: 10),
}) : challenges = challenges ?? ChallengeMinter();