我正在使用Mule企业版,并努力寻找使用Mule OAuth提供商发布的令牌的默认到期时间。因此,如果我的提供程序配置如下所示,已发布的访问令牌有效期为多久? 12小时/ 24小时或其他什么?
<oauth2-provider:config name="oauth2-provider"
providerName="E2 Provider" resourceOwnerSecurityProvider-ref="boston-security-provider"
scopes="READ WRITE" supportedGrantTypes="RESOURCE_OWNER_PASSWORD_CREDENTIALS"
doc:name="OAuth provider module" port="${auth.port}" enableRefreshToken="true">
<oauth2-provider:clients>
<oauth2-provider:client clientId="${web_client_id}"
secret="${web_client_secret}" type="CONFIDENTIAL" clientName="Web Client"
description="Mobile Client desc">
<oauth2-provider:authorized-grant-types>
<oauth2-provider:authorized-grant-type>PASSWORD</oauth2-provider:authorized-grant-type>
<oauth2-provider:authorized-grant-type>REFRESH_TOKEN</oauth2-provider:authorized-grant-type>
</oauth2-provider:authorized-grant-types>
<oauth2-provider:scopes>
<oauth2-provider:scope>READ</oauth2-provider:scope>
<oauth2-provider:scope>WRITE</oauth2-provider:scope>
</oauth2-provider:scopes>
</oauth2-provider:client>
</oauth2-provider:clients>
</oauth2-provider:config>