Interface SecurityUser
- All Superinterfaces:
SecurityActor,UserIdRelated
- All Known Implementing Classes:
AuthenticatedUser
API for user details.
-
Method Summary
Methods inherited from interface net.solarnetwork.central.security.SecurityActor
isAuthenticatedWithToken
-
Method Details
-
getDisplayName
String getDisplayName()Get a friendly display name.- Returns:
- display name
-
getEmail
String getEmail()Get the email used to authenticate the user with.- Returns:
-
getUserId
Long getUserId()Get a unique user ID.- Specified by:
getUserIdin interfaceUserIdRelated- Returns:
- the user ID
-