Create a new SessionTokenManager instance. For internal use by CouchdbSessionAuthenticator only.
Configuration options.
Private
optionsProtected
requiredPrivate
tokenProtected
requestRequest a session token using basic credentials.
Private
savePrivate
From the response parse and save session token into field accessToken
.
Calculate expiration and refresh time from the received response
and store them in fields expireTime
and refreshTime
.
Response object from session token request
Only base service specific headers are in use.
the new set of headers as an object
Generated using TypeDoc
Token Manager of CouchDB session token.
The Token Manager performs basic auth with username and password to acquire session tokens.