diff --git a/src/login/kcContext/KcContext.ts b/src/login/kcContext/KcContext.ts index 50e77844..77953b61 100644 --- a/src/login/kcContext/KcContext.ts +++ b/src/login/kcContext/KcContext.ts @@ -40,7 +40,8 @@ export type KcContext = | KcContext.Code | KcContext.DeleteAccountConfirm | KcContext.FrontchannelLogout - | KcContext.LoginRecoveryAuthnCodeConfig; + | KcContext.LoginRecoveryAuthnCodeConfig + | KcContext.LoginRecoveryAuthnCodeInput; assert(); @@ -535,9 +536,13 @@ export declare namespace KcContext { recoveryAuthnCodesConfigBean: { generatedRecoveryAuthnCodesList: string[]; generatedRecoveryAuthnCodesAsString: string; - generatedAt: string; + generatedAt: number; }; }; + + export type LoginRecoveryAuthnCodeInput = Common & { + pageId: "login-recovery-authn-code-input.ftl"; + }; } export type UserProfile = {