Class InitCredentialController

java.lang.Object
ru.foodtechlab.lib.auth.service.api.credential.v1.controllers.InitCredentialController
All Implemented Interfaces:
ru.foodtechlab.lib.auth.service.facade.credential.endpoints.CheckAvailableInitCredentialEndpoint, ru.foodtechlab.lib.auth.service.facade.credential.endpoints.InitCredentialEndpoint, ru.foodtechlab.lib.auth.service.facade.credential.resources.InitCredentialResource

@RestController @Component public class InitCredentialController extends Object implements ru.foodtechlab.lib.auth.service.facade.credential.resources.InitCredentialResource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.rcore.rest.api.commons.response.SuccessApiResponse<Boolean>
     
    com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse>
    init(ru.foodtechlab.lib.auth.service.facade.credential.dto.requests.InitCredentialRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InitCredentialController

      public InitCredentialController()
  • Method Details

    • init

      @PostMapping("/not-secure/api/v1/credentials") public com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse> init(@RequestBody ru.foodtechlab.lib.auth.service.facade.credential.dto.requests.InitCredentialRequest request)
      Specified by:
      init in interface ru.foodtechlab.lib.auth.service.facade.credential.endpoints.InitCredentialEndpoint
    • checkInitAvailable

      @GetMapping("/not-secure/api/v1/credentials/check-available") public com.rcore.rest.api.commons.response.SuccessApiResponse<Boolean> checkInitAvailable()
      Specified by:
      checkInitAvailable in interface ru.foodtechlab.lib.auth.service.facade.credential.endpoints.CheckAvailableInitCredentialEndpoint