[英]How long does Microsoft Office Graph API refresh token lives?
We've configured an AAD multi-tenant app and we are aquiring tokens from following endpoint: https://login.microsoftonline.com/common/oauth2/v2.0/token using the code we've got from user authorisation.我们已经配置了一个 AAD 多租户应用程序,我们正在使用从用户授权获得的代码从以下端点获取令牌: https://login.microsoftonline.com/common/oauth2/v2.0/token 。
Endpoint provides no information about the refresh token lifetime.端点不提供有关刷新令牌生命周期的信息。
This document states it should always have a default value of 90 days: https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes#refresh-and-session-token-lifetime-policy-properties本文档声明它应始终具有 90 天的默认值: https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes#refresh-and-会话令牌生命周期策略属性
Is it always 90 days, can we be sure it'll live that long or it still depends on the user's organization configuration?它总是 90 天吗,我们可以确定它会存在那么久还是仍然取决于用户的组织配置?
Yes, per the document unless you specify otherwise via conditional access the token lifetime is 90 days.是的,除非您通过条件访问另行指定,否则根据文档,令牌的生命周期为 90 天。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.