packages feed

polysemy-account-0.1.0.0: lib/Polysemy/Account/Data/HashedPassword.hs

-- | Description: Hasned password data type
module Polysemy.Account.Data.HashedPassword where

-- | An internally used type containing a hash produced by "Data.Password".
newtype HashedPassword =
  HashedPassword { unAccountPassword :: Text }
  deriving stock (Eq, Show, Generic)
  deriving newtype (IsString, Ord)

json ''HashedPassword