Authentication

Authentication

Utility to initialize authentication.

Methods

(static) createFromJson(jsonString) → {Authentication}

Creates an Authentication instance on the basis of auth credentials provided in JSON format.

Parameters:
Name Type Description
jsonString string

A JSON string representation of authentication credentials. The string must be the value of the 'identity' key in the shared JSON config file.

Returns:

A new Authentication instance.

Type
Authentication