You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

authentication.js 313B

123456789101112
  1. const Schwifty = require('@hapipal/schwifty')
  2. const Joi = require('joi')
  3. const { userAuth } = require('../schemas/authentication')
  4. module.exports = class Auth extends Schwifty.Model {
  5. static get tableName() {
  6. return 'authentication'
  7. }
  8. static get joiSchema() {
  9. return userAuth
  10. }
  11. }