Class JwtSigningRestTemplateFactory
java.lang.Object
com.atlassian.connect.spring.internal.request.jwt.JwtSigningRestTemplateFactory
A provider of a
RestTemplate
that signs requests to Atlassian hosts with JSON Web Tokens.-
Constructor Summary
ConstructorDescriptionJwtSigningRestTemplateFactory
(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, JwtGenerator jwtGenerator, AtlassianHostUriResolver hostUriResolver, AtlassianConnectSecurityContextHelper securityContextHelper, UserAgentProvider userAgentProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.RestTemplate
org.springframework.web.client.RestTemplate
-
Constructor Details
-
JwtSigningRestTemplateFactory
@Autowired public JwtSigningRestTemplateFactory(org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder, JwtGenerator jwtGenerator, AtlassianHostUriResolver hostUriResolver, AtlassianConnectSecurityContextHelper securityContextHelper, UserAgentProvider userAgentProvider)
-
-
Method Details
-
getJwtRestTemplate
public org.springframework.web.client.RestTemplate getJwtRestTemplate() -
getJwtRestTemplate
-