Package io.openems.edge.common.user
Interface UserService
- All Known Implementing Classes:
DummyUserService
,UserServiceImpl
public interface UserService
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(String password) Authenticates a user with his password.authenticate
(String username, String password) Authenticates a user with his username and password.
-
Method Details
-
authenticate
Authenticates a user with his password.- Parameters:
password
- the password- Returns:
- the authenticated User or Empty if authentication failed
-
authenticate
Authenticates a user with his username and password.- Parameters:
username
- the usernamepassword
- the password- Returns:
- the authenticated User or Empty if authentication failed
-