Click or drag to resize

SessionAuthenticator Class

A class that will authenticate using a session cookie. This can be used for things like Sync Gateway admin created sessions, or implicit authentication flow (e.g. OpenID Connect where the authentication is done already)
Inheritance Hierarchy

Namespace:  Couchbase.Lite.Sync
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
public sealed class SessionAuthenticator : Authenticator

The SessionAuthenticator type exposes the following members.

Constructors
  NameDescription
Public methodSessionAuthenticator(String)
Constructor using the default cookie name for Sync Gateway ('SyncGatewaySession')
Public methodSessionAuthenticator(String, String)
Constructor using the given cookie name
Top
Properties
  NameDescription
Public propertyCookieName
Gets the name of the cookie to store the session in
Public propertySessionID
Gets the session ID to set as the cookie value
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also