Developers

GetExpiration

Usage

Use this method to return the client's access token expiration period:

client.getExpiration();

Mandatory parameters

This method does not have any mandatory parameters.

Options

This method does not have any options.

Response data format

This method returns the stored time of expiration of the token that is currently in use:

{
    'expiration': string
}

Example

var expiration = client.getExpiration();