public static final class GoogleClientSecrets.Details extends GenericJson
Client credential details.
Inheritance
Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.json.GenericJson > GoogleClientSecrets.DetailsConstructors
Details()
public Details()
Methods
clone()
public GoogleClientSecrets.Details clone()
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
com.google.api.client.json.GenericJson.clone()
getAuthUri()
public String getAuthUri()
Returns the authorization server URI.
Returns | |
---|---|
Type | Description |
String |
getClientId()
public String getClientId()
Returns the client ID.
Returns | |
---|---|
Type | Description |
String |
getClientSecret()
public String getClientSecret()
Returns the client secret.
Returns | |
---|---|
Type | Description |
String |
getRedirectUris()
public List<String> getRedirectUris()
Returns the redirect URIs.
Returns | |
---|---|
Type | Description |
List<String> |
getTokenUri()
public String getTokenUri()
Returns the token server URI.
Returns | |
---|---|
Type | Description |
String |
set(String fieldName, Object value)
public GoogleClientSecrets.Details set(String fieldName, Object value)
Parameters | |
---|---|
Name | Description |
fieldName |
String |
value |
Object |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
com.google.api.client.json.GenericJson.set(java.lang.String,java.lang.Object)
setAuthUri(String authUri)
public GoogleClientSecrets.Details setAuthUri(String authUri)
Sets the authorization server URI.
Parameter | |
---|---|
Name | Description |
authUri |
String |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
setClientId(String clientId)
public GoogleClientSecrets.Details setClientId(String clientId)
Sets the client ID.
Parameter | |
---|---|
Name | Description |
clientId |
String |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
setClientSecret(String clientSecret)
public GoogleClientSecrets.Details setClientSecret(String clientSecret)
Sets the client secret.
Parameter | |
---|---|
Name | Description |
clientSecret |
String |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
setRedirectUris(List<String> redirectUris)
public GoogleClientSecrets.Details setRedirectUris(List<String> redirectUris)
Sets the redirect URIs.
Parameter | |
---|---|
Name | Description |
redirectUris |
List<String> |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |
setTokenUri(String tokenUri)
public GoogleClientSecrets.Details setTokenUri(String tokenUri)
Sets the token server URI.
Parameter | |
---|---|
Name | Description |
tokenUri |
String |
Returns | |
---|---|
Type | Description |
GoogleClientSecrets.Details |