简体   繁体   English

如何找到LinkedIn访问令牌的到期时间?

[英]How to find an expiry time of LinkedIn access token?

i am using LinkedIn access token but it's given that it has an expiry time of 60 days. 我正在使用LinkedIn访问令牌,但是它的有效期限为60天。 i have used the code from code samples from linkedin developer forum but i wanted in how many days the access token will expire.can someone help on how to find expiry time of access token. 我已经使用了来自linkedin开发人员论坛的代码示例中的代码,但是我想访问令牌将在多少天内过期。有人可以帮助您查找访问令牌的到期时间。

thanks 谢谢

Linkedin oauth Access tokens have a life span of 60 days. Linkedin oauth Access令牌的使用寿命为60天。

You will get details with getting access token like 您将获得有关获取访问令牌的详细信息,例如

{"expires_in":5184000,"access_token":"AQXdSP_W41_UPs5ioT_t8HESyODB4FqbkJ8LrV_5mff4gPODzOYR"}

The value of parameter expires_in is the number of seconds from now that this access_token will expire in (5184000 seconds is 60 days). 参数expires_in的值此access_token即将到期的秒数(5184000秒是60天)。

For more details :- https://developer.linkedin.com/documents/authentication 有关更多详细信息: -https : //developer.linkedin.com/documents/authentication

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM