简体   繁体   English

Microsoft Office Graph API 刷新令牌的有效期有多长?

[英]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.

相关问题 如何刷新 Microsoft Graph 访问令牌 - How To Refresh Microsoft Graph Access Token 如何在没有企业应用程序客户端密钥的情况下刷新 Microsoft Graph API 的令牌? - How to refresh the token of Microsoft Graph API without Client Secret for an Enterprise App? 如何使用 Microsoft Graph 为 Java 缓存令牌 - How to cache token with Microsoft Graph for Java 如何获取委托权限的令牌(Microsoft Graph) - How to acquire token for delegated permissions (microsoft graph) Microsoft Graph API 角色声明未在令牌中但已添加应用程序权限 - Microsoft Graph API roles claim not in token but Application permissions added 访问令牌验证失败。 观众无效,office 365 Graph API - Access token validation failure. Invalid audience, office 365 Graph API 无法使用 Microsoft graph API 和 Java Spring 获取带有授权码的令牌 - Failed to acquire token with authorization code using Microsoft graph API with Java Spring Microsoft Graph:我是否可以(重新)使用 AAD 转发的用户 Bearer Token 以便对 Graph API 进行“委托”调用? - Microsoft Graph: Can I (re)use the user's Bearer Token forwarded by AAD in order to make "delegated" calls to the Graph API? Microsoft Graph API 应用程序 Collections - Microsoft Graph API Application Collections 您如何使用 Microsoft Identity 和 Azure AD 处理身份验证和令牌刷新 - How do you handle authentication and token refresh with Microsoft Identity and Azure AD
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM