com.google.api.ads.common.lib.auth
Class OAuth2AuthorizationHeaderProvider
java.lang.Object
com.google.api.ads.common.lib.auth.OAuth2AuthorizationHeaderProvider
public class OAuth2AuthorizationHeaderProvider
- extends Object
OAuth2 authorization header provider.
- Author:
- Adam Rogal
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuth2AuthorizationHeaderProvider
public OAuth2AuthorizationHeaderProvider()
- Constructor.
getOAuth2AuthorizationHeader
public String getOAuth2AuthorizationHeader(OAuth2Compatible oAuth2Compatible)
- Gets the OAuth2 authorization header for the parameters and request URL.
- Parameters:
oAuth2Compatible - exposes the OAuth2 credentials
- Returns:
- the
Authorization header value to set
Copyright © 2012. All Rights Reserved.