Package org.forgerock.oauth.clients.oidc
Class OpenIDConnectSessionInfo
java.lang.Object
org.forgerock.oauth.clients.oauth2.OAuth2SessionInfo
org.forgerock.oauth.clients.oidc.OpenIDConnectSessionInfo
- All Implemented Interfaces:
- SessionInfo
OpenIDSessionInfo object used to determine if the access token or id token expiry time has passed and to determine
 if a session is still active.
- 
Field SummaryFields inherited from class org.forgerock.oauth.clients.oauth2.OAuth2SessionInfoclock, expireTime
- 
Constructor SummaryConstructorsConstructorDescriptionOpenIDConnectSessionInfo(Clock clock, DataStore dataStore, JwtClaimsSet jwtClaimsSet) Constructs a OpenIDConnectSessionInfo object.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the claims set associated with a user session.Returns the id_token associated with a user session.booleanisActive()Returns the status of the auth server session.Methods inherited from class org.forgerock.oauth.clients.oauth2.OAuth2SessionInfogetExpireTime
- 
Constructor Details- 
OpenIDConnectSessionInfopublic OpenIDConnectSessionInfo(Clock clock, DataStore dataStore, JwtClaimsSet jwtClaimsSet) throws OAuthException Constructs a OpenIDConnectSessionInfo object.- Parameters:
- clock- clock.
- dataStore- data store implementation used to retrieve session information from.
- jwtClaimsSet- claim set from the jwt id token.
- Throws:
- OAuthException- when there is an issue retrieving user information.
 
 
- 
- 
Method Details- 
isActivepublic boolean isActive()Description copied from interface:SessionInfoReturns the status of the auth server session.- Specified by:
- isActivein interface- SessionInfo
- Overrides:
- isActivein class- OAuth2SessionInfo
- Returns:
- true if the session is still valid; false otherwise.
 
- 
getClaimSetReturns the claims set associated with a user session.- Returns:
- jwt claims set.
 
- 
getIdTokenReturns the id_token associated with a user session.- Returns:
- id token.
 
 
-