Uses of Interface
org.openhab.core.auth.User
-
Uses of User in org.openhab.core.auth
Modifier and TypeClassDescriptionclass
Represents a genericUser
with a set of rolesclass
AUser
sourced from a managedUserProvider
.Modifier and TypeMethodDescriptionUserRegistry.addUserApiToken
(User user, String name, String scope) Adds a new API token to the user profile.void
UserRegistry.addUserSession
(User user, UserSession session) Adds a new session to the user profilevoid
UserRegistry.changePassword
(User user, String newPassword) Change the password for aUser
in this registry.void
UserRegistry.clearSessions
(User user) Clears all sessions from the user profilevoid
UserRegistry.removeUserApiToken
(User user, UserApiToken apiToken) Removes the specified API token from the user profilevoid
UserRegistry.removeUserSession
(User user, UserSession session) Removes the specified session from the user profile