Package de.xima.fc.interfaces.user
Interface IPac4jProfileUser
-
- All Superinterfaces:
Serializable
public interface IPac4jProfileUser extends Serializable
Common interface representing a user from a Pac4jUserProfile
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.pac4j.core.profile.UserProfile
getPac4jProfile()
boolean
isExpired()
void
renew(IAuthWebContext authWebContext)
Renews the user profile by re-fetching it from the authentication client.
-
-
-
Method Detail
-
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
void renew(IAuthWebContext authWebContext)
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.
-
-