令牌到期时间 - IBM MF8 中的身份验证安全检查

Token Expiration time - Authentication Security Check in IBM MF8

我想知道当我访问一组用于安全检查的资源时,访问令牌过期是如何工作的。

我正在使用 userLogin SecurityCheck - "accessSecure"

@OAuthSecurity(scope="accessSecure")

我正在使用它来验证相同或不同适配器中的 4 个资源。

.../getDate
.../getValue
.../getType
.../getRules

我将令牌到期时间设置为 7200。

这个过期时间是怎么计算的?是不是我可以在 7200 毫秒内访问所有这些资源。 7200 毫秒后发生超时。

或者说是不是像我每次访问一个资源,从那时候开始算7200毫秒。

您建议的第一个选项是正确的:

Is it like within 7200 ms I can access all these resources. After 7200 ms time out happens.

一旦您获得了访问令牌,就会计算过期时间。一旦达到,它就会过期。