Environment-specific options
Protected_Holds the Storage instance associated with this instance
Environment-specific options
Security-related methods
Base64 to ASCII string
The base64 encoded string
Decodes a Base64 URL encoded string
The Base64 URL encoded string
The decoded string
Encodes a string or Uint8Array to Base64 URL format
The input string or Uint8Array
The Base64 URL encoded string
ASCII string to Base64
The ascii string
Returns the protocol of the current request ("http" or "https")
Creates and returns adapter-aware SMART api. Not that while the shape of the returned object is well known, the arguments to this function are not. Those who override this method are free to require any environment-specific arguments. For example in node we will need a request, a response and optionally a storage or storage factory function.
Returns a ServerStorage instance
Given the current environment, this method must return the current url as URL instance. In Node we might be behind a proxy!
Given the current environment, this method must redirect to the given path
The path to redirect to
Given a relative path, returns an absolute url using the instance base URL
The path to convert to absolute
Node Adapter - works with native NodeJS and with Express