DatabaseManager

@accounts/database-managerGlobalsDatabaseManager

Hierarchy

  • DatabaseManager

Implements

  • DatabaseInterface

Index

Constructors

Accessors

Constructors

constructor

+ new DatabaseManager(configuration: Configuration): DatabaseManager

Defined in database-manager.ts:7

Parameters:

NameType
configurationConfiguration

Returns: DatabaseManager

Accessors

addEmail

get addEmail(): DatabaseInterface["addEmail"]

Defined in database-manager.ts:74

Returns: DatabaseInterface["addEmail"]


addEmailVerificationToken

get addEmailVerificationToken(): DatabaseInterface["addEmailVerificationToken"]

Defined in database-manager.ts:144

Returns: DatabaseInterface["addEmailVerificationToken"]


addResetPasswordToken

get addResetPasswordToken(): DatabaseInterface["addResetPasswordToken"]

Defined in database-manager.ts:149

Returns: DatabaseInterface["addResetPasswordToken"]


createSession

get createSession(): DatabaseInterface["createSession"]

Defined in database-manager.ts:109

Returns: DatabaseInterface["createSession"]


createUser

get createUser(): DatabaseInterface["createUser"]

Defined in database-manager.ts:34

Returns: DatabaseInterface["createUser"]


findPasswordHash

get findPasswordHash(): DatabaseInterface["findPasswordHash"]

Defined in database-manager.ts:54

Returns: DatabaseInterface["findPasswordHash"]


findSessionById

get findSessionById(): DatabaseInterface["findSessionById"]

Defined in database-manager.ts:139

Returns: DatabaseInterface["findSessionById"]


findSessionByToken

get findSessionByToken(): DatabaseInterface["findSessionByToken"]

Defined in database-manager.ts:134

Returns: DatabaseInterface["findSessionByToken"]


findUserByEmail

get findUserByEmail(): DatabaseInterface["findUserByEmail"]

Defined in database-manager.ts:44

Returns: DatabaseInterface["findUserByEmail"]


findUserByEmailVerificationToken

get findUserByEmailVerificationToken(): DatabaseInterface["findUserByEmailVerificationToken"]

Defined in database-manager.ts:59

Returns: DatabaseInterface["findUserByEmailVerificationToken"]


findUserById

get findUserById(): DatabaseInterface["findUserById"]

Defined in database-manager.ts:39

Returns: DatabaseInterface["findUserById"]


findUserByResetPasswordToken

get findUserByResetPasswordToken(): DatabaseInterface["findUserByResetPasswordToken"]

Defined in database-manager.ts:64

Returns: DatabaseInterface["findUserByResetPasswordToken"]


findUserByServiceId

get findUserByServiceId(): DatabaseInterface["findUserByServiceId"]

Defined in database-manager.ts:69

Returns: DatabaseInterface["findUserByServiceId"]


findUserByUsername

get findUserByUsername(): DatabaseInterface["findUserByUsername"]

Defined in database-manager.ts:49

Returns: DatabaseInterface["findUserByUsername"]


invalidateAllSessions

get invalidateAllSessions(): DatabaseInterface["invalidateAllSessions"]

Defined in database-manager.ts:124

Returns: DatabaseInterface["invalidateAllSessions"]


invalidateSession

get invalidateSession(): DatabaseInterface["invalidateSession"]

Defined in database-manager.ts:119

Returns: DatabaseInterface["invalidateSession"]


removeAllResetPasswordTokens

get removeAllResetPasswordTokens(): DatabaseInterface["removeAllResetPasswordTokens"]

Defined in database-manager.ts:129

Returns: DatabaseInterface["removeAllResetPasswordTokens"]


removeEmail

get removeEmail(): DatabaseInterface["removeEmail"]

Defined in database-manager.ts:79

Returns: DatabaseInterface["removeEmail"]


setPassword

get setPassword(): DatabaseInterface["setPassword"]

Defined in database-manager.ts:94

Returns: DatabaseInterface["setPassword"]


setResetPassword

get setResetPassword(): DatabaseInterface["setResetPassword"]

Defined in database-manager.ts:154

Returns: DatabaseInterface["setResetPassword"]


setService

get setService(): DatabaseInterface["setService"]

Defined in database-manager.ts:99

Returns: DatabaseInterface["setService"]


setUserDeactivated

get setUserDeactivated(): DatabaseInterface["setUserDeactivated"]

Defined in database-manager.ts:159

Returns: DatabaseInterface["setUserDeactivated"]


setUsername

get setUsername(): DatabaseInterface["setUsername"]

Defined in database-manager.ts:89

Returns: DatabaseInterface["setUsername"]


unsetService

get unsetService(): DatabaseInterface["unsetService"]

Defined in database-manager.ts:104

Returns: DatabaseInterface["unsetService"]


updateSession

get updateSession(): DatabaseInterface["updateSession"]

Defined in database-manager.ts:114

Returns: DatabaseInterface["updateSession"]


verifyEmail

get verifyEmail(): DatabaseInterface["verifyEmail"]

Defined in database-manager.ts:84

Returns: DatabaseInterface["verifyEmail"]