Use this method to return the client's access token expiration period:
client.getExpiration();
This method does not have any mandatory parameters.
This method does not have any options.
This method returns the stored time of expiration of the token that is currently in use:
{
'expiration': string
}
var expiration = client.getExpiration();