Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::WorkdayAuth.
Authentication for Workday.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#client_id
def client_id() -> ::String
Returns
- (::String) — Client ID.
#client_id=
def client_id=(value) -> ::String
Parameter
- value (::String) — Client ID.
Returns
- (::String) — Client ID.
#client_secret
def client_secret() -> ::String
Returns
- (::String) — Client Secret.
#client_secret=
def client_secret=(value) -> ::String
Parameter
- value (::String) — Client Secret.
Returns
- (::String) — Client Secret.
#refresh_token
def refresh_token() -> ::String
Returns
- (::String) — Refresh Token.
#refresh_token=
def refresh_token=(value) -> ::String
Parameter
- value (::String) — Refresh Token.
Returns
- (::String) — Refresh Token.
#secret
def secret() -> ::String
Returns
- (::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.
#secret=
def secret=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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
def token_endpoint() -> ::String
Returns
- (::String) — Token endpoint to get the OAuth token from.
#token_endpoint=
def token_endpoint=(value) -> ::String
Parameter
- value (::String) — Token endpoint to get the OAuth token from.
Returns
- (::String) — Token endpoint to get the OAuth token from.
#user
def user() -> ::String
Returns
- (::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.
#user=
def user=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.