mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-25 00:00:53 +00:00
41 lines
931 B
Go
41 lines
931 B
Go
export namespace Login {
|
|
export interface ReqLoginForm {
|
|
name: string;
|
|
password: string;
|
|
ignoreCaptcha: boolean;
|
|
captcha: string;
|
|
captchaID: string;
|
|
authMethod: string;
|
|
}
|
|
export interface MFALoginForm {
|
|
name: string;
|
|
password: string;
|
|
code: string;
|
|
authMethod: string;
|
|
}
|
|
export interface ResLogin {
|
|
name: string;
|
|
token: string;
|
|
mfaStatus: string;
|
|
}
|
|
export interface ResCaptcha {
|
|
imagePath: string;
|
|
captchaID: string;
|
|
captchaLength: number;
|
|
}
|
|
export interface ResAuthButtons {
|
|
[propName: string]: any;
|
|
}
|
|
|
|
export interface LoginSetting {
|
|
isDemo: boolean;
|
|
isIntl: boolean;
|
|
isFxplay: boolean;
|
|
language: string;
|
|
menuTabs: string;
|
|
panelName: string;
|
|
theme: string;
|
|
isOffLine: boolean;
|
|
}
|
|
}
|