/** * Sets the Google Login {@code "Authorization"} header for the given authentication token. */ public void setGoogleLogin(String authToken) { authorization = getGoogleLoginValue(authToken); }
/** Returns the authorization header value to use based on the authentication token. */ public String getAuthorizationHeaderValue() { return GoogleHeaders.getGoogleLoginValue(auth); }
/** * Sets the authorization header for the given Google transport using the authentication token. * * @deprecated (scheduled to be removed in 1.5) Use {link Response} directly */ @Deprecated public void setAuthorizationHeader(HttpTransport googleTransport) { googleTransport.defaultHeaders.authorization = GoogleHeaders.getGoogleLoginValue(auth); }