@expressive-analytics/deep-thought-authentication
Version:
Typescript conversion of Deep Thought Authentication
13 lines (12 loc) • 494 B
TypeScript
import { DTQueryBuilder } from '@expressive-analytics/deep-thought-js';
import { DTService } from '@expressive-analytics/deep-thought-service';
import { DTUserModel } from './DTUser';
export declare class DTAuthenticationService extends DTService {
actionAuthenticate(): DTUserModel;
actionPasswordResetToken(): void;
actionResetPassword(): void;
currentUserID(): number;
actionCurrentUser(): any;
castUser(qb?: DTQueryBuilder): DTUserModel;
actionLogout(): void;
}