matrix.business.oauth2.service.TokenEnhanceService Maven / Gradle / Ivy
package matrix.business.oauth2.service;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.security.oauth2.provider.OAuth2Authentication;
/**
* token增强器
* @author wangcheng
* 2021/9/3
**/
public interface TokenEnhanceService {
void enhance(OAuth2AccessToken accessToken, OAuth2Authentication authentication);
}