Chronicle V1 API - Class Google::Cloud::Chronicle::V1::OAuthPasswordGrantCredentials (v1.1.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::OAuthPasswordGrantCredentials.

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

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.

#password

def password() -> ::String
Returns
  • (::String) — Password.

#password=

def password=(value) -> ::String
Parameter
  • value (::String) — Password.
Returns
  • (::String) — Password.

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

#user=

def user=(value) -> ::String
Parameter
  • value (::String) — Username.
Returns
  • (::String) — Username.