Package | Description |
---|---|
com.google.auth.oauth2 |
Modifier and Type | Method and Description |
---|---|
ClientId |
ClientId.Builder.build() |
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.
|
ClientId |
UserAuthorizer.Builder.getClientId() |
static ClientId |
ClientId.of(String clientId,
String clientSecret)
Constructs a client ID from an explicit ID and secret.
|
Modifier and Type | Method and Description |
---|---|
UserAuthorizer.Builder |
UserAuthorizer.Builder.setClientId(ClientId clientId) |
Constructor and Description |
---|
Builder(ClientId clientId) |
Copyright © 2023 Google. All rights reserved.