Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb

Overview

Indicates which credentials to pass to the registered Blocking Functions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2ForwardInboundCredentials.



526
527
528
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 526

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#access_tokenBoolean Also known as: access_token?

Whether to pass the user's OAuth identity provider's access token. Corresponds to the JSON property accessToken

Returns:

  • (Boolean)


511
512
513
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 511

def access_token
  @access_token
end

#id_tokenBoolean Also known as: id_token?

Whether to pass the user's OIDC identity provider's ID token. Corresponds to the JSON property idToken

Returns:

  • (Boolean)


517
518
519
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 517

def id_token
  @id_token
end

#refresh_tokenBoolean Also known as: refresh_token?

Whether to pass the user's OAuth identity provider's refresh token. Corresponds to the JSON property refreshToken

Returns:

  • (Boolean)


523
524
525
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 523

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



531
532
533
534
535
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 531

def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @id_token = args[:id_token] if args.key?(:id_token)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end