SessionAuthenticator
public struct SessionAuthenticator: IAuthenticatorThe SessionAuthenticator 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. DeclarationSwift public let sessionID: String
- 
                  
                  Session cookie name that the session ID value will be set to when communicating the Sync Gateaway. DeclarationSwift public let cookieName: String
- 
                  
                  Initializes with the Sync Gateway session ID and uses the default cookie name. DeclarationSwift public init(sessionID: String)ParameterssessionIDSync Gateway session ID. 
- 
                  
                  Initializes with the session ID and the cookie name. If the given cookieName is nil, the default cookie name will be used. DeclarationSwift public init(sessionID: String, cookieName: String?)ParameterssessionIDThe Sync Gateway session ID. cookieNameThe cookie name. 
 SessionAuthenticator Structure Reference
        SessionAuthenticator Structure Reference