Class FeignRefreshTokenServiceErrorDecoder

java.lang.Object
ru.foodtechlab.lib.auth.integration.restapi.feign.commons.AuthorizationErrorDecoder
ru.foodtechlab.lib.auth.interation.restapi.feign.refreshToken.FeignRefreshTokenServiceErrorDecoder
All Implemented Interfaces:
feign.codec.ErrorDecoder

public class FeignRefreshTokenServiceErrorDecoder extends AuthorizationErrorDecoder
  • Constructor Details

    • FeignRefreshTokenServiceErrorDecoder

      public FeignRefreshTokenServiceErrorDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, AccessTokenService accessTokenService)
  • Method Details

    • decode

      public Exception decode(io.foodtechlab.exceptionhandler.core.ErrorApiResponse<io.foodtechlab.exceptionhandler.core.Error> errorApiResponse)
      Overrides:
      decode in class AuthorizationErrorDecoder