public class AuthenticationsRestResource extends Object implements AuthenticationsResource
AuthenticationsRestResource provides an implementation of the inteface
AuthenticationsResource.| Constructor and Description |
|---|
AuthenticationsRestResource() |
| Modifier and Type | Method and Description |
|---|---|
Response |
authenticate(de.alpharogroup.auth.Credentials credentials)
Authenticate a user with the given
Credentials. |
Response |
authenticate(String username,
String password)
Authenticate a user with the given email or username and the given password.
|
public Response authenticate(de.alpharogroup.auth.Credentials credentials)
Credentials.authenticate in interface AuthenticationsResourcecredentials - the credentialspublic Response authenticate(String username, String password)
authenticate in interface AuthenticationsResourceusername - the email or usernamepassword - the passwordResponse objectCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.