@Beta
public class MockTokenServerTransport
extends com.google.api.client.testing.http.MockHttpTransport
Beta
Constructor and Description |
---|
MockTokenServerTransport() |
MockTokenServerTransport(String tokenServerUrl) |
Modifier and Type | Method and Description |
---|---|
void |
addClient(String clientId,
String clientSecret) |
void |
addRefreshToken(String refreshToken,
String accessTokenToReturn) |
void |
addServiceAccount(String email,
String accessToken) |
com.google.api.client.http.LowLevelHttpRequest |
buildRequest(String method,
String url) |
builder, getLowLevelHttpRequest, getSupportedMethods, supportsMethod
public MockTokenServerTransport()
public MockTokenServerTransport(String tokenServerUrl)
public com.google.api.client.http.LowLevelHttpRequest buildRequest(String method, String url) throws IOException
buildRequest
in class com.google.api.client.testing.http.MockHttpTransport
IOException
Copyright © 2010–2019 Google. All rights reserved.