public interface

HttpAuthToken

implements AuthTokenFactory.AuthToken
com.google.gdata.client.http.HttpAuthToken
Known Indirect Subclasses

Class Overview

The HttpAuthToken interface represents a token used to authenticate an HTTP request. It encapsulates the functionality to create the "Authorization" header to be appended to a HTTP request.

Summary

Public Methods
abstract String getAuthorizationHeader(URL requestUrl, String requestMethod)
Returns an authorization header to be used for a HTTP request for the respective authentication token.

Public Methods

public abstract String getAuthorizationHeader (URL requestUrl, String requestMethod)

Returns an authorization header to be used for a HTTP request for the respective authentication token.

Parameters
requestUrl The URL being requested
requestMethod The HTTP method of the request
Returns
  • the "Authorization" header to be used for the request