Creates an instance of AbstractSession.
Logging object
Regex to extract basic from base64 encoded auth
Basic auth prefix
Bearer auth prefix
Default base path. Our empty string means that we do not use an API mediation layer base path at the beginning of every resource URL.
Default https port 443
Default http port 80
Default https port
Default protocol
Default reject unauthorized
Default SSL method
Default strict ssl setting
Default session type
https protocol
http protocol
Session type property value for no authentication
Session type property value for bearer token authentication
Session type property value for no authentication
Session type property value for cookie token authentication, which uses a named token type.
Obtain session info and defaults
Method to parse the requested token type
cookie object from http(s) response
Create base 64 encoded representation of user and password
plain text user
plain text password
Obtain password from a base 64 credential
base 64 encoded credentials
Obtain user name from a base 64 credential
base 64 encoded credentials
Generated using TypeDoc
The API session object, serves as the base for sessions and contains the fields that are required by most API calls (hostname, port, credentials, etc).