Class OAuth2FeignRequestInterceptorBuilder

java.lang.Object
org.springframework.cloud.openfeign.security.OAuth2FeignRequestInterceptorBuilder

@Deprecated public class OAuth2FeignRequestInterceptorBuilder extends Object
Deprecated.
since spring-security-oauth2 reached EOL
Allows to customize pre-defined OAuth2FeignRequestInterceptor using configurer beans of class OAuth2FeignRequestInterceptorConfigurer. Each configurer instance can add AccessTokenProvider new ClientHttpRequestInterceptor instances.
Since:
3.1.1
Author:
Wojciech MÄ…ka
  • Constructor Details

    • OAuth2FeignRequestInterceptorBuilder

      public OAuth2FeignRequestInterceptorBuilder()
      Deprecated.
  • Method Details

    • withAccessTokenProviderInterceptors

      public OAuth2FeignRequestInterceptorBuilder withAccessTokenProviderInterceptors(org.springframework.http.client.ClientHttpRequestInterceptor... interceptors)
      Deprecated.
    • buildWithConfigurers

      public static OAuth2FeignRequestInterceptor buildWithConfigurers(org.springframework.security.oauth2.client.OAuth2ClientContext oAuth2ClientContext, org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails resource, List<OAuth2FeignRequestInterceptorConfigurer> buildConfigurers)
      Deprecated.