How to autowire this TokenStore
问题 How do I trigger auto-logout of this sample Spring Boot OAuth2 app? I tried adding the following code from an answer to this other posting into a new controller class in the demo package of the authserver app: package demo; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.oauth2.common.OAuth2AccessToken; import org.springframework.security.oauth2.provider.token.TokenStore; import org