| 1234567891011121314151617 |
- export interface IAuthenticationHandler {
- tryLogin(username: string, password: string, totp?: string): Promise<boolean | null>;
- needTotp(username: 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): Promise<boolean>;
- }
- import { YesManAuthenticationHandler } from './yesManAuthenticationHandler';
- export { YesManAuthenticationHandler };
- import { TotpChecker, ToTpGeneratorOptions, ToTpSecretAndUrl } from './totpChecker';
- export { TotpChecker, ToTpGeneratorOptions, ToTpSecretAndUrl };
- import { AccountInformation, EncodePasswordFunction, GetAccountInformationFunction, SqliteAuthenticationHandler } from './sqliteAuthenticationHandler';
- export { AccountInformation, EncodePasswordFunction, GetAccountInformationFunction, SqliteAuthenticationHandler };
- //# sourceMappingURL=index.d.ts.map
|