public class BasicOAuth2Request extends Object implements OAuth2Request
OAuth2Request| Constructor and Description |
|---|
BasicOAuth2Request(OAuth2FetcherConfig fetcherConfig,
HttpFetcher fetcher,
List<AuthorizationEndpointResponseHandler> authorizationEndpointResponseHandlers,
List<ClientAuthenticationHandler> clientAuthenticationHandlers,
List<GrantRequestHandler> grantRequestHandlers,
List<ResourceRequestHandler> resourceRequestHandlers,
List<TokenEndpointResponseHandler> tokenEndpointResponseHandlers,
boolean sendTraceToClient,
OAuth2RequestParameterGenerator requestParameterGenerator) |
@Inject public BasicOAuth2Request(OAuth2FetcherConfig fetcherConfig, HttpFetcher fetcher, List<AuthorizationEndpointResponseHandler> authorizationEndpointResponseHandlers, List<ClientAuthenticationHandler> clientAuthenticationHandlers, List<GrantRequestHandler> grantRequestHandlers, List<ResourceRequestHandler> resourceRequestHandlers, List<TokenEndpointResponseHandler> tokenEndpointResponseHandlers, boolean sendTraceToClient, OAuth2RequestParameterGenerator requestParameterGenerator)
fetcherConfig - configuration options for the fetcherfetcher - fetcher to use for actually making requestspublic HttpResponse fetch(HttpRequest request)
OAuth2Requestfetch in interface OAuth2Requestrequest - gadget requestnullCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.