csbrogi
csbrogi

Reputation: 529

MSF4J: wso2 access service provider User Access Token Expiry Time

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

Answers (1)

csbrogi
csbrogi

Reputation: 529

I found the soloution OAuth2Util.getAuthzRequestContext().getValidityPeriod() The result is in milliseconds.

Upvotes: 1

Related Questions