Interface IPac4jProfileUser

  • All Superinterfaces:
    Serializable

    public interface IPac4jProfileUser
    extends Serializable
    Common interface representing a user from a Pac4j UserProfile.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • 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.