public final class SessionAuthenticator extends Authenticator
| Constructor and Description |
|---|
SessionAuthenticator(String sessionID)
Initializes with the Sync Gateway session ID and uses the default cookie name.
|
SessionAuthenticator(String sessionID,
String cookieName)
Initializes with the session ID and the cookie name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCookieName()
Return session cookie name that the session ID value will be set to when communicating
the Sync Gateaway.
|
String |
getSessionID()
Return session ID of the session created by a Sync Gateway.
|
public SessionAuthenticator(String sessionID)
sessionID - Sync Gateway session ID