Interface HvlAuthzGoogleAuthenticatorRestService

All Known Implementing Classes:
HvlAuthzGoogleAuthenticatorRestController

@Validated @HvlPublicFeignRestService @FeignClient(name="${hvl.oauth.authz.google-authenticator.service.name:googleAuthenticatorRestService}", path="${hvl.oauth.authz.google-authenticator.service.path:/google-authenticator}", url="${hvl.oauth.authz.google-authenticator.service.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzGoogleAuthenticatorRestService
A restful service which provides specific methods for google authenticator cloud.
  • Method Details

    • getQRCode

      @PostMapping(value="/qr-code", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<String> getQRCode(@NotNull @Valid @RequestBody @NotNull @Valid HvlAuthAuthorizationRequestModel authAuthorizationRequestModel)
      Gets qr code.
      Parameters:
      authAuthorizationRequestModel - the auth authorization request model
      Returns:
      the qr code
    • enableGoogleAuthenticator

      @PostMapping(value="/enable-google-authenticator", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> enableGoogleAuthenticator(@NotNull @Valid @RequestBody @NotNull @Valid HvlAuthAuthorizationRequestModel authAuthorizationRequestModel)
      Enable google authenticator hvl response.
      Parameters:
      authAuthorizationRequestModel - the auth authorization request model
      Returns:
      the hvl response
    • disableGoogleAuthenticator

      @PostMapping(value="/disable-google-authenticator", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> disableGoogleAuthenticator(@NotNull @Valid @RequestBody @NotNull @Valid HvlAuthAuthorizationRequestModel authAuthorizationRequestModel)
      Disable google authenticator hvl response.
      Parameters:
      authAuthorizationRequestModel - the auth authorization request model
      Returns:
      the hvl response