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-b0295
Syntax
C#
public sealed class SessionAuthenticator : Authenticator

The SessionAuthenticator type exposes the following members.

Constructors
  NameDescription
Public methodSessionAuthenticator
Constructor
Top
Properties
  NameDescription
Public propertyCookieName
Gets the name of the cookie to store the session in
Public propertyExpires
Gets the optional expiration date for this session
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