Class: Privy::Models::WalletAuthenticateWithJwtResponse::WithEncryption

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/wallet_authenticate_with_jwt_response.rb

Defined Under Namespace

Classes: EncryptedAuthorizationKey

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

Parameters:



# File 'lib/privy/models/wallet_authenticate_with_jwt_response.rb', line 35

Instance Attribute Details

#encrypted_authorization_keyPrivy::Models::WalletAuthenticateWithJwtResponse::WithEncryption::EncryptedAuthorizationKey

The encrypted authorization key data.



21
22
# File 'lib/privy/models/wallet_authenticate_with_jwt_response.rb', line 21

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

#expires_atFloat

The expiration time of the authorization key in milliseconds since the epoch.

Returns:

  • (Float)


28
# File 'lib/privy/models/wallet_authenticate_with_jwt_response.rb', line 28

required :expires_at, Float

#walletsArray<Privy::Models::Wallet>

Returns:



33
# File 'lib/privy/models/wallet_authenticate_with_jwt_response.rb', line 33

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