Developers

GetExpiration

getExpiration

Usage

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

client.getExpiration();

Response

The response will be an integer with an expiresAt timestamp.

Example

var expiresAt = client.getExpiration();