top.cutexingluo.tools.security.base.TokenExtractor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xingtools-pkg-jdk8 Show documentation
Show all versions of xingtools-pkg-jdk8 Show documentation
xingtools 依赖core包,jdk 分类包,对不同的jdk版本提供兼容性
The newest version!
package top.cutexingluo.tools.security.base;
import org.springframework.security.core.Authentication;
import javax.servlet.http.HttpServletRequest;
/**
* TokenExtractor
* oauth2 移植接口
*
* 未来将被移除,请使用 cloud 包里面的类
*
* @author XingTian
* @version 1.0.0
* @date 2024/7/16 14:59
* @since 1.1.1
*/
@Deprecated
public interface TokenExtractor {
/**
* Extract a token value from an incoming request without authentication.
*/
Authentication extract(HttpServletRequest request);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy