Interface FeignCredentialServiceClient


  • @FeignClient(name="feign-credential-service",
                 url="${foodtechlab.infrastructure.microservice.auth-service.url}",
                 configuration=FeignAuthServiceCredentialConfig.class)
    public interface FeignCredentialServiceClient
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse> findCredentialById​(String id)  
      com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse> getCredentialByToken​(String accessToken)  
    • Method Detail

      • getCredentialByToken

        @GetMapping("/not-secure/api/v1/security/current-user")
        com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse> getCredentialByToken​(@RequestParam("token")
                                                                                                                                                                        String accessToken)
      • findCredentialById

        @GetMapping("/api/v1/credentials/{id}")
        com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.credential.dto.responses.CredentialResponse> findCredentialById​(@PathVariable("id")
                                                                                                                                                                      String id)