| Package | Description |
|---|---|
| com.google.auth.oauth2 |
| Modifier and Type | Method and Description |
|---|---|
static ClientId |
ClientId.fromJson(Map<String,Object> json)
Constructs a Client ID from JSON from a downloaded file.
|
static ClientId |
ClientId.fromResource(Class<?> relativeClass,
String resourceName)
Constructs a Client ID from JSON file stored as a resource.
|
static ClientId |
ClientId.fromStream(InputStream stream)
Constructs a Client ID from JSON file stream.
|
ClientId |
UserAuthorizer.getClientId()
Returns the Client ID user to identify the OAuth2 consent prompt.
|
| Constructor and Description |
|---|
UserAuthorizer(ClientId clientId,
Collection<String> scopes,
TokenStore tokenStore)
Constructor with minimal parameters.
|
UserAuthorizer(ClientId clientId,
Collection<String> scopes,
TokenStore tokenStore,
URI callbackUri)
Constructor with common parameters.
|
UserAuthorizer(ClientId clientId,
Collection<String> scopes,
TokenStore tokenStore,
URI callbackUri,
com.google.api.client.http.HttpTransport transport,
URI tokenServerUri,
URI userAuthUri)
Constructor with all parameters.
|
Copyright © 2015 Google. All rights reserved.