1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2025-12-13 20:45:55 +00:00
Files
haste-server/src/lib/key-generators/index.ts
2022-06-06 21:36:48 +02:00

14 lines
264 B
TypeScript

import type { KeyGeneratorConfig } from 'src/types/config'
abstract class KeyGenerator {
type: string
constructor(options: KeyGeneratorConfig) {
this.type = options.type
}
abstract createKey(keyLength: number): string
}
export default KeyGenerator