Class: WorkOS::UserManagement::PasswordHashed
- Inherits:
-
Data
- Object
- Data
- WorkOS::UserManagement::PasswordHashed
- Defined in:
- lib/workos/user_management.rb
Overview
Identifies the password (hashed variant).
Instance Attribute Summary collapse
- #password_hash ⇒ String readonly
- #password_hash_type ⇒ WorkOS::Types::CreateUserPasswordHashType readonly
- #password_salt_position ⇒ WorkOS::Types::CreateUserPasswordSaltPosition? readonly
Instance Method Summary collapse
-
#initialize(password_hash:, password_hash_type:, password_salt_position: nil) ⇒ PasswordHashed
constructor
A new instance of PasswordHashed.
Constructor Details
#initialize(password_hash:, password_hash_type:, password_salt_position: nil) ⇒ PasswordHashed
Returns a new instance of PasswordHashed.
25 26 27 |
# File 'lib/workos/user_management.rb', line 25 def initialize(password_hash:, password_hash_type:, password_salt_position: nil) super end |
Instance Attribute Details
#password_hash ⇒ String (readonly)
24 25 26 27 28 |
# File 'lib/workos/user_management.rb', line 24 PasswordHashed = Data.define(:password_hash, :password_hash_type, :password_salt_position) do def initialize(password_hash:, password_hash_type:, password_salt_position: nil) super end end |
#password_hash_type ⇒ WorkOS::Types::CreateUserPasswordHashType (readonly)
24 25 26 27 28 |
# File 'lib/workos/user_management.rb', line 24 PasswordHashed = Data.define(:password_hash, :password_hash_type, :password_salt_position) do def initialize(password_hash:, password_hash_type:, password_salt_position: nil) super end end |
#password_salt_position ⇒ WorkOS::Types::CreateUserPasswordSaltPosition? (readonly)
24 25 26 27 28 |
# File 'lib/workos/user_management.rb', line 24 PasswordHashed = Data.define(:password_hash, :password_hash_type, :password_salt_position) do def initialize(password_hash:, password_hash_type:, password_salt_position: nil) super end end |