CBLSessionAuthenticator
@interface CBLSessionAuthenticator : CBLAuthenticator
The CBLSessionAuthenticator class is an authenticator that will authenticate by using the session ID of the session created by a Sync Gateway.
-
Session ID of the session created by a Sync Gateway.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull sessionID; -
Session expiration date.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSDate *expires; -
Session cookie name that the session ID value will be set to when communicating the Sync Gateaway.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull cookieName; -
Initiallize the CBLSessionAuthenticator with the given session ID, expiration date, and cookie name.
Declaration
Objective-C
- (nonnull instancetype)initWithSessionID:(nonnull NSString *)sessionID expires:(nullable id)expires cookieName:(nonnull NSString *)cookieName;
CBLSessionAuthenticator Class Reference