org.mountcloud.springcloud.common.oauth2feigh.EnableOAuth2FeighClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-common-oauth-feigh Show documentation
Show all versions of spring-cloud-common-oauth-feigh Show documentation
This project encapsulates the necessary functions of the oauth resource service, and encapsulates the oauth function of the weight client.
The newest version!
package org.mountcloud.springcloud.common.oauth2feigh;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.mountcloud.springcloud.common.oauth2feigh.config.Oauth2FeighClientConfig;
import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;
/**
* @author zhanghaishan
* @version V1.0
* TODO: 开启具有Oauth2的Feigh客户端
* 2020年1月8日.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableOAuth2Client
@Import(Oauth2FeighClientConfig.class)
public @interface EnableOAuth2FeighClient {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy