Class RestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport
java.lang.Object
org.entur.jwt.client.spring.JwtClientBeanDefinitionRegistryPostProcessorSupport<org.springframework.web.client.RestTemplate>
org.entur.jwt.client.spring.classic.RestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport
public class RestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport
extends JwtClientBeanDefinitionRegistryPostProcessorSupport<org.springframework.web.client.RestTemplate>
-
Field Summary
Fields inherited from class org.entur.jwt.client.spring.JwtClientBeanDefinitionRegistryPostProcessorSupport
client, rootProperties -
Constructor Summary
ConstructorsConstructorDescriptionRestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport(org.springframework.web.client.RestTemplate client, SpringJwtClientProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected AccessTokenProvidernewStatefulUrlAccessTokenProvider(org.springframework.web.client.RestTemplate client, URL issueURL, Map<String, Object> parameters, Map<String, Object> headers, URL refreshUrl, URL revokeUrl, ClientCredentials credentials) protected AccessTokenProvidernewUrlAccessTokenProvider(org.springframework.web.client.RestTemplate client, URL issueURL, Map<String, Object> parameters, Map<String, Object> headers, ClientCredentials credentials) Methods inherited from class org.entur.jwt.client.spring.JwtClientBeanDefinitionRegistryPostProcessorSupport
newAuth0Instance, newGenericInstance, newKeycloakInstance
-
Constructor Details
-
RestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport
public RestTemplateJwtClientBeanDefinitionRegistryPostProcessorSupport(org.springframework.web.client.RestTemplate client, SpringJwtClientProperties properties)
-
-
Method Details
-
newUrlAccessTokenProvider
protected AccessTokenProvider newUrlAccessTokenProvider(org.springframework.web.client.RestTemplate client, URL issueURL, Map<String, Object> parameters, Map<String, Object> headers, ClientCredentials credentials) - Specified by:
newUrlAccessTokenProviderin classJwtClientBeanDefinitionRegistryPostProcessorSupport<org.springframework.web.client.RestTemplate>
-
newStatefulUrlAccessTokenProvider
protected AccessTokenProvider newStatefulUrlAccessTokenProvider(org.springframework.web.client.RestTemplate client, URL issueURL, Map<String, Object> parameters, Map<String, Object> headers, URL refreshUrl, URL revokeUrl, ClientCredentials credentials) - Specified by:
newStatefulUrlAccessTokenProviderin classJwtClientBeanDefinitionRegistryPostProcessorSupport<org.springframework.web.client.RestTemplate>
-