|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.googleapis.auth.storage.GoogleStorageAuthentication
@Deprecated public final class GoogleStorageAuthentication
Google Storage for Developers has a custom authentication method described in Authentication .
Sample usage, taking advantage that this class implements HttpRequestInitializer
:
public static HttpRequestFactory createRequestFactory(HttpTransport transport) { return transport.createRequestFactory(new GoogleStorageAuthentication(...)); }
If you have a custom request initializer, take a look at the sample usage for
HttpExecuteInterceptor
, which this class also implements.
Constructor Summary | |
---|---|
GoogleStorageAuthentication(String accessKey,
String secret)
Deprecated. |
Method Summary | |
---|---|
void |
initialize(com.google.api.client.http.HttpRequest request)
Deprecated. |
void |
intercept(com.google.api.client.http.HttpRequest request)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GoogleStorageAuthentication(String accessKey, String secret)
accessKey
- 20 character access key that identifies the client accessing the stored datasecret
- secret associated with the access keyMethod Detail |
---|
public void initialize(com.google.api.client.http.HttpRequest request)
initialize
in interface com.google.api.client.http.HttpRequestInitializer
public void intercept(com.google.api.client.http.HttpRequest request) throws IOException
intercept
in interface com.google.api.client.http.HttpExecuteInterceptor
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |