Add code.ftl page

This commit is contained in:
Joseph Garrone
2024-05-10 21:40:23 +02:00
parent d5f3c789df
commit 93d90d0ba6
4 changed files with 51 additions and 2 deletions

View File

@ -36,7 +36,8 @@ export type KcContext =
| KcContext.UpdateEmail
| KcContext.SelectAuthenticator
| KcContext.SamlPostForm
| KcContext.DeleteCredential;
| KcContext.DeleteCredential
| KcContext.Code;
assert<KcContext["themeType"] extends ThemeType ? true : false>();
@ -497,6 +498,15 @@ export declare namespace KcContext {
pageId: "delete-credential.ftl";
credentialLabel: string;
};
export type Code = Common & {
pageId: "code.ftl";
code: {
success: boolean;
code?: string;
error?: string;
};
};
}
export type UserProfile = {