Package com.unosquare.carmigo.service
Class AuthenticationService
java.lang.Object
com.unosquare.carmigo.service.AuthenticationService
Handles authentication requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthenticationToken(AuthenticationRequest authenticationRequest) Creates an authentication token.
-
Constructor Details
-
AuthenticationService
public AuthenticationService()
-
-
Method Details
-
createAuthenticationToken
public AuthenticationResponse createAuthenticationToken(AuthenticationRequest authenticationRequest) Creates an authentication token.- Parameters:
authenticationRequest- the requirements asAuthenticationRequest.- Returns:
- a
AuthenticationResponse.
-