Google Cloud Chronicle V1 Client - Class WorkdayAuth (0.7.1)

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

Authentication for Workday.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user string

Username. This is unused: Workday feeds were originally configured using a username and secret authentication method, but only the secret field was used, and it was used to supply the OAuth access token.

↳ secret string

The access token used to authenticate against Workday. This field is called "secret" to maintain backwards compatibility. Workday was (only) configured using username (which was unused) and secret (which is used as the access token). Either this field or all of the other OAuth fields below must be specified.

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

getUser

Username. This is unused: Workday feeds were originally configured using a username and secret authentication method, but only the secret field was used, and it was used to supply the OAuth access token.

Returns
Type Description
string

setUser

Username. This is unused: Workday feeds were originally configured using a username and secret authentication method, but only the secret field was used, and it was used to supply the OAuth access token.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecret

The access token used to authenticate against Workday. This field is called "secret" to maintain backwards compatibility. Workday was (only) configured using username (which was unused) and secret (which is used as the access token). Either this field or all of the other OAuth fields below must be specified.

Returns
Type Description
string

setSecret

The access token used to authenticate against Workday. This field is called "secret" to maintain backwards compatibility. Workday was (only) configured using username (which was unused) and secret (which is used as the access token). Either this field or all of the other OAuth fields below must be specified.

Parameter
Name Description
var string
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

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