Uses of Class
com.google.api.client.auth.oauth2.Credential.Builder
Packages that use Credential.Builder
-
Uses of Credential.Builder in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return Credential.BuilderModifier and TypeMethodDescriptionCredential.Builder.addRefreshListener(CredentialRefreshListener refreshListener) Adds a listener for refresh token results.Credential.Builder.setClientAuthentication(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication) Sets the client authentication ornullfor none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)).Credential.Builder.setClock(com.google.api.client.util.Clock clock) Sets the clock to use for expiration checks.Credential.Builder.setJsonFactory(com.google.api.client.json.JsonFactory jsonFactory) Sets the JSON factory to use for parsing response for refresh token request ornullif not refreshing tokens.Credential.Builder.setRefreshListeners(Collection<CredentialRefreshListener> refreshListeners) Sets the listeners for refresh token results.Credential.Builder.setRequestInitializer(com.google.api.client.http.HttpRequestInitializer requestInitializer) Sets the HTTP request initializer for refresh token requests to the token server ornullfor none.Credential.Builder.setTokenServerEncodedUrl(String tokenServerEncodedUrl) Sets the encoded token server URL ornullif not refreshing tokens.Credential.Builder.setTokenServerUrl(com.google.api.client.http.GenericUrl tokenServerUrl) Sets the token server URL ornullif not refreshing tokens.Credential.Builder.setTransport(com.google.api.client.http.HttpTransport transport) Sets the HTTP transport for executing refresh token request ornullif not refreshing tokens.Constructors in com.google.api.client.auth.oauth2 with parameters of type Credential.Builder