Interface Pac4jAuthentication
- All Known Implementing Classes:
Pac4jAuthenticationToken
,Pac4jRememberMeAuthenticationToken
public interface Pac4jAuthentication
Pac4j authentication interface.
- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.pac4j.core.profile.UserProfile
Get the main profile of the authenticated user.List<org.pac4j.core.profile.UserProfile>
Get all the profiles of the authenticated user.
-
Method Details
-
getProfile
default org.pac4j.core.profile.UserProfile getProfile()Get the main profile of the authenticated user.- Returns:
- the main profile
-
getProfiles
List<org.pac4j.core.profile.UserProfile> getProfiles()Get all the profiles of the authenticated user.- Returns:
- the list of profiles
-