A new Auth class property btoken_expires_at that will be set at the same time retrieve_token() is called.
A new Auth class method getTokenExpiresAt().
A new Fancourier class method getTokenExpiresAt().
Sadly, their expiresAt is a bit vague since it's not your typical json date format that includes timezone information ( eg. 2012-12-25T16:30:00.000000Z. It's just a Y-m-d H:i:s format which I did note down in the code. My guess the timezone is Europe\Bucharest.
They added a new field on the Auth request that specifies when the returned token will expire on.
Therefore I added the following:
btoken_expires_at
that will be set at the same timeretrieve_token()
is called.getTokenExpiresAt()
.getTokenExpiresAt()
.Sadly, their expiresAt is a bit vague since it's not your typical json date format that includes timezone information ( eg.
2012-12-25T16:30:00.000000Z
. It's just aY-m-d H:i:s
format which I did note down in the code. My guess the timezone is Europe\Bucharest.