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

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

Overview

Defined Under Namespace

Modules: EncryptionType

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(ciphertext:, encapsulated_key:, encryption_type:) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::WalletAuthenticateWithJwtResponse::WithEncryption::EncryptedAuthorizationKey for more details.

The encrypted authorization key data.

Parameters:



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

Instance Attribute Details

#ciphertextString

The encrypted authorization key corresponding to the user’s current authentication session.

Returns:

  • (String)


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

required :ciphertext, String

#encapsulated_keyString

Base64-encoded ephemeral public key used in the HPKE encryption process. Required for decryption.

Returns:

  • (String)


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

required :encapsulated_key, String

#encryption_typeSymbol, Privy::Models::WalletAuthenticateWithJwtResponse::WithEncryption::EncryptedAuthorizationKey::EncryptionType

The encryption type used. Currently only supports HPKE.



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

required :encryption_type,
enum: -> { Privy::WalletAuthenticateWithJwtResponse::WithEncryption::EncryptedAuthorizationKey::EncryptionType }