Module: caf_cli/TokenFactory

Creates authentication tokens for a node.js client.

See tokenFactoryOptionsType in file types.js for the security properties in sessionOptionsType.

Source:

Methods

newToken(msg, cb)

Negotiates a new authentication token.

Parameters:
Name Type Description
msg msgType

A notAuthenticated error message.

cb cbType

A callback to return the new token or an error.

Source:

TokenFactory(options)

Constructor.

Parameters:
Name Type Description
options sessionOptionsType

Extended properties.

Source: