Add login-recovery-authn-code-config.ftl page

This commit is contained in:
Joseph Garrone
2024-05-11 16:25:12 +02:00
parent c6874194a0
commit 064f3b2041
4 changed files with 271 additions and 2 deletions

View File

@ -39,7 +39,8 @@ export type KcContext =
| KcContext.DeleteCredential
| KcContext.Code
| KcContext.DeleteAccountConfirm
| KcContext.FrontchannelLogout;
| KcContext.FrontchannelLogout
| KcContext.LoginRecoveryAuthnCodeConfig;
assert<KcContext["themeType"] extends ThemeType ? true : false>();
@ -528,6 +529,15 @@ export declare namespace KcContext {
logoutRedirectUri?: string;
};
};
export type LoginRecoveryAuthnCodeConfig = Common & {
pageId: "login-recovery-authn-code-config.ftl";
recoveryAuthnCodesConfigBean: {
generatedRecoveryAuthnCodesList: string[];
generatedRecoveryAuthnCodesAsString: string;
generatedAt: string;
};
};
}
export type UserProfile = {