@Service public class AuthenticationService extends Object
| Constructor and Description |
|---|
AuthenticationService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateUsingEmailToken(String email,
String emailToken) |
boolean |
authenticateUsingPassword(String email,
String password) |
boolean |
authenticateUsingSmsCode(String phone,
String smsCode) |
public boolean authenticateUsingSmsCode(String phone, String smsCode) throws UnauthorizedException
UnauthorizedExceptionpublic boolean authenticateUsingEmailToken(String email, String emailToken) throws UnauthorizedException
UnauthorizedExceptionpublic boolean authenticateUsingPassword(String email, String password) throws UnauthorizedException
UnauthorizedExceptionCopyright © 2019. All rights reserved.