package com.springboot.cloud.auth.authentication.config;

/*
 **********************************************
 *      DATE           PERSON       REASON
 *    2020/12/7          FXY        Created
 **********************************************
 */

import com.springboot.cloud.common.web.interceptor.FeignBasicAuthRequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InterceptConfig {

    @Bean
    public FeignBasicAuthRequestInterceptor interceptor(){
        return new FeignBasicAuthRequestInterceptor();
    }
}
