SessionAuthenticator constructor

SessionAuthenticator({
  1. required String sessionId,
  2. String? cookieName,
})

Creates an authenticator using a Couchbase Sync Gateway login session identifier, and optionally a cookie name (pass null for the default.)

Implementation

SessionAuthenticator({
  required this.sessionId,
  String? cookieName,
}) : cookieName = cookieName ?? _defaultCookieName;