AccountsClientPasswordOptions

@accounts/client-passwordGlobalsAccountsClientPasswordOptions

Hierarchy

  • AccountsClientPasswordOptions

Index

Methods

Methods

Optional hashPassword

hashPassword(password: string): string

Defined in types/options.ts:6

Use this option if you want to customize the hashing method. By default accounts-js will hash the password using SHA256.

Parameters:

NameType
passwordstring

Returns: string