Interface HvlAuthAuthenticationService

All Known Implementing Classes:
HvlAuthJwtAuthenticationServiceImpl

@Validated public interface HvlAuthAuthenticationService
This service provides operational methods.
  • 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

      void logout(String redirect)
      The method provides that to be deleted user's security identity.
      Parameters:
      redirect - Re-direct url info
    • getCaptchaImageString

      String getCaptchaImageString()
      Gets captcha image string.
      Returns:
      the captcha image string