user-service
Preparing search index...
application/ports/out/PasswordHasher
PasswordHasher
Interface PasswordHasher
interface
PasswordHasher
{
compare
(
plain
:
string
,
hashed
:
string
)
:
Promise
<
boolean
>
;
hash
(
password
:
string
)
:
Promise
<
string
>
;
}
Implemented by
BcryptPasswordHasher
Index
Methods
compare
hash
Methods
compare
compare
(
plain
:
string
,
hashed
:
string
)
:
Promise
<
boolean
>
Parameters
plain
:
string
hashed
:
string
Returns
Promise
<
boolean
>
hash
hash
(
password
:
string
)
:
Promise
<
string
>
Parameters
password
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
compare
hash
user-service
Loading...