Example usage for org.springframework.security.oauth2.client DefaultOAuth2RequestAuthenticator DefaultOAuth2RequestAuthenticator

List of usage examples for org.springframework.security.oauth2.client DefaultOAuth2RequestAuthenticator DefaultOAuth2RequestAuthenticator

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.client DefaultOAuth2RequestAuthenticator DefaultOAuth2RequestAuthenticator.

Prototype

DefaultOAuth2RequestAuthenticator

Source Link

Usage

From source file:io.pivotal.spring.cloud.service.eureka.EurekaOAuth2RequestDecorator.java

public EurekaOAuth2RequestDecorator(ClientCredentialsResourceDetails resourceDetails) {
    oauth2RestTemplate = new OAuth2RestTemplate(resourceDetails);
    requestAuthenticator = new DefaultOAuth2RequestAuthenticator();
}