use of org.springframework.security.oauth2.provider.endpoint.CheckTokenEndpoint in project spring-security-oauth by spring-projects.
the class AuthorizationServerEndpointsConfiguration method checkTokenEndpoint.
@Bean
public CheckTokenEndpoint checkTokenEndpoint() {
CheckTokenEndpoint endpoint = new CheckTokenEndpoint(getEndpointsConfigurer().getResourceServerTokenServices());
endpoint.setAccessTokenConverter(getEndpointsConfigurer().getAccessTokenConverter());
endpoint.setExceptionTranslator(exceptionTranslator());
return endpoint;
}
Aggregations