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.



679
680
681
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 679

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)


664
665
666
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 664

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)


670
671
672
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 670

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)


676
677
678
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 676

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



684
685
686
687
688
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 684

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