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.



578
579
580
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 578

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)


563
564
565
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 563

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)


569
570
571
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 569

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)


575
576
577
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 575

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



583
584
585
586
587
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 583

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