Reference documentation and code samples for the Google Cloud Chronicle V1 Client class OAuthJWTCredentials.
OAuth 2.0 JWT grant. See, https://tools.ietf.org/html/rfc7519
Generated from protobuf message google.cloud.chronicle.v1.OAuthJWTCredentials
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rs_credentials |
RSCredentials
RS credentials. |
↳ token_endpoint |
string
Token endpoint to get the OAuth token from. |
↳ claims |
Claims
Claims. |
getRsCredentials
RS credentials.
| Returns | |
|---|---|
| Type | Description |
RSCredentials|null |
|
hasRsCredentials
setRsCredentials
RS credentials.
| Parameter | |
|---|---|
| Name | Description |
var |
RSCredentials
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTokenEndpoint
Token endpoint to get the OAuth token from.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTokenEndpoint
Token endpoint to get the OAuth token from.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClaims
Claims.
| Returns | |
|---|---|
| Type | Description |
Claims|null |
|
hasClaims
clearClaims
setClaims
Claims.
| Parameter | |
|---|---|
| Name | Description |
var |
Claims
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCredentials
| Returns | |
|---|---|
| Type | Description |
string |
|