@keycloakify/angular 0.0.1-rc.18 → 0.0.1-rc.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/account/containers/template/template.component.d.ts +18 -5
  2. package/account/pages/account/account.component.d.ts +3 -2
  3. package/account/pages/applications/applications.component.d.ts +3 -2
  4. package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +3 -2
  5. package/account/pages/log/log.component.d.ts +3 -2
  6. package/account/pages/password/password.component.d.ts +3 -2
  7. package/account/pages/sessions/sessions.component.d.ts +3 -2
  8. package/account/pages/totp/totp.component.d.ts +3 -2
  9. package/esm2022/account/containers/template/template.component.mjs +40 -7
  10. package/esm2022/account/pages/account/account.component.mjs +6 -5
  11. package/esm2022/account/pages/applications/applications.component.mjs +6 -5
  12. package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +6 -5
  13. package/esm2022/account/pages/log/log.component.mjs +6 -5
  14. package/esm2022/account/pages/password/password.component.mjs +6 -5
  15. package/esm2022/account/pages/sessions/sessions.component.mjs +6 -5
  16. package/esm2022/account/pages/totp/totp.component.mjs +6 -5
  17. package/esm2022/login/containers/template/template.component.mjs +81 -13
  18. package/esm2022/login/pages/code/code.component.mjs +14 -8
  19. package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +12 -6
  20. package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +10 -9
  21. package/esm2022/login/pages/error/error.component.mjs +14 -8
  22. package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +12 -10
  23. package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +12 -11
  24. package/esm2022/login/pages/info/info.component.mjs +11 -10
  25. package/esm2022/login/pages/login/login.component.mjs +13 -12
  26. package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +12 -11
  27. package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +11 -14
  28. package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +11 -14
  29. package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +10 -13
  30. package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +11 -13
  31. package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +10 -9
  32. package/esm2022/login/pages/login-otp/login-otp.component.mjs +11 -10
  33. package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +10 -9
  34. package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +11 -6
  35. package/esm2022/login/pages/login-password/login-password.component.mjs +13 -11
  36. package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +12 -11
  37. package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +12 -11
  38. package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +11 -10
  39. package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +11 -10
  40. package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +11 -10
  41. package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +11 -10
  42. package/esm2022/login/pages/login-username/login-username.component.mjs +12 -11
  43. package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +10 -9
  44. package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +10 -9
  45. package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +10 -13
  46. package/esm2022/login/pages/register/register.component.mjs +14 -13
  47. package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +14 -15
  48. package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +11 -10
  49. package/esm2022/login/pages/terms/terms.component.mjs +10 -9
  50. package/esm2022/login/pages/update-email/update-email.component.mjs +12 -15
  51. package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +10 -9
  52. package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +11 -10
  53. package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +10 -9
  54. package/fesm2022/keycloakify-angular-account-containers-template.mjs +40 -7
  55. package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -1
  56. package/fesm2022/keycloakify-angular-account-pages-account.mjs +5 -4
  57. package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
  58. package/fesm2022/keycloakify-angular-account-pages-applications.mjs +5 -4
  59. package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
  60. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -4
  61. package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
  62. package/fesm2022/keycloakify-angular-account-pages-log.mjs +5 -4
  63. package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
  64. package/fesm2022/keycloakify-angular-account-pages-password.mjs +5 -4
  65. package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
  66. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +5 -4
  67. package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
  68. package/fesm2022/keycloakify-angular-account-pages-totp.mjs +5 -4
  69. package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
  70. package/fesm2022/keycloakify-angular-login-containers-template.mjs +81 -13
  71. package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
  72. package/fesm2022/keycloakify-angular-login-pages-code.mjs +13 -7
  73. package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
  74. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +11 -5
  75. package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
  76. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +9 -8
  77. package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
  78. package/fesm2022/keycloakify-angular-login-pages-error.mjs +13 -7
  79. package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
  80. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +11 -9
  81. package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
  82. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +11 -10
  83. package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
  84. package/fesm2022/keycloakify-angular-login-pages-info.mjs +10 -9
  85. package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
  86. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +11 -10
  87. package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
  88. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +10 -13
  89. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
  90. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +10 -13
  91. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
  92. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +9 -12
  93. package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
  94. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +10 -12
  95. package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
  96. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +9 -8
  97. package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
  98. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +10 -9
  99. package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
  100. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +9 -8
  101. package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
  102. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +10 -5
  103. package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
  104. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +12 -10
  105. package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
  106. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +11 -10
  107. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
  108. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +11 -10
  109. package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
  110. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +10 -9
  111. package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
  112. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +10 -9
  113. package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
  114. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +10 -9
  115. package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
  116. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +10 -9
  117. package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
  118. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +11 -10
  119. package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
  120. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +9 -8
  121. package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
  122. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +9 -8
  123. package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
  124. package/fesm2022/keycloakify-angular-login-pages-login.mjs +12 -11
  125. package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
  126. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +9 -12
  127. package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
  128. package/fesm2022/keycloakify-angular-login-pages-register.mjs +13 -12
  129. package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
  130. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +13 -14
  131. package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
  132. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +10 -9
  133. package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
  134. package/fesm2022/keycloakify-angular-login-pages-terms.mjs +9 -8
  135. package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
  136. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +11 -14
  137. package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
  138. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +9 -8
  139. package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
  140. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +10 -9
  141. package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
  142. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +9 -8
  143. package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
  144. package/login/containers/template/template.component.d.ts +25 -9
  145. package/login/pages/code/code.component.d.ts +12 -3
  146. package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +11 -2
  147. package/login/pages/delete-credential/delete-credential.component.d.ts +9 -5
  148. package/login/pages/error/error.component.d.ts +11 -2
  149. package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +9 -5
  150. package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +10 -7
  151. package/login/pages/info/info.component.d.ts +9 -5
  152. package/login/pages/login/login.component.d.ts +10 -6
  153. package/login/pages/login-config-totp/login-config-totp.component.d.ts +9 -5
  154. package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +8 -7
  155. package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +8 -7
  156. package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +8 -7
  157. package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +8 -7
  158. package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +9 -5
  159. package/login/pages/login-otp/login-otp.component.d.ts +9 -5
  160. package/login/pages/login-page-expired/login-page-expired.component.d.ts +9 -5
  161. package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +11 -3
  162. package/login/pages/login-password/login-password.component.d.ts +10 -5
  163. package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +9 -5
  164. package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +9 -5
  165. package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +9 -5
  166. package/login/pages/login-reset-password/login-reset-password.component.d.ts +9 -5
  167. package/login/pages/login-update-password/login-update-password.component.d.ts +9 -5
  168. package/login/pages/login-update-profile/login-update-profile.component.d.ts +9 -6
  169. package/login/pages/login-username/login-username.component.d.ts +10 -6
  170. package/login/pages/login-verify-email/login-verify-email.component.d.ts +9 -5
  171. package/login/pages/login-x509-info/login-x509-info.component.d.ts +9 -5
  172. package/login/pages/logout-confirm/logout-confirm.component.d.ts +8 -7
  173. package/login/pages/register/register.component.d.ts +11 -8
  174. package/login/pages/saml-post-form/saml-post-form.component.d.ts +10 -7
  175. package/login/pages/select-authenticator/select-authenticator.component.d.ts +9 -5
  176. package/login/pages/terms/terms.component.d.ts +9 -5
  177. package/login/pages/update-email/update-email.component.d.ts +9 -9
  178. package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +10 -6
  179. package/login/pages/webauthn-error/webauthn-error.component.d.ts +9 -5
  180. package/login/pages/webauthn-register/webauthn-register.component.d.ts +10 -6
  181. package/package.json +8 -8
  182. package/src/account/containers/template/template.component.html +15 -10
  183. package/src/account/containers/template/template.component.ts +54 -7
  184. package/src/account/pages/account/account.component.html +139 -143
  185. package/src/account/pages/account/account.component.ts +4 -3
  186. package/src/account/pages/applications/applications.component.html +128 -136
  187. package/src/account/pages/applications/applications.component.ts +4 -3
  188. package/src/account/pages/federatedIdentity/federatedIdentity.component.html +84 -88
  189. package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +4 -3
  190. package/src/account/pages/log/log.component.html +35 -39
  191. package/src/account/pages/log/log.component.ts +4 -3
  192. package/src/account/pages/password/password.component.html +109 -113
  193. package/src/account/pages/password/password.component.ts +5 -3
  194. package/src/account/pages/sessions/sessions.component.html +52 -56
  195. package/src/account/pages/sessions/sessions.component.ts +4 -3
  196. package/src/account/pages/totp/totp.component.html +234 -238
  197. package/src/account/pages/totp/totp.component.ts +4 -3
  198. package/src/login/containers/template/template.component.html +22 -8
  199. package/src/login/containers/template/template.component.ts +100 -12
  200. package/src/login/pages/code/code.component.html +19 -23
  201. package/src/login/pages/code/code.component.ts +18 -6
  202. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +41 -45
  203. package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +16 -4
  204. package/src/login/pages/delete-credential/delete-credential.component.html +29 -31
  205. package/src/login/pages/delete-credential/delete-credential.component.ts +16 -9
  206. package/src/login/pages/error/error.component.html +20 -22
  207. package/src/login/pages/error/error.component.ts +17 -5
  208. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +25 -34
  209. package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +17 -9
  210. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +29 -38
  211. package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +18 -12
  212. package/src/login/pages/info/info.component.html +39 -48
  213. package/src/login/pages/info/info.component.ts +17 -10
  214. package/src/login/pages/login/login.component.html +184 -194
  215. package/src/login/pages/login/login.component.ts +20 -12
  216. package/src/login/pages/login-config-totp/login-config-totp.component.html +181 -190
  217. package/src/login/pages/login-config-totp/login-config-totp.component.ts +16 -10
  218. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +27 -37
  219. package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +15 -14
  220. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +26 -36
  221. package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +15 -14
  222. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +24 -34
  223. package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +15 -14
  224. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +75 -84
  225. package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +15 -14
  226. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +49 -58
  227. package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +15 -9
  228. package/src/login/pages/login-otp/login-otp.component.html +89 -98
  229. package/src/login/pages/login-otp/login-otp.component.ts +16 -9
  230. package/src/login/pages/login-page-expired/login-page-expired.component.html +26 -33
  231. package/src/login/pages/login-page-expired/login-page-expired.component.ts +15 -9
  232. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +181 -188
  233. package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +15 -5
  234. package/src/login/pages/login-password/login-password.component.html +73 -80
  235. package/src/login/pages/login-password/login-password.component.ts +17 -9
  236. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +136 -145
  237. package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +17 -9
  238. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +60 -68
  239. package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +16 -9
  240. package/src/login/pages/login-reset-otp/login-reset-otp.component.html +53 -60
  241. package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +15 -8
  242. package/src/login/pages/login-reset-password/login-reset-password.component.html +77 -86
  243. package/src/login/pages/login-reset-password/login-reset-password.component.ts +16 -9
  244. package/src/login/pages/login-update-password/login-update-password.component.html +98 -108
  245. package/src/login/pages/login-update-password/login-update-password.component.ts +15 -8
  246. package/src/login/pages/login-update-profile/login-update-profile.component.html +44 -53
  247. package/src/login/pages/login-update-profile/login-update-profile.component.ts +17 -10
  248. package/src/login/pages/login-username/login-username.component.html +138 -148
  249. package/src/login/pages/login-username/login-username.component.ts +16 -9
  250. package/src/login/pages/login-verify-email/login-verify-email.component.html +17 -25
  251. package/src/login/pages/login-verify-email/login-verify-email.component.ts +15 -9
  252. package/src/login/pages/login-x509-info/login-x509-info.component.html +85 -94
  253. package/src/login/pages/login-x509-info/login-x509-info.component.ts +15 -9
  254. package/src/login/pages/logout-confirm/logout-confirm.component.html +39 -49
  255. package/src/login/pages/logout-confirm/logout-confirm.component.ts +15 -14
  256. package/src/login/pages/register/register.component.html +100 -110
  257. package/src/login/pages/register/register.component.ts +19 -12
  258. package/src/login/pages/saml-post-form/saml-post-form.component.html +39 -48
  259. package/src/login/pages/saml-post-form/saml-post-form.component.ts +19 -13
  260. package/src/login/pages/select-authenticator/select-authenticator.component.html +36 -44
  261. package/src/login/pages/select-authenticator/select-authenticator.component.ts +16 -9
  262. package/src/login/pages/terms/terms.component.html +25 -34
  263. package/src/login/pages/terms/terms.component.ts +16 -9
  264. package/src/login/pages/update-email/update-email.component.html +44 -53
  265. package/src/login/pages/update-email/update-email.component.ts +16 -15
  266. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +134 -144
  267. package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +16 -9
  268. package/src/login/pages/webauthn-error/webauthn-error.component.html +45 -55
  269. package/src/login/pages/webauthn-error/webauthn-error.component.ts +16 -9
  270. package/src/login/pages/webauthn-register/webauthn-register.component.html +65 -75
  271. package/src/login/pages/webauthn-register/webauthn-register.component.ts +16 -9
@@ -2,158 +2,148 @@
2
2
  @let authenticators = kcContext.authenticators;
3
3
  @let shouldDisplayAuthenticators = kcContext.shouldDisplayAuthenticators;
4
4
 
5
- <kc-login-template
6
- [displayInfo]="displayInfo"
7
- [bodyClassName]="bodyClassName()"
8
- [displayMessage]="displayMessage"
9
- [displayRequiredFields]="displayRequiredFields()"
10
- [documentTitle]="documentTitle()"
11
- >
12
- <ng-container headerNode>
13
- {{ i18n.msgStr('webauthn-login-title') }}
14
- </ng-container>
15
- <ng-container infoNode>
16
- <div id="kc-registration">
17
- <span>
18
- {{ i18n.msgStr('noAccount') }}
19
- <a
20
- tabIndex="6"
21
- [href]="url.registrationUrl"
22
- >
23
- {{ i18n.msgStr('doRegister') }}
24
- </a>
25
- </span>
26
- </div>
27
- </ng-container>
28
- <ng-container content>
29
- <div
30
- id="kc-form-webauthn"
31
- [kcClass]="'kcFormClass'"
32
- >
33
- <form
34
- id="webauth"
35
- method="post"
36
- [action]="url.loginAction"
5
+ <ng-template #headerNode>
6
+ {{ i18n.msgStr('webauthn-login-title') }}
7
+ </ng-template>
8
+ <ng-template #infoNode>
9
+ <div id="kc-registration">
10
+ <span>
11
+ {{ i18n.msgStr('noAccount') }}
12
+ <a
13
+ tabIndex="6"
14
+ [href]="url.registrationUrl"
37
15
  >
38
- <input
39
- type="hidden"
40
- id="clientDataJSON"
41
- name="clientDataJSON"
42
- />
43
- <input
44
- type="hidden"
45
- id="authenticatorData"
46
- name="authenticatorData"
47
- />
48
- <input
49
- type="hidden"
50
- id="signature"
51
- name="signature"
52
- />
53
- <input
54
- type="hidden"
55
- id="credentialId"
56
- name="credentialId"
57
- />
58
- <input
59
- type="hidden"
60
- id="userHandle"
61
- name="userHandle"
62
- />
63
- <input
64
- type="hidden"
65
- id="error"
66
- name="error"
67
- />
68
- </form>
16
+ {{ i18n.msgStr('doRegister') }}
17
+ </a>
18
+ </span>
19
+ </div>
20
+ </ng-template>
21
+ <div
22
+ id="kc-form-webauthn"
23
+ [kcClass]="'kcFormClass'"
24
+ >
25
+ <form
26
+ id="webauth"
27
+ method="post"
28
+ [action]="url.loginAction"
29
+ >
30
+ <input
31
+ type="hidden"
32
+ id="clientDataJSON"
33
+ name="clientDataJSON"
34
+ />
35
+ <input
36
+ type="hidden"
37
+ id="authenticatorData"
38
+ name="authenticatorData"
39
+ />
40
+ <input
41
+ type="hidden"
42
+ id="signature"
43
+ name="signature"
44
+ />
45
+ <input
46
+ type="hidden"
47
+ id="credentialId"
48
+ name="credentialId"
49
+ />
50
+ <input
51
+ type="hidden"
52
+ id="userHandle"
53
+ name="userHandle"
54
+ />
55
+ <input
56
+ type="hidden"
57
+ id="error"
58
+ name="error"
59
+ />
60
+ </form>
69
61
 
70
- <div
71
- class="no-bottom-margin"
72
- [kcClass]="'kcFormGroupClass'"
62
+ <div
63
+ class="no-bottom-margin"
64
+ [kcClass]="'kcFormGroupClass'"
65
+ >
66
+ @if (authenticators) {
67
+ <form
68
+ id="authn_select"
69
+ [kcClass]="'kcFormClass'"
73
70
  >
74
- @if (authenticators) {
75
- <form
76
- id="authn_select"
77
- [kcClass]="'kcFormClass'"
78
- >
79
- @for (authenticator of authenticators.authenticators; track authenticator.credentialId) {
80
- <input
81
- type="hidden"
82
- name="authn_use_chk"
83
- [value]="authenticator.credentialId"
84
- />
85
- }
86
- @if (shouldDisplayAuthenticators) {
87
- @if (authenticators.authenticators.length > 1) {
88
- <p [kcClass]="'kcSelectAuthListItemTitle'">
89
- {{ i18n.msgStr('webauthn-available-authenticators') }}
90
- </p>
91
- }
92
- <div [kcClass]="'kcFormOptionsClass'">
93
- @for (authenticator of authenticators.authenticators; track authenticator.credentialId; let i = $index) {
94
- <div
95
- [id]="'kc-webauthn-authenticator-item-' + i"
96
- [kcClass]="'kcSelectAuthListItemClass'"
97
- >
98
- <div [kcClass]="'kcSelectAuthListItemIconClass'">
99
- <i
100
- [ngClass]="selectAuthListItemIconClass(authenticator.transports.iconClass)"
101
- [kcClass]="'kcSelectAuthListItemIconPropertyClass'"
102
- ></i>
103
- <div [kcClass]="'kcSelectAuthListItemArrowIconClass'">
104
- <div
105
- [id]="'kc-webauthn-authenticator-label-' + i"
106
- [kcClass]="'kcSelectAuthListItemHeadingClass'"
107
- >
108
- {{ i18n.advancedMsgStr(authenticator.label) }}
109
- </div>
110
- @if (authenticator.transports.displayNameProperties?.length) {
111
- <div
112
- [id]="'kc-webauthn-authenticator-transport-' + i"
113
- [kcClass]="'kcSelectAuthListItemDescriptionClass'"
114
- >
115
- @for (
116
- displayNameProperty of authenticator.transports.displayNameProperties;
117
- track displayNameProperty;
118
- let last = $last
119
- ) {
120
- {{ i18n.advancedMsgStr(displayNameProperty) }}
121
- @if (!last) {
122
- <span>, </span>
123
- }
124
- }
125
- </div>
126
- <div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
127
- <span [id]="'kc-webauthn-authenticator-createdlabel-' + i">
128
- {{ i18n.msgStr('webauthn-createdAt-label') }}
129
- </span>
130
- <span [id]="'kc-webauthn-authenticator-created-' + i">{{ authenticator.createdAt }}</span>
131
- </div>
132
- <div [kcClass]="'kcSelectAuthListItemFillClass'"></div>
71
+ @for (authenticator of authenticators.authenticators; track authenticator.credentialId) {
72
+ <input
73
+ type="hidden"
74
+ name="authn_use_chk"
75
+ [value]="authenticator.credentialId"
76
+ />
77
+ }
78
+ @if (shouldDisplayAuthenticators) {
79
+ @if (authenticators.authenticators.length > 1) {
80
+ <p [kcClass]="'kcSelectAuthListItemTitle'">
81
+ {{ i18n.msgStr('webauthn-available-authenticators') }}
82
+ </p>
83
+ }
84
+ <div [kcClass]="'kcFormOptionsClass'">
85
+ @for (authenticator of authenticators.authenticators; track authenticator.credentialId; let i = $index) {
86
+ <div
87
+ [id]="'kc-webauthn-authenticator-item-' + i"
88
+ [kcClass]="'kcSelectAuthListItemClass'"
89
+ >
90
+ <div [kcClass]="'kcSelectAuthListItemIconClass'">
91
+ <i
92
+ [ngClass]="selectAuthListItemIconClass(authenticator.transports.iconClass)"
93
+ [kcClass]="'kcSelectAuthListItemIconPropertyClass'"
94
+ ></i>
95
+ <div [kcClass]="'kcSelectAuthListItemArrowIconClass'">
96
+ <div
97
+ [id]="'kc-webauthn-authenticator-label-' + i"
98
+ [kcClass]="'kcSelectAuthListItemHeadingClass'"
99
+ >
100
+ {{ i18n.advancedMsgStr(authenticator.label) }}
101
+ </div>
102
+ @if (authenticator.transports.displayNameProperties?.length) {
103
+ <div
104
+ [id]="'kc-webauthn-authenticator-transport-' + i"
105
+ [kcClass]="'kcSelectAuthListItemDescriptionClass'"
106
+ >
107
+ @for (
108
+ displayNameProperty of authenticator.transports.displayNameProperties;
109
+ track displayNameProperty;
110
+ let last = $last
111
+ ) {
112
+ {{ i18n.advancedMsgStr(displayNameProperty) }}
113
+ @if (!last) {
114
+ <span>, </span>
115
+ }
133
116
  }
134
117
  </div>
135
- </div>
118
+ <div [kcClass]="'kcSelectAuthListItemDescriptionClass'">
119
+ <span [id]="'kc-webauthn-authenticator-createdlabel-' + i">
120
+ {{ i18n.msgStr('webauthn-createdAt-label') }}
121
+ </span>
122
+ <span [id]="'kc-webauthn-authenticator-created-' + i">{{ authenticator.createdAt }}</span>
123
+ </div>
124
+ <div [kcClass]="'kcSelectAuthListItemFillClass'"></div>
125
+ }
136
126
  </div>
137
- }
127
+ </div>
138
128
  </div>
139
129
  }
140
- </form>
130
+ </div>
141
131
  }
132
+ </form>
133
+ }
142
134
 
143
- <div
144
- id="kc-form-buttons"
145
- [kcClass]="'kcFormButtonsClass'"
146
- >
147
- <input
148
- type="button"
149
- autofocus
150
- name="cancel-aia"
151
- [id]="authButtonId"
152
- [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
153
- [value]="i18n.msgStr('webauthn-doAuthenticate')"
154
- />
155
- </div>
156
- </div>
135
+ <div
136
+ id="kc-form-buttons"
137
+ [kcClass]="'kcFormButtonsClass'"
138
+ >
139
+ <input
140
+ type="button"
141
+ autofocus
142
+ name="cancel-aia"
143
+ [id]="authButtonId"
144
+ [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
145
+ [value]="i18n.msgStr('webauthn-doAuthenticate')"
146
+ />
157
147
  </div>
158
- </ng-container>
159
- </kc-login-template>
148
+ </div>
149
+ </div>
@@ -1,22 +1,22 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
2
2
  import { type Script } from '@keycloakify/angular/lib/models/script';
3
3
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
4
4
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
5
5
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
6
6
  import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
7
7
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
8
+ import type { I18n } from '../../i18n';
9
+ import type { KcContext } from '../../KcContext';
8
10
  import { LoginResourceInjectorService } from '@keycloakify/angular/login/services/login-resource-injector';
9
11
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
12
  import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
11
13
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
12
14
  import { type ClassKey, getKcClsx } from 'keycloakify/login/lib/kcClsx';
13
- import type { I18n } from '../../i18n';
14
- import type { KcContext } from '../../KcContext';
15
15
 
16
16
  @Component({
17
17
  standalone: true,
18
18
  imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],
19
- selector: 'kc-root',
19
+ selector: 'kc-webauthn-authenticate',
20
20
  templateUrl: 'webauthn-authenticate.component.html',
21
21
  changeDetection: ChangeDetectionStrategy.OnPush,
22
22
  providers: [
@@ -30,13 +30,20 @@ export class WebauthnAuthenticateComponent extends ComponentReference {
30
30
  kcContext = inject<Extract<KcContext, { pageId: 'webauthn-authenticate.ftl' }>>(KC_LOGIN_CONTEXT);
31
31
  loginResourceInjectorService = inject(LoginResourceInjectorService);
32
32
  i18n = inject<I18n>(LOGIN_I18N);
33
+
33
34
  override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
34
35
  override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
35
- displayRequiredFields = input(false);
36
- documentTitle = input<string>();
37
- bodyClassName = input<string>();
38
- displayInfo: boolean = false;
39
- displayMessage: boolean = true;
36
+
37
+ documentTitle: string | undefined;
38
+ bodyClassName: string | undefined;
39
+
40
+ displayRequiredFields = false;
41
+ displayInfo = false;
42
+ displayMessage = true;
43
+
44
+ headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
45
+ infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
46
+ socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
40
47
 
41
48
  authButtonId = 'authenticateWebAuthnButton';
42
49
 
@@ -1,60 +1,50 @@
1
1
  @let url = kcContext.url;
2
2
  @let isAppInitiatedAction = kcContext.isAppInitiatedAction;
3
3
 
4
- <kc-login-template
5
- [displayInfo]="displayInfo"
6
- [bodyClassName]="bodyClassName()"
7
- [displayMessage]="displayMessage"
8
- [displayRequiredFields]="displayRequiredFields()"
9
- [documentTitle]="documentTitle()"
4
+ <ng-template #headerNode>
5
+ {{ i18n.msgStr('webauthn-error-title') }}
6
+ </ng-template>
7
+ <form
8
+ id="kc-error-credential-form"
9
+ method="post"
10
+ [kcClass]="'kcFormClass'"
11
+ [action]="url.loginAction"
10
12
  >
11
- <ng-container headerNode>
12
- {{ i18n.msgStr('webauthn-error-title') }}
13
- </ng-container>
14
- <ng-container content>
15
- <form
16
- id="kc-error-credential-form"
17
- method="post"
18
- [kcClass]="'kcFormClass'"
19
- [action]="url.loginAction"
13
+ <input
14
+ type="hidden"
15
+ id="executionValue"
16
+ name="authenticationExecution"
17
+ />
18
+ <input
19
+ type="hidden"
20
+ id="isSetRetry"
21
+ name="isSetRetry"
22
+ />
23
+ </form>
24
+ <input
25
+ tabIndex="4"
26
+ type="button"
27
+ name="try-again"
28
+ id="kc-try-again"
29
+ [kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
30
+ [value]="i18n.msgStr('doTryAgain')"
31
+ (click)="onClick()"
32
+ />
33
+ @if (isAppInitiatedAction) {
34
+ <form
35
+ id="kc-webauthn-settings-form"
36
+ method="post"
37
+ [action]="url.loginAction"
38
+ [kcClass]="'kcFormClass'"
39
+ >
40
+ <button
41
+ type="submit"
42
+ id="cancelWebAuthnAIA"
43
+ name="cancel-aia"
44
+ value="true"
45
+ [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
20
46
  >
21
- <input
22
- type="hidden"
23
- id="executionValue"
24
- name="authenticationExecution"
25
- />
26
- <input
27
- type="hidden"
28
- id="isSetRetry"
29
- name="isSetRetry"
30
- />
31
- </form>
32
- <input
33
- tabIndex="4"
34
- type="button"
35
- name="try-again"
36
- id="kc-try-again"
37
- [kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
38
- [value]="i18n.msgStr('doTryAgain')"
39
- (click)="onClick()"
40
- />
41
- @if (isAppInitiatedAction) {
42
- <form
43
- id="kc-webauthn-settings-form"
44
- method="post"
45
- [action]="url.loginAction"
46
- [kcClass]="'kcFormClass'"
47
- >
48
- <button
49
- type="submit"
50
- id="cancelWebAuthnAIA"
51
- name="cancel-aia"
52
- value="true"
53
- [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
54
- >
55
- {{ i18n.msgStr('doCancel') }}
56
- </button>
57
- </form>
58
- }
59
- </ng-container>
60
- </kc-login-template>
47
+ {{ i18n.msgStr('doCancel') }}
48
+ </button>
49
+ </form>
50
+ }
@@ -1,20 +1,20 @@
1
- import { ChangeDetectionStrategy, Component, forwardRef, inject, input } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
2
2
  import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
3
3
  import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
4
4
  import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
5
5
  import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
6
6
  import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
7
- import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
8
7
  import type { I18n } from '../../i18n';
8
+ import type { KcContext } from '../../KcContext';
9
9
  import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
10
+ import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
10
11
  import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
11
12
  import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
12
- import type { KcContext } from '../../KcContext';
13
13
 
14
14
  @Component({
15
15
  standalone: true,
16
16
  imports: [TemplateComponent, KcClassDirective, LogoutOtherSessionsComponent],
17
- selector: 'kc-root',
17
+ selector: 'kc-webauthn-error',
18
18
  templateUrl: 'webauthn-error.component.html',
19
19
  changeDetection: ChangeDetectionStrategy.OnPush,
20
20
  providers: [
@@ -27,13 +27,20 @@ import type { KcContext } from '../../KcContext';
27
27
  export class WebauthnErrorComponent extends ComponentReference {
28
28
  kcContext = inject<Extract<KcContext, { pageId: 'webauthn-error.ftl' }>>(KC_LOGIN_CONTEXT);
29
29
  i18n = inject<I18n>(LOGIN_I18N);
30
+
30
31
  override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
31
32
  override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
32
- displayRequiredFields = input(false);
33
- documentTitle = input<string>();
34
- bodyClassName = input<string>();
35
- displayInfo: boolean = false;
36
- displayMessage: boolean = true;
33
+
34
+ documentTitle: string | undefined;
35
+ bodyClassName: string | undefined;
36
+
37
+ displayRequiredFields = false;
38
+ displayInfo = false;
39
+ displayMessage = true;
40
+
41
+ headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
42
+ infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
43
+ socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
37
44
 
38
45
  onClick() {
39
46
  // @ts-expect-error: Trusted Keycloak's code
@@ -2,81 +2,71 @@
2
2
  @let isSetRetry = kcContext.isSetRetry;
3
3
  @let isAppInitiatedAction = kcContext.isAppInitiatedAction;
4
4
 
5
- <kc-login-template
6
- [displayInfo]="displayInfo"
7
- [bodyClassName]="bodyClassName()"
8
- [displayMessage]="displayMessage"
9
- [displayRequiredFields]="displayRequiredFields()"
10
- [documentTitle]="documentTitle()"
5
+ <ng-template #headerNode>
6
+ <span [kcClass]="'kcWebAuthnKeyIcon'"></span>
7
+ {{ i18n.msgStr('webauthn-registration-title') }}
8
+ </ng-template>
9
+ <form
10
+ id="register"
11
+ method="post"
12
+ [kcClass]="'kcFormClass'"
13
+ [action]="url.loginAction"
11
14
  >
12
- <ng-container headerNode>
13
- <span [kcClass]="'kcWebAuthnKeyIcon'"></span>
14
- {{ i18n.msgStr('webauthn-registration-title') }}
15
- </ng-container>
16
- <ng-container content>
17
- <form
18
- id="register"
19
- method="post"
20
- [kcClass]="'kcFormClass'"
21
- [action]="url.loginAction"
22
- >
23
- <div [kcClass]="'kcFormGroupClass'">
24
- <input
25
- type="hidden"
26
- id="clientDataJSON"
27
- name="clientDataJSON"
28
- />
29
- <input
30
- type="hidden"
31
- id="attestationObject"
32
- name="attestationObject"
33
- />
34
- <input
35
- type="hidden"
36
- id="publicKeyCredentialId"
37
- name="publicKeyCredentialId"
38
- />
39
- <input
40
- type="hidden"
41
- id="authenticatorLabel"
42
- name="authenticatorLabel"
43
- />
44
- <input
45
- type="hidden"
46
- id="transports"
47
- name="transports"
48
- />
49
- <input
50
- type="hidden"
51
- id="error"
52
- name="error"
53
- />
54
- <kc-logout-other-sessions />
55
- </div>
56
- </form>
15
+ <div [kcClass]="'kcFormGroupClass'">
57
16
  <input
58
- type="submit"
59
- [kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
60
- [id]="authButtonId"
61
- [value]="i18n.msgStr('doRegisterSecurityKey')"
17
+ type="hidden"
18
+ id="clientDataJSON"
19
+ name="clientDataJSON"
20
+ />
21
+ <input
22
+ type="hidden"
23
+ id="attestationObject"
24
+ name="attestationObject"
25
+ />
26
+ <input
27
+ type="hidden"
28
+ id="publicKeyCredentialId"
29
+ name="publicKeyCredentialId"
30
+ />
31
+ <input
32
+ type="hidden"
33
+ id="authenticatorLabel"
34
+ name="authenticatorLabel"
35
+ />
36
+ <input
37
+ type="hidden"
38
+ id="transports"
39
+ name="transports"
62
40
  />
63
- @if (!isSetRetry && isAppInitiatedAction) {
64
- <form
65
- id="kc-webauthn-settings-form"
66
- method="post"
67
- [action]="url.loginAction"
68
- [kcClass]="'kcFormClass'"
69
- >
70
- <button
71
- type="submit"
72
- id="cancelWebAuthnAIA"
73
- name="cancel-aia"
74
- value="true"
75
- [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
76
- >
77
- {{ i18n.msgStr('doCancel') }}
78
- </button>
79
- </form>
80
- }
81
- </ng-container>
82
- </kc-login-template>
41
+ <input
42
+ type="hidden"
43
+ id="error"
44
+ name="error"
45
+ />
46
+ <kc-logout-other-sessions />
47
+ </div>
48
+ </form>
49
+ <input
50
+ type="submit"
51
+ [kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
52
+ [id]="authButtonId"
53
+ [value]="i18n.msgStr('doRegisterSecurityKey')"
54
+ />
55
+ @if (!isSetRetry && isAppInitiatedAction) {
56
+ <form
57
+ id="kc-webauthn-settings-form"
58
+ method="post"
59
+ [action]="url.loginAction"
60
+ [kcClass]="'kcFormClass'"
61
+ >
62
+ <button
63
+ type="submit"
64
+ id="cancelWebAuthnAIA"
65
+ name="cancel-aia"
66
+ value="true"
67
+ [kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
68
+ >
69
+ {{ i18n.msgStr('doCancel') }}
70
+ </button>
71
+ </form>
72
+ }