Class

AdmAuth

AdmAuth()

---------------------------------------------------------------------------------------------- Class AdmAuth - Authentification Module ----------------------------------------------------------------------------------------------
Constructor

# new AdmAuth()

Create an adamantium authentification instance.

View Source auth/AdmAuth.js, line 15

Methods

# async getAccess() → {object}

Get API access

View Source auth/AdmAuth.js, line 33

auth data
object

# getAuth() → {object}

Get auth data.

View Source auth/AdmAuth.js, line 45

auth data
object

# logout()

Funtion for logging out.

View Source auth/AdmAuth.js, line 75

# setAuth(token, data)

Set auth data.
Parameters:
Name Type Default Description
token string null authentification token
data object null authentification data

View Source auth/AdmAuth.js, line 58