albis.getAlbisToken - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki
albis.getAlbisToken() ⇒ ResponseGetAlbisToken
getAlbisToken() returns albisToken needed to call other Albis functions
Kind: instance method of Albis
Returns: ResponseGetAlbisToken - response object
Example
Albis.getAlbisToken()Kind: global typedef
Properties
| Name | Type | Description |
|---|---|---|
| albisToken.token | string |
token used for user authorisation |
| albisToken.scope | string |
shows users access |
| albisToken.token_type | string |
token type |
| albisToken.expires_in_Auth0 | number |
how long the token will be valid (number of seconds) |
| albisToken.expires | number |
how long the token will be valid (Unix time stamp) |