Add delete-credential.ftl page

This commit is contained in:
Joseph Garrone
2024-05-08 16:54:04 +02:00
parent 58dfd3c25c
commit 3eeba99152
5 changed files with 64 additions and 3 deletions

View File

@ -34,7 +34,8 @@ export type KcContext =
| KcContext.IdpReviewUserProfile
| KcContext.UpdateEmail
| KcContext.SelectAuthenticator
| KcContext.SamlPostForm;
| KcContext.SamlPostForm
| KcContext.DeleteCredential;
assert<KcContext["themeType"] extends ThemeType ? true : false>();
@ -489,6 +490,17 @@ export declare namespace KcContext {
| "kcAuthenticatorWebAuthnPasswordlessClass";
};
}
export type DeleteCredential = Common & {
pageId: "delete-credential.ftl";
credentialLabel: string;
/*
credential: {
id: string;
userLabel: string;
};
*/
};
}
export type Attribute = {