类 UserInfo
java.lang.Object
org.springframework.security.core.userdetails.User
io.github.lishangbu.orange.oauth2.common.userdetails.UserInfo
- 所有已实现的接口:
- Serializable, org.springframework.security.core.AuthenticatedPrincipal, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails, org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
public class UserInfo
extends org.springframework.security.core.userdetails.User
implements org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
用户信息
- 从以下版本开始:
- 2025/8/9
- 作者:
- lishangbu
- 另请参阅:
- 
嵌套类概要从类继承的嵌套类/接口 org.springframework.security.core.userdetails.Userorg.springframework.security.core.userdetails.User.UserBuilder
- 
构造器概要构造器构造器说明UserInfo(String username, @Nullable String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) UserInfo(String username, @Nullable String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) 
- 
方法概要从类继承的方法 org.springframework.security.core.userdetails.Userbuilder, equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, withDefaultPasswordEncoder, withUserDetails, withUsername从接口继承的方法 org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipalgetAttribute, getAuthorities
- 
构造器详细资料- 
UserInfopublic UserInfo(String username, @Nullable String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) 
- 
UserInfopublic UserInfo(String username, @Nullable String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) 
 
- 
- 
方法详细资料- 
getAttributes
- 
getName- 指定者:
- getName在接口中- org.springframework.security.core.AuthenticatedPrincipal
 
- 
toString- 覆盖:
- toString在类中- org.springframework.security.core.userdetails.User
 
 
-