rodolfosalgado_
Jul 22, 2016Altostratus
How BIG-IP Token/Authentication works ?
I'm unable to find anywhere here/documentation/articles anyone that could explain a little bit better the authentication token when you get the response from the Rest.
I'm sending the POST to the Rest, and the Rest is returning the Authentication.
Here is an example:
token : AD2GKZPXKVTE4WKJEQUZTIPOM3
name : AD2GKZPXKVTE4WKJEQUZTIPOM3
userName : admin
authProviderName : tmos
user : ...
groupReferences : ...
timeout : 1200
startTime : 2016-07-22T09:24:11.808-0500
address : 10.10.10.10
partition : [All]
generation : 1
lastUpdateMicros : 1469197451807722
expirationMicros : 1469198651808000
kind : shared:authz:tokens:authtokenitemstate
selfLink : https://localhost/mgmt/shared/authz/tokens/AD2GKZPXKVTE4WKJEQUZTIPOM3
Does anyone knows what is "lastUpdateMicros", "ExpirationMicros" and what is Timeout actually means ? I'm having several issues in my scripts when I call the Rest and the call just fail. If I try to get a new token the call works. I wonder if could be due the token is expired after is used once. Will the token expire only after 1200 seconds or that is not true ?