interface OauthUserDetailsService extends UserDetailsService
Load users based on a OAuth20Profile
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract OauthUser |
loadUserByUserProfile(org.pac4j.core.profile.UserProfile userProfile, java.util.Collection<GrantedAuthority> defaultRoles)Search for a user based on his OAuth20Profile. |
| Methods inherited from class | Name |
|---|---|
interface UserDetailsService |
loadUserByUsername |
Search for a user based on his OAuth20Profile. Implementations have a chance here to define additional checks, like verifying that user's email domain is valid.
userProfile - user's OAuth profile returned by OAuth provider.