| java.lang.Object |
| ↳ |
com.google.gdata.client.GoogleAuthTokenFactory.UserToken |
Class Overview
The UserToken encapsulates the token retrieved as a result of
authenticating to Google using a user's credentials.
Summary
| Fields |
|
private
String |
token |
|
| Public Methods |
|
String
|
getAuthorizationHeader(URL requestUrl, String requestMethod)
Returns an authorization header to be used for a HTTP request
for the respective authentication token.
|
|
String
|
getValue()
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.client.http.HttpAuthToken
|
abstract
String
|
getAuthorizationHeader(URL requestUrl, String requestMethod)
Returns an authorization header to be used for a HTTP request
for the respective authentication token.
|
|
Fields
Public Constructors
public
GoogleAuthTokenFactory.UserToken
(String token)
Public Methods
public
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
public
String
getValue
()