Module: authentication-types-dal

Methods

(static) changeActive(protocol, idp, active) → {Promise.<(Object|Error)>}

Changes the active bit of the specified authentication
Parameters:
Name Type Description
protocol string
idp string
active int
Source:
Returns:
Type
Promise.<(Object|Error)>

(static) get() → {Promise.<(Object|Error)>}

Returns all existing authentication types.
Source:
Returns:
Type
Promise.<(Object|Error)>

(static) getActive() → {Promise.<(Object|Error)>}

Returns all active authentication types.
Source:
Returns:
Type
Promise.<(Object|Error)>

(static) getByName(protocol, idp) → {*}

Returns the specified authentication type if it is currently active
Parameters:
Name Type Description
protocol string
idp string
Source:
Returns:
Type
*