Reference documentation and code samples for the Google Cloud Chronicle V1 Client class OAuthClientCredentials.
OAuth 2.0 client credentials grant. See https://tools.ietf.org/html/rfc6749.
Generated from protobuf message google.cloud.chronicle.v1.OAuthClientCredentials
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ token_endpoint |
string
Token endpoint. |
↳ client_id |
string
Client ID. |
↳ client_secret |
string
Client secret. |
getTokenEndpoint
Token endpoint.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTokenEndpoint
Token endpoint.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClientId
Client ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClientId
Client ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClientSecret
Client secret.
| Returns | |
|---|---|
| Type | Description |
string |
|
setClientSecret
Client secret.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|