Reputation: 529
I am writing a JWTAccessTokenBuilder for wso2is based on the msf4j. Now I want to use the user access token expiry time configured for a specific service provider and not the global configured time, which can be accessed with getApplicationAccessTokenValidityPeriodInSeconds(). Is there a way to get the time for the service provider by API?
Upvotes: 0
Views: 57
Reputation: 529
I found the soloution OAuth2Util.getAuthzRequestContext().getValidityPeriod() The result is in milliseconds.
Upvotes: 1