Class GoogleClientSecrets.Details (1.34.1)

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.Details

Constructors

Details()

public Details()

Methods

clone()

public GoogleClientSecrets.Details clone()
Returns
TypeDescription
GoogleClientSecrets.Details
Overrides
com.google.api.client.json.GenericJson.clone()

getAuthUri()

public String getAuthUri()

Returns the authorization server URI.

Returns
TypeDescription
String

getClientId()

public String getClientId()

Returns the client ID.

Returns
TypeDescription
String

getClientSecret()

public String getClientSecret()

Returns the client secret.

Returns
TypeDescription
String

getRedirectUris()

public List<String> getRedirectUris()

Returns the redirect URIs.

Returns
TypeDescription
List<String>

getTokenUri()

public String getTokenUri()

Returns the token server URI.

Returns
TypeDescription
String

set(String fieldName, Object value)

public GoogleClientSecrets.Details set(String fieldName, Object value)
Parameters
NameDescription
fieldNameString
valueObject
Returns
TypeDescription
GoogleClientSecrets.Details
Overrides
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
NameDescription
authUriString
Returns
TypeDescription
GoogleClientSecrets.Details

setClientId(String clientId)

public GoogleClientSecrets.Details setClientId(String clientId)

Sets the client ID.

Parameter
NameDescription
clientIdString
Returns
TypeDescription
GoogleClientSecrets.Details

setClientSecret(String clientSecret)

public GoogleClientSecrets.Details setClientSecret(String clientSecret)

Sets the client secret.

Parameter
NameDescription
clientSecretString
Returns
TypeDescription
GoogleClientSecrets.Details

setRedirectUris(List<String> redirectUris)

public GoogleClientSecrets.Details setRedirectUris(List<String> redirectUris)

Sets the redirect URIs.

Parameter
NameDescription
redirectUrisList<String>
Returns
TypeDescription
GoogleClientSecrets.Details

setTokenUri(String tokenUri)

public GoogleClientSecrets.Details setTokenUri(String tokenUri)

Sets the token server URI.

Parameter
NameDescription
tokenUriString
Returns
TypeDescription
GoogleClientSecrets.Details