Interface WingsUserDetails
-
- All Implemented Interfaces:
-
java.io.Serializable,org.springframework.security.core.userdetails.UserDetails
public interface WingsUserDetails implements UserDetails- Since:
2019-11-27
trydofor
-
-
Method Summary
Modifier and Type Method Description abstract longgetUserId()user id abstract LocalegetLocale()locale for i18n abstract ZoneIdgetZoneId()zoneid for time abstract Enum<out Object>getAuthType()auth type for auth StringgetNickname()nickname to show, unlike username for auth StringgetPasssalt()password salting booleanisPreAuthed()-
Methods inherited from class org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUserId
abstract long getUserId()
user id
-
getAuthType
abstract Enum<out Object> getAuthType()
auth type for auth
-
getNickname
String getNickname()
nickname to show, unlike username for auth
- Returns:
use username by default
-
getPasssalt
String getPasssalt()
password salting
- Returns:
empty by default.
-
isPreAuthed
boolean isPreAuthed()
-
-
-
-