public class DevTokenService
extends org.springframework.security.oauth2.provider.token.DefaultTokenServices
Constructor and Description |
---|
DevTokenService(io.jmix.core.security.UserRepository userRepository,
SecurityOAuth2Properties oauth2Properties) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.core.Authentication |
buildAuthentication() |
protected org.springframework.security.oauth2.provider.OAuth2Request |
buildRequest() |
org.springframework.security.oauth2.provider.OAuth2Authentication |
loadAuthentication(java.lang.String accessTokenValue) |
afterPropertiesSet, createAccessToken, getAccessToken, getAccessTokenValiditySeconds, getClientId, getRefreshTokenValiditySeconds, isExpired, isSupportRefreshToken, readAccessToken, refreshAccessToken, revokeToken, setAccessTokenValiditySeconds, setAuthenticationManager, setClientDetailsService, setRefreshTokenValiditySeconds, setReuseRefreshToken, setSupportRefreshToken, setTokenEnhancer, setTokenStore
public DevTokenService(io.jmix.core.security.UserRepository userRepository, SecurityOAuth2Properties oauth2Properties)
public org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(java.lang.String accessTokenValue) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException
loadAuthentication
in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
loadAuthentication
in class org.springframework.security.oauth2.provider.token.DefaultTokenServices
org.springframework.security.core.AuthenticationException
org.springframework.security.oauth2.common.exceptions.InvalidTokenException
protected org.springframework.security.oauth2.provider.OAuth2Request buildRequest()
protected org.springframework.security.core.Authentication buildAuthentication()