Add webauthn-register.ftl page

This commit is contained in:
Joseph Garrone
2024-05-10 21:12:35 +02:00
parent 5cfb289736
commit 652643f189
5 changed files with 309 additions and 1 deletions

View File

@ -23,6 +23,7 @@ export type KcContext =
| KcContext.LoginOtp
| KcContext.LoginUsername
| KcContext.WebauthnAuthenticate
| KcContext.WebauthnRegister
| KcContext.LoginPassword
| KcContext.LoginUpdatePassword
| KcContext.LoginUpdateProfile
@ -362,6 +363,24 @@ export declare namespace KcContext {
};
}
export type WebauthnRegister = Common & {
pageId: "webauthn-register.ftl";
challenge: string;
userid: string;
username: string;
signatureAlgorithms: string[];
rpEntityName: string;
rpId: string;
attestationConveyancePreference: string;
authenticatorAttachment: string;
requireResidentKey: string;
userVerificationRequirement: string;
createTimeout: string;
excludeCredentialIds: string;
isSetRetry?: boolean;
isAppInitiatedAction?: boolean;
};
export type LoginUpdatePassword = Common & {
pageId: "login-update-password.ftl";
username: string;