import { Knex } from 'knex' ; import { AuthDriverOptions , SchemaOverview , User } from '../types' ; export abstract class AuthDriver { knex : Knex ; schema : SchemaOverview ; constructor ( options , _config ) { this . knex = options . knex ; this . schema = options . schema ; } param payload throws return abstract getUserID ( payload ) ; param user param password throws abstract verify ( user , password ? ) ; param _user param _payload throws returns async login ( _user , _payload ) { return ; } param _user throws async refresh ( _user ) { return ; } param _user async logout ( _user ) { return ; } }