UNPKG

@expressive-analytics/deep-thought-authentication

Version:

Typescript conversion of Deep Thought Authentication

17 lines (16 loc) 583 B
import { DT, DTModel } from '@expressive-analytics/deep-thought-js'; export declare class DTUserModel extends DTModel { protected static $T: string; protected static _strict_properties: boolean; protected encryptPassword(pass: string, salt?: string): string; protected generateString(len?: number, charset?: string): string; verifyPassword(given: any, salt_len?: number): boolean; } export interface DTUser extends DT { alias: string; created_at?: string; created_at_ms?: number; is_admin: number; is_active: number; is_deleted: number; }