zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
31 lines (30 loc) • 1.16 kB
TypeScript
import type { SecurityProviderOption, SecurityProviderOptionEntities } from '../types/interfaces';
import type { Class } from 'type-fest';
export declare class SecurityProviderOptions {
options: SecurityProviderOption;
protected entities: SecurityProviderOptionEntities;
constructor(options: SecurityProviderOption, entities: SecurityProviderOptionEntities);
get name(): string;
get algorithm(): 'bcrypt' | 'argon2id';
get userEntity(): Class;
get expireInMS(): number;
get loginUrl(): string;
get logoutUrl(): string;
get loginRedirectUrl(): string;
get logoutRedirectUrl(): string;
get failedRedirectUrl(): string;
get forbiddenRedirectUrl(): string;
get memLimit(): number;
get opsLimit(): number;
get saltRounds(): number;
get identifierColumn(): string;
get passwordColumn(): string;
get usernameField(): string;
get passwordField(): string;
get storeType(): 'redis' | 'database' | 'file';
get responseType(): 'json' | 'redirect';
get storePrefix(): string;
get redisKeepTTL(): boolean;
get dbStoreEntity(): Class;
get fileStoreFolder(): string;
}