| 12345678910111213141516171819 |
- export interface IAuthenticationHandler {
- tryLogin(username: string, password: string, totp?: string): Promise<boolean | null>;
- needTotp(username: string, password: string): Promise<boolean | null>;
- }
- export declare class AuthenticationLoader {
- private handlers;
- addAuthenticationHandler(authenticationHandler: IAuthenticationHandler): void;
- tryLogin(username: string, password: string, totpCode?: string): Promise<boolean>;
- needTotp(username: string, password: string): Promise<boolean>;
- }
- import { YesManAuthenticationHandler } from './yesManAuthenticationHandler.js';
- export { YesManAuthenticationHandler };
- import { TotpChecker, ToTpGeneratorOptions, ToTpSecretAndUrl } from './totpChecker.js';
- export { TotpChecker, ToTpGeneratorOptions, ToTpSecretAndUrl };
- import { AccountInformation, EncodePasswordFunction, GetAccountInformationFunction, SqliteAuthenticationHandler } from './sqliteAuthenticationHandler.js';
- export { AccountInformation, EncodePasswordFunction, GetAccountInformationFunction, SqliteAuthenticationHandler };
- import { LdapAuthenticationConfiguration, LdapAuthenticationHandler } from './ldapAuthenticationHandler.js';
- export { LdapAuthenticationConfiguration, LdapAuthenticationHandler };
- //# sourceMappingURL=index.d.ts.map
|