Class: FinchAPI::Models::Connect::SessionReauthenticateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/connect/session_reauthenticate_response.rb,
sig/finch_api/models/connect/session_reauthenticate_response.rbs

Overview

See Also:

  • FinchAPI::Resources::Connect::Sessions#reauthenticate

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(connect_url:, session_id:) ⇒ SessionReauthenticateResponse

Returns a new instance of SessionReauthenticateResponse.

Parameters:

  • connect_url (String)

    The Connect URL to redirect the user to for reauthentication

  • session_id (String)

    The unique identifier for the created connect session

  • connect_url: (String)
  • session_id: (String)


# File 'lib/finch_api/models/connect/session_reauthenticate_response.rb', line 20

Instance Attribute Details

#connect_urlString

The Connect URL to redirect the user to for reauthentication

Parameters:

  • value (String)

Returns:

  • (String)


12
# File 'lib/finch_api/models/connect/session_reauthenticate_response.rb', line 12

required :connect_url, String

#session_idString

The unique identifier for the created connect session

Parameters:

  • value (String)

Returns:

  • (String)


18
# File 'lib/finch_api/models/connect/session_reauthenticate_response.rb', line 18

required :session_id, String

Instance Method Details

#to_hash{ connect_url: String, session_id: String }

Returns:

  • ({ connect_url: String, session_id: String })


14
# File 'sig/finch_api/models/connect/session_reauthenticate_response.rbs', line 14

def to_hash: -> { connect_url: String, session_id: String }