@CompileStatic class OauthUser extends User implements java.io.Serializable
A UserDetails implementation that holds the org.pac4j.core.profile.CommonProfile returned by the OAuth provider
| Type | Name and description |
|---|---|
org.pac4j.core.profile.CommonProfile |
userProfile |
| Constructor and description |
|---|
OauthUser(java.lang.String username, java.lang.String password, java.util.Collection<? extends GrantedAuthority> authorities) |
OauthUser(java.lang.String username, java.lang.String password, java.util.Collection<? extends GrantedAuthority> authorities, org.pac4j.core.profile.UserProfile userProfile) |
| Methods inherited from class | Name |
|---|---|
class User |
builder, equals, eraseCredentials, getAuthorities, getClass, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, notify, notifyAll, toString, wait, wait, wait, withDefaultPasswordEncoder, withUserDetails, withUsername |