Google Cloud Chronicle V1 Client - Class OAuthRefreshToken (0.7.1)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class OAuthRefreshToken.

OAuth 2.0 refresh token grant. See https://tools.ietf.org/html/rfc6749.

Generated from protobuf message google.cloud.chronicle.v1.OAuthRefreshToken

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ token_endpoint string

Token endpoint to get the OAuth token from.

↳ client_id string

Client ID.

↳ client_secret string

Client secret.

↳ refresh_token string

Refresh token.

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

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

getRefreshToken

Refresh token.

Returns
Type Description
string

setRefreshToken

Refresh token.

Parameter
Name Description
var string
Returns
Type Description
$this