Class: Privy::Models::UserWithIdentityToken
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::UserWithIdentityToken
- Defined in:
- lib/privy/models/user_with_identity_token.rb
Instance Attribute Summary collapse
- #identity_token ⇒ String?
-
#user ⇒ Privy::Models::User
A Privy user object.
Instance Method Summary collapse
-
#initialize(identity_token:, user:) ⇒ Object
constructor
The user object along their identity token.
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(identity_token:, user:) ⇒ Object
The user object along their identity token.
|
|
# File 'lib/privy/models/user_with_identity_token.rb', line 17
|
Instance Attribute Details
#identity_token ⇒ String?
9 |
# File 'lib/privy/models/user_with_identity_token.rb', line 9 required :identity_token, String, nil?: true |
#user ⇒ Privy::Models::User
A Privy user object.
15 |
# File 'lib/privy/models/user_with_identity_token.rb', line 15 required :user, -> { Privy::User } |