Interface Pac4jAuthentication
-
- All Known Implementing Classes:
Pac4jAuthenticationToken
,Pac4jRememberMeAuthenticationToken
public interface Pac4jAuthentication
Pac4j authentication interface.- Since:
- 2.0.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.pac4j.core.profile.UserProfile
getProfile()
Get the main profile of the authenticated user.List<org.pac4j.core.profile.UserProfile>
getProfiles()
Get all the profiles of the authenticated user.
-
-
-
Method Detail
-
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
-
-