Class: Privy::Models::EncryptedBoundAuthenticateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/encrypted_bound_authenticate_response.rb,
sig/privy/models/encrypted_bound_authenticate_response.rbs

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(bindings:, encrypted_authorization_key:, expires_at:, wallets:) ⇒ Object

Encrypted response from bound wallet authentication, with bindings.

Parameters:



# File 'lib/privy/models/encrypted_bound_authenticate_response.rb', line 27

Instance Attribute Details

#bindingsArray<Privy::Models::UserSigningKeyBinding>

Parameters:

Returns:



9
# File 'lib/privy/models/encrypted_bound_authenticate_response.rb', line 9

required :bindings, -> { Privy::Internal::Type::ArrayOf[Privy::UserSigningKeyBinding] }

#encrypted_authorization_keyPrivy::Models::EncryptedAuthorizationKey

HPKE-encrypted authorization key with encapsulated key and ciphertext.



15
# File 'lib/privy/models/encrypted_bound_authenticate_response.rb', line 15

required :encrypted_authorization_key, -> { Privy::EncryptedAuthorizationKey }

#expires_atFloat

Parameters:

  • value (Float)

Returns:

  • (Float)


20
# File 'lib/privy/models/encrypted_bound_authenticate_response.rb', line 20

required :expires_at, Float

#walletsArray<Privy::Models::Wallet>

Parameters:

Returns:



25
# File 'lib/privy/models/encrypted_bound_authenticate_response.rb', line 25

required :wallets, -> { Privy::Internal::Type::ArrayOf[Privy::Wallet] }

Instance Method Details

#to_hash{

Returns:

  • ({)


27
# File 'sig/privy/models/encrypted_bound_authenticate_response.rbs', line 27

def to_hash: -> {