Interface IPac4jProfileUser
- All Superinterfaces:
Serializable
Common interface representing a user from a Pac4j
UserProfile.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionorg.pac4j.core.profile.UserProfilebooleanvoidrenew(IAuthWebContext authWebContext) Renews the user profile by re-fetching it from the authentication client.
-
Method Details
-
getPac4jProfile
org.pac4j.core.profile.UserProfile getPac4jProfile()- Returns:
- the pac4j user profile which has been returned from the authentication client.
-
isExpired
boolean isExpired()- Returns:
- true if the user profile is expired, false otherwise.
-
renew
Renews the user profile by re-fetching it from the authentication client. This is typically used to refresh the access token or other profile data.- Parameters:
authWebContext- the authentication web context to use for renewing the profile.
-