Live
oxygen.crypto.service.PasswordService.Live
case object Live extends PasswordService
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait PasswordServiceclass Objecttrait Matchableclass AnyShow all
- Self type
-
Live.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Inherited and Abstract types
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Accepts a plain text password, and hashes it. This hash is then safe to store, and you can then check if a password is correct using validate.
Accepts a plain text password, and hashes it. This hash is then safe to store, and you can then check if a password is correct using validate.
Attributes
- Definition Classes
override def validate(plainTextPasswordToValidate: PlainText, correctHashedPassword: Hashed): UIO[Boolean]
Attributes
- Definition Classes
Inherited methods
Create a new instance of type T with elements taken from product p.
Create a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article