Module: SafetyKit::Models::ClientSessionCreateSessionParams::Body

Extended by:
Internal::Type::Union
Defined in:
lib/safety_kit/models/client_session_create_session_params.rb

Overview

Request body for creating a browser-safe webapp SDK session token from server-side code. Provide at least one of customer_user_id or customer_session_hash.

Defined Under Namespace

Classes: UnionMember0, UnionMember1

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

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

Methods included from Internal::Type::Converter

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

Instance Method Details

#initialize(customer_user_id:, customer_session_hash: nil) ⇒ Object

Some parameter documentations has been truncated, see UnionMember0 for more details.

Parameters:

  • customer_user_id (String)

    Customer user identifier associated with the browser SDK session. Use the same c

  • customer_session_hash (String) (defaults to: nil)

    Stable opaque customer session hash associated with the browser SDK session.



# File 'lib/safety_kit/models/client_session_create_session_params.rb', line 51