public interface BaseAuthenticationsService extends Serializable
| Modifier and Type | Method and Description |
|---|---|
default de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> |
authenticate(String emailOrUsername,
String password)
Perform the authentication with the given email and password and return the result.
|
default de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> |
authorize(de.alpharogroup.user.entities.Users user,
String password,
de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> authenticationResult)
Authorize given Users object.
|
BaseUsersService |
getUsersService() |
String |
newAuthenticationToken(String username) |
default de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> authenticate(String emailOrUsername, String password)
emailOrUsername - the email or the user name of the Users object.password - the passwordAuthenticationResult objectdefault de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> authorize(de.alpharogroup.user.entities.Users user,
String password,
de.alpharogroup.auth.models.AuthenticationResult<de.alpharogroup.user.entities.Users,de.alpharogroup.auth.models.AuthenticationErrors> authenticationResult)
user - the userpassword - the passwordauthenticationResult - the authentication resultBaseUsersService getUsersService()
Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.