Package | Description |
---|---|
com.google.api.client.googleapis.auth.oauth2 |
Google's additions to OAuth 2.0 authorization as specified in Using OAuth 2.0 to Access Google
APIs.
|
Modifier and Type | Method and Description |
---|---|
GoogleClientSecrets |
GoogleClientSecrets.clone() |
static GoogleClientSecrets |
GoogleClientSecrets.load(JsonFactory jsonFactory,
Reader reader)
Loads the
client_secrets.json file from the given reader. |
GoogleClientSecrets |
GoogleClientSecrets.set(String fieldName,
Object value) |
GoogleClientSecrets |
GoogleClientSecrets.setInstalled(GoogleClientSecrets.Details installed)
Sets the details for installed applications.
|
GoogleClientSecrets |
GoogleClientSecrets.setWeb(GoogleClientSecrets.Details web)
Sets the details for web applications.
|
Modifier and Type | Method and Description |
---|---|
GoogleCredential.Builder |
GoogleCredential.Builder.setClientSecrets(GoogleClientSecrets clientSecrets)
Sets the client secrets.
|
Constructor and Description |
---|
Builder(HttpTransport transport,
JsonFactory jsonFactory,
GoogleClientSecrets clientSecrets,
Collection<String> scopes) |
GoogleAuthorizationCodeRequestUrl(GoogleClientSecrets clientSecrets,
String redirectUri,
Collection<String> scopes) |
GoogleBrowserClientRequestUrl(GoogleClientSecrets clientSecrets,
String redirectUri,
Collection<String> scopes) |
Copyright © 2010–2020 Google. All rights reserved.