Interface HvlAuthAuthenticationService
- All Known Implementing Classes:
HvlAuthJwtAuthenticationServiceImpl
@Validated
public interface HvlAuthAuthenticationService
This service provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptioncompleteLoginWithCode
(@NotNull @Valid HvlAuthVerificationRequestModel verificationRequestModel) The method provides that to be login user's using two factor authenticaiton code.login
(@NotNull @Valid HvlAuthAuthenticationRequestModel authenticationRequestModel) The method provides that user get login the systemvoid
The method provides that to be deleted user's security identity.void
refresh()
The method provides that to be refreshed user's security identity.
-
Method Details
-
login
HvlAuthAuthenticationResponseModel login(@NotNull @Valid @NotNull @Valid HvlAuthAuthenticationRequestModel authenticationRequestModel) The method provides that user get login the system- Parameters:
authenticationRequestModel
- the authentication request model- Returns:
- the authentication response model
-
completeLoginWithCode
@Validated(Validation.class) HvlAuthAuthenticationResponseModel completeLoginWithCode(@NotNull @Valid @NotNull @Valid HvlAuthVerificationRequestModel verificationRequestModel) The method provides that to be login user's using two factor authenticaiton code.- Parameters:
verificationRequestModel
- the verification request model- Returns:
- the authentication response model
-
refresh
void refresh()The method provides that to be refreshed user's security identity. -
logout
The method provides that to be deleted user's security identity.- Parameters:
redirect
- Re-direct url info
-