ExternalAccountClient

ExternalAccountClient

Dummy class with no constructor. Developers are expected to use fromJSON.

Constructor

new ExternalAccountClient()

Methods

(static) fromJSON(options)

This static method will instantiate the corresponding type of external account credential depending on the underlying credential source.

Parameters:
Name Type Description
options

The external account options object typically loaded from the external account JSON credential file.

Returns:
Type Description

A BaseExternalAccountClient instance or null if the options provided do not correspond to an external account credential.