0


Is there a way to change the validity period of a refresh token within Windows Azure Access Control Service. Based on the following article, refresh tokens last a year but I cannot find a way to change that, either on the portal or via the management service. I am aware of the token time out when crating a relying party application but this, as I understand it, refers to the time out of the access token not the refresh token. Any help would be greatly appreciated.

Many Thanks,
User1426145

4

1 回答 1

1

使用 OAuth 2.0,刷新令牌会随之发送到期时间,如您在上述情况下所描述的,该限制约为一年。刷新令牌一旦发出,您就无法更改其有效期,因此您有两种选择来维持它的活动状态。尝试跟踪其有效性或遇到 INVALID_TOKEN 错误时,您可以调用相同的刷新令牌服务以再次接收全新的刷新令牌。

于 2012-08-16T18:21:59.450 回答