UNPKG

@eclipse-scout/core

Version:
38 lines 1.55 kB
/// <reference types="jquery" /> import { AjaxSettings, Box, InitModelOf, LoginAppModel, TextMap } from '../index'; export declare class LoginBox extends Box { model: LoginAppModel; ajaxOptions: AjaxSettings; authUrl: string; onPostDoneFunc: (data: Record<string, any>) => void; redirectUrl: string; userDataKey: string; passwordDataKey: string; tokenDataKey: string; additionalData: Record<string, any>; prepareRedirectUrlFunc: (url: string) => string; messageKey: string; texts: TextMap; $message: JQuery; $form: JQuery; $user: JQuery; $password: JQuery; $token: JQuery; $button: JQuery; constructor(); init(options: InitModelOf<this>): void; protected _render(): void; protected _createPasswortField(): JQuery<HTMLElement>; protected _resetButtonText(): void; data(): Record<string, any>; protected _onLoginFormSubmit(event: JQuery.SubmitEvent): void; checkTwoFactorResponse(data: Record<string, any>): void; protected _enableTwoFactor(): void; redirect(data: Record<string, any>): void; protected _redirect(data: Record<string, any>): void; protected _onPostDone(data: Record<string, any>): void; protected _onPostFail(jqXHR: JQuery.jqXHR, textStatus: JQuery.Ajax.ErrorTextStatus, errorThrown: string): void; protected _onPostFailImpl(jqXHR: JQuery.jqXHR, textStatus: JQuery.Ajax.ErrorTextStatus, errorThrown: string): void; static prepareRedirectUrl(url: string): string; } //# sourceMappingURL=LoginBox.d.ts.map