@prismshadow/penguin-server · packages/server/src/auth/password.ts:116

PasswordHasher

interface

Hashes the passwords this server writes; a test stands in a cheap one.

API

@Interface()
export abstract class PasswordHasher {
  abstract hash(password: string): Promise<string>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Moduleexported by
@Provideprovided by
@Useconsumed by (2)

Members (1)

hash

hash(password: string): Promise<string>
@parampasswordstring
@returnsPromise<string>