Global

Members

AGENTS[undefined]

Source:

Credentials :class

A string containing the time the token token was issued.

Source:
Type:
  • class

FMS_API_CLIENT

Source:

Methods

(private) interceptError(error) → {Promise}

This method evaluates the error response. This method will substitute a non json error or a bad gateway status with a json code and message error. This method will add an expired property to the error response if it recieves a invalid token response.

Source:
Parameters:
Name Type Description
error Object

The error recieved from the requested resource.

Returns:
Type:
Promise

A promise rejection containing a code and a message

preInit(data)

The preInit method is called on creation of the connection. On creation this preInit will create a credential embedded document.

Source:
See:
  • [marpat]https://github.com/Luidog/marpat

Parameters:
Name Type Description
data Object

The data used to create the connection.

Name Type Description
user String

The FileMaker user account to use when creating connections.

password String

The FileMaker user account password.