@keycloakify/angular 0.0.1-rc.17 → 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.
- package/account/containers/template/template.component.d.ts +18 -5
- package/account/pages/account/account.component.d.ts +3 -2
- package/account/pages/applications/applications.component.d.ts +3 -2
- package/account/pages/federatedIdentity/federatedIdentity.component.d.ts +3 -2
- package/account/pages/log/log.component.d.ts +3 -2
- package/account/pages/password/password.component.d.ts +3 -2
- package/account/pages/sessions/sessions.component.d.ts +3 -2
- package/account/pages/totp/totp.component.d.ts +3 -2
- package/esm2022/account/containers/template/template.component.mjs +42 -9
- package/esm2022/account/directives/kc-class/kc-class.directive.mjs +3 -3
- package/esm2022/account/pages/account/account.component.mjs +8 -7
- package/esm2022/account/pages/applications/applications.component.mjs +8 -7
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +8 -7
- package/esm2022/account/pages/log/log.component.mjs +8 -7
- package/esm2022/account/pages/password/password.component.mjs +9 -7
- package/esm2022/account/pages/sessions/sessions.component.mjs +8 -7
- package/esm2022/account/pages/totp/totp.component.mjs +8 -7
- package/esm2022/account/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -1
- package/esm2022/account/services/account-resource-injector/account-resource-injector.service.mjs +3 -3
- package/esm2022/account/services/i18n/i18n.service.mjs +3 -3
- package/esm2022/lib/directives/attributes/attributes.directive.mjs +3 -3
- package/esm2022/lib/pipes/input-type/input-type.pipe.mjs +3 -3
- package/esm2022/lib/pipes/is-array-with-empty-object/is-array-with-empty-object.pipe.mjs +3 -3
- package/esm2022/lib/pipes/kc-sanitize/kc-sanitize.pipe.mjs +3 -3
- package/esm2022/lib/pipes/to-array/to-array.pipe.mjs +3 -3
- package/esm2022/lib/pipes/to-number/to-number.pipe.mjs +3 -3
- package/esm2022/lib/services/resource-injector/resource-injector.service.mjs +3 -3
- package/esm2022/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.mjs +5 -5
- package/esm2022/login/components/field-errors/field-errors.component.mjs +6 -6
- package/esm2022/login/components/group-label/group-label.component.mjs +3 -3
- package/esm2022/login/components/input-field-by-type/input-field-by-type.component.mjs +6 -6
- package/esm2022/login/components/input-tag/input-tag.component.mjs +6 -6
- package/esm2022/login/components/input-tag-selects/input-tag-selects.component.mjs +3 -3
- package/esm2022/login/components/logout-other-sessions/logout-other-sessions.component.mjs +3 -3
- package/esm2022/login/components/password-wrapper/password-wrapper.component.mjs +6 -6
- package/esm2022/login/components/select-tag/select-tag.component.mjs +3 -3
- package/esm2022/login/components/textarea-tag/textarea-tag.component.mjs +3 -3
- package/esm2022/login/components/user-profile-form-fields/user-profile-form-fields.component.mjs +6 -6
- package/esm2022/login/containers/template/template.component.mjs +83 -15
- package/esm2022/login/directives/kc-class/kc-class.directive.mjs +5 -5
- package/esm2022/login/pages/code/code.component.mjs +16 -10
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +14 -8
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +12 -11
- package/esm2022/login/pages/error/error.component.mjs +16 -10
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +14 -12
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +14 -13
- package/esm2022/login/pages/info/info.component.mjs +13 -12
- package/esm2022/login/pages/login/login.component.mjs +15 -14
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +14 -13
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +13 -16
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +13 -16
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +12 -15
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +13 -15
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +12 -11
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +13 -12
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +12 -11
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +13 -8
- package/esm2022/login/pages/login-password/login-password.component.mjs +15 -13
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +14 -13
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +14 -13
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +13 -12
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +13 -12
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +13 -12
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +13 -12
- package/esm2022/login/pages/login-username/login-username.component.mjs +14 -13
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +12 -11
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +12 -11
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +12 -15
- package/esm2022/login/pages/register/register.component.mjs +16 -15
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +16 -17
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +13 -12
- package/esm2022/login/pages/terms/terms.component.mjs +12 -11
- package/esm2022/login/pages/update-email/update-email.component.mjs +14 -17
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +12 -11
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +13 -12
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +12 -11
- package/esm2022/login/providers/keycloakify-angular/keycloakify-angular.providers.mjs +2 -1
- package/esm2022/login/services/i18n/i18n.service.mjs +3 -3
- package/esm2022/login/services/login-resource-injector/login-resource-injector.service.mjs +3 -3
- package/esm2022/login/services/submit/submit.service.mjs +4 -4
- package/esm2022/login/services/user-profile-form/user-profile-form.service.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-containers-template.mjs +42 -9
- package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-directives-kc-class.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +8 -6
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +7 -6
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs +1 -0
- package/fesm2022/keycloakify-angular-account-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-services-account-resource-injector.mjs +3 -3
- package/fesm2022/keycloakify-angular-account-services-i18n.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-directives-attributes.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-input-type.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-is-array-with-empty-object.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-kc-sanitize.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-to-array.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-pipes-to-number.mjs +3 -3
- package/fesm2022/keycloakify-angular-lib-services-resource-injector.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs +4 -4
- package/fesm2022/keycloakify-angular-login-components-add-remove-buttons-multi-valued-attribute.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs +5 -5
- package/fesm2022/keycloakify-angular-login-components-field-errors.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-group-label.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs +5 -5
- package/fesm2022/keycloakify-angular-login-components-input-field-by-type.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-input-tag-selects.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs +5 -5
- package/fesm2022/keycloakify-angular-login-components-input-tag.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-logout-other-sessions.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs +5 -5
- package/fesm2022/keycloakify-angular-login-components-password-wrapper.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-components-select-tag.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-textarea-tag.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs +5 -5
- package/fesm2022/keycloakify-angular-login-components-user-profile-form-fields.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +83 -15
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs +4 -4
- package/fesm2022/keycloakify-angular-login-directives-kc-class.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +15 -9
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +13 -7
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +15 -9
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +13 -11
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs +12 -15
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm-override.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs +12 -15
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs +11 -14
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +12 -14
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-login-oauth2-device-verify-user-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +12 -7
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +14 -12
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-input.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +14 -13
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +11 -14
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +15 -14
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +15 -16
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +13 -16
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs +1 -0
- package/fesm2022/keycloakify-angular-login-providers-keycloakify-angular.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-services-i18n.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-services-login-resource-injector.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-services-submit.mjs +3 -3
- package/fesm2022/keycloakify-angular-login-services-submit.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-services-user-profile-form.mjs +3 -3
- package/login/containers/template/template.component.d.ts +25 -9
- package/login/directives/kc-class/kc-class.directive.d.ts +1 -1
- package/login/pages/code/code.component.d.ts +12 -3
- package/login/pages/delete-account-confirm/delete-account-confirm.component.d.ts +11 -2
- package/login/pages/delete-credential/delete-credential.component.d.ts +9 -5
- package/login/pages/error/error.component.d.ts +11 -2
- package/login/pages/frontchannel-logout/frontchannel-logout.component.d.ts +9 -5
- package/login/pages/idp-review-user-profile/idp-review-user-profile.component.d.ts +10 -7
- package/login/pages/info/info.component.d.ts +9 -5
- package/login/pages/login/login.component.d.ts +10 -6
- package/login/pages/login-config-totp/login-config-totp.component.d.ts +9 -5
- package/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.d.ts +8 -7
- package/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.d.ts +8 -7
- package/login/pages/login-idp-link-email/login-idp-link-email.component.d.ts +8 -7
- package/login/pages/login-oauth-grant/login-oauth-grant.component.d.ts +8 -7
- package/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.d.ts +9 -5
- package/login/pages/login-otp/login-otp.component.d.ts +9 -5
- package/login/pages/login-page-expired/login-page-expired.component.d.ts +9 -5
- package/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.d.ts +11 -3
- package/login/pages/login-password/login-password.component.d.ts +10 -5
- package/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.d.ts +9 -5
- package/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.d.ts +9 -5
- package/login/pages/login-reset-otp/login-reset-otp.component.d.ts +9 -5
- package/login/pages/login-reset-password/login-reset-password.component.d.ts +9 -5
- package/login/pages/login-update-password/login-update-password.component.d.ts +9 -5
- package/login/pages/login-update-profile/login-update-profile.component.d.ts +9 -6
- package/login/pages/login-username/login-username.component.d.ts +10 -6
- package/login/pages/login-verify-email/login-verify-email.component.d.ts +9 -5
- package/login/pages/login-x509-info/login-x509-info.component.d.ts +9 -5
- package/login/pages/logout-confirm/logout-confirm.component.d.ts +8 -7
- package/login/pages/register/register.component.d.ts +11 -8
- package/login/pages/saml-post-form/saml-post-form.component.d.ts +10 -7
- package/login/pages/select-authenticator/select-authenticator.component.d.ts +9 -5
- package/login/pages/terms/terms.component.d.ts +9 -5
- package/login/pages/update-email/update-email.component.d.ts +9 -9
- package/login/pages/webauthn-authenticate/webauthn-authenticate.component.d.ts +10 -6
- package/login/pages/webauthn-error/webauthn-error.component.d.ts +9 -5
- package/login/pages/webauthn-register/webauthn-register.component.d.ts +10 -6
- package/package.json +8 -8
- package/src/account/containers/template/template.component.html +16 -11
- package/src/account/containers/template/template.component.ts +54 -7
- package/src/account/pages/account/account.component.html +139 -143
- package/src/account/pages/account/account.component.ts +4 -3
- package/src/account/pages/applications/applications.component.html +128 -136
- package/src/account/pages/applications/applications.component.ts +4 -3
- package/src/account/pages/federatedIdentity/federatedIdentity.component.html +84 -88
- package/src/account/pages/federatedIdentity/federatedIdentity.component.ts +4 -3
- package/src/account/pages/log/log.component.html +35 -39
- package/src/account/pages/log/log.component.ts +4 -3
- package/src/account/pages/password/password.component.html +109 -113
- package/src/account/pages/password/password.component.ts +6 -3
- package/src/account/pages/sessions/sessions.component.html +52 -56
- package/src/account/pages/sessions/sessions.component.ts +4 -3
- package/src/account/pages/totp/totp.component.html +234 -238
- package/src/account/pages/totp/totp.component.ts +4 -3
- package/src/account/providers/keycloakify-angular/keycloakify-angular.providers.ts +1 -0
- package/src/login/components/add-remove-buttons-multi-valued-attribute/add-remove-buttons-multi-valued-attribute.component.html +2 -2
- package/src/login/components/field-errors/field-errors.component.html +1 -1
- package/src/login/components/input-field-by-type/input-field-by-type.component.html +6 -6
- package/src/login/components/input-tag/input-tag.component.html +2 -2
- package/src/login/components/password-wrapper/password-wrapper.component.html +2 -2
- package/src/login/components/user-profile-form-fields/user-profile-form-fields.component.html +7 -11
- package/src/login/containers/template/template.component.html +29 -15
- package/src/login/containers/template/template.component.ts +100 -12
- package/src/login/directives/kc-class/kc-class.directive.ts +1 -2
- package/src/login/pages/code/code.component.html +19 -23
- package/src/login/pages/code/code.component.ts +18 -6
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.html +41 -45
- package/src/login/pages/delete-account-confirm/delete-account-confirm.component.ts +16 -4
- package/src/login/pages/delete-credential/delete-credential.component.html +29 -31
- package/src/login/pages/delete-credential/delete-credential.component.ts +16 -9
- package/src/login/pages/error/error.component.html +20 -22
- package/src/login/pages/error/error.component.ts +17 -5
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.html +25 -34
- package/src/login/pages/frontchannel-logout/frontchannel-logout.component.ts +17 -9
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.html +29 -38
- package/src/login/pages/idp-review-user-profile/idp-review-user-profile.component.ts +18 -12
- package/src/login/pages/info/info.component.html +39 -48
- package/src/login/pages/info/info.component.ts +17 -10
- package/src/login/pages/login/login.component.html +184 -194
- package/src/login/pages/login/login.component.ts +20 -12
- package/src/login/pages/login-config-totp/login-config-totp.component.html +181 -190
- package/src/login/pages/login-config-totp/login-config-totp.component.ts +16 -10
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.html +27 -37
- package/src/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.ts +15 -14
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.html +26 -36
- package/src/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts +15 -14
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.html +24 -34
- package/src/login/pages/login-idp-link-email/login-idp-link-email.component.ts +15 -14
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.html +75 -84
- package/src/login/pages/login-oauth-grant/login-oauth-grant.component.ts +15 -14
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.html +49 -58
- package/src/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.ts +15 -9
- package/src/login/pages/login-otp/login-otp.component.html +89 -98
- package/src/login/pages/login-otp/login-otp.component.ts +16 -9
- package/src/login/pages/login-page-expired/login-page-expired.component.html +26 -33
- package/src/login/pages/login-page-expired/login-page-expired.component.ts +15 -9
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.html +181 -188
- package/src/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.ts +15 -5
- package/src/login/pages/login-password/login-password.component.html +73 -80
- package/src/login/pages/login-password/login-password.component.ts +17 -9
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.html +136 -145
- package/src/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.ts +17 -9
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.html +60 -68
- package/src/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.ts +16 -9
- package/src/login/pages/login-reset-otp/login-reset-otp.component.html +53 -60
- package/src/login/pages/login-reset-otp/login-reset-otp.component.ts +15 -8
- package/src/login/pages/login-reset-password/login-reset-password.component.html +77 -86
- package/src/login/pages/login-reset-password/login-reset-password.component.ts +16 -9
- package/src/login/pages/login-update-password/login-update-password.component.html +98 -108
- package/src/login/pages/login-update-password/login-update-password.component.ts +15 -8
- package/src/login/pages/login-update-profile/login-update-profile.component.html +44 -53
- package/src/login/pages/login-update-profile/login-update-profile.component.ts +17 -10
- package/src/login/pages/login-username/login-username.component.html +138 -148
- package/src/login/pages/login-username/login-username.component.ts +16 -9
- package/src/login/pages/login-verify-email/login-verify-email.component.html +17 -25
- package/src/login/pages/login-verify-email/login-verify-email.component.ts +15 -9
- package/src/login/pages/login-x509-info/login-x509-info.component.html +85 -94
- package/src/login/pages/login-x509-info/login-x509-info.component.ts +15 -9
- package/src/login/pages/logout-confirm/logout-confirm.component.html +39 -49
- package/src/login/pages/logout-confirm/logout-confirm.component.ts +15 -14
- package/src/login/pages/register/register.component.html +100 -110
- package/src/login/pages/register/register.component.ts +19 -12
- package/src/login/pages/saml-post-form/saml-post-form.component.html +39 -48
- package/src/login/pages/saml-post-form/saml-post-form.component.ts +19 -13
- package/src/login/pages/select-authenticator/select-authenticator.component.html +36 -44
- package/src/login/pages/select-authenticator/select-authenticator.component.ts +16 -9
- package/src/login/pages/terms/terms.component.html +25 -34
- package/src/login/pages/terms/terms.component.ts +16 -9
- package/src/login/pages/update-email/update-email.component.html +44 -53
- package/src/login/pages/update-email/update-email.component.ts +16 -15
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.html +134 -145
- package/src/login/pages/webauthn-authenticate/webauthn-authenticate.component.ts +16 -9
- package/src/login/pages/webauthn-error/webauthn-error.component.html +45 -55
- package/src/login/pages/webauthn-error/webauthn-error.component.ts +16 -9
- package/src/login/pages/webauthn-register/webauthn-register.component.html +65 -75
- package/src/login/pages/webauthn-register/webauthn-register.component.ts +16 -9
- package/src/login/providers/keycloakify-angular/keycloakify-angular.providers.ts +1 -0
- package/src/login/services/submit/submit.service.ts +1 -1
- package/src/tsconfig.lib.json +0 -12
- package/src/tsconfig.lib.prod.json +0 -10
|
@@ -3,198 +3,189 @@
|
|
|
3
3
|
@let messagesPerField = kcContext.messagesPerField;
|
|
4
4
|
@let mode = kcContext.mode;
|
|
5
5
|
@let isAppInitiatedAction = kcContext.isAppInitiatedAction;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<li>
|
|
42
|
-
<p>{{ i18n.msgStr('loginTotpManualStep3') }}</p>
|
|
43
|
-
<p></p>
|
|
44
|
-
<ul>
|
|
45
|
-
<li id="kc-totp-type">
|
|
46
|
-
{{ i18n.msgStr('loginTotpType') }}:
|
|
47
|
-
{{ i18n.advancedMsgStr('loginTotp.' + totp.policy.type) }}
|
|
48
|
-
</li>
|
|
49
|
-
<li id="kc-totp-algorithm">
|
|
50
|
-
{{ i18n.msgStr('loginTotpAlgorithm') }}:
|
|
51
|
-
{{ totp.policy.getAlgorithmKey() }}
|
|
52
|
-
</li>
|
|
53
|
-
<li id="kc-totp-digits">{{ i18n.msgStr('loginTotpDigits') }}: {{ totp.policy.digits }}</li>
|
|
54
|
-
@if (totp.policy.type === 'totp') {
|
|
55
|
-
<li id="kc-totp-period">
|
|
56
|
-
{{ i18n.msgStr('loginTotpInterval') }}:
|
|
57
|
-
{{ totp.policy.period }}
|
|
58
|
-
</li>
|
|
59
|
-
} @else {
|
|
60
|
-
<li id="kc-totp-counter">
|
|
61
|
-
{{ i18n.msgStr('loginTotpCounter') }}:
|
|
62
|
-
{{ totp.policy.initialCounter }}
|
|
63
|
-
</li>
|
|
64
|
-
}
|
|
65
|
-
</ul>
|
|
6
|
+
|
|
7
|
+
<ng-template #headerNode>
|
|
8
|
+
{{ i18n.msgStr('loginTotpStep1') }}
|
|
9
|
+
</ng-template>
|
|
10
|
+
<ol id="kc-totp-settings">
|
|
11
|
+
<li>
|
|
12
|
+
<p>{{ i18n.msgStr('loginTotpStep1') }}</p>
|
|
13
|
+
<ul id="kc-totp-supported-apps">
|
|
14
|
+
@for (app of totp.supportedApplications; track app) {
|
|
15
|
+
<li>{{ i18n.advancedMsgStr(app) }}</li>
|
|
16
|
+
}
|
|
17
|
+
</ul>
|
|
18
|
+
</li>
|
|
19
|
+
@if (kcContext.mode === 'manual') {
|
|
20
|
+
<li>
|
|
21
|
+
<p>{{ i18n.msgStr('loginTotpManualStep2') }}</p>
|
|
22
|
+
<p>
|
|
23
|
+
<span id="kc-totp-secret-key">{{ totp.totpSecretEncoded }}</span>
|
|
24
|
+
</p>
|
|
25
|
+
<p>
|
|
26
|
+
<a
|
|
27
|
+
id="mode-barcode"
|
|
28
|
+
[href]="totp.qrUrl"
|
|
29
|
+
>
|
|
30
|
+
{{ i18n.msgStr('loginTotpScanBarcode') }}
|
|
31
|
+
</a>
|
|
32
|
+
</p>
|
|
33
|
+
</li>
|
|
34
|
+
<li>
|
|
35
|
+
<p>{{ i18n.msgStr('loginTotpManualStep3') }}</p>
|
|
36
|
+
<p></p>
|
|
37
|
+
<ul>
|
|
38
|
+
<li id="kc-totp-type">
|
|
39
|
+
{{ i18n.msgStr('loginTotpType') }}:
|
|
40
|
+
{{ i18n.advancedMsgStr('loginTotp.' + totp.policy.type) }}
|
|
66
41
|
</li>
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<img
|
|
71
|
-
id="kc-totp-secret-qr-code"
|
|
72
|
-
[src]="'data:image/png;base64, ' + totp.totpSecretQrCode"
|
|
73
|
-
alt="Figure: Barcode"
|
|
74
|
-
/>
|
|
75
|
-
<br />
|
|
76
|
-
<p>
|
|
77
|
-
<a
|
|
78
|
-
[href]="totp.manualUrl"
|
|
79
|
-
id="mode-manual"
|
|
80
|
-
>
|
|
81
|
-
{{ i18n.msgStr('loginTotpUnableToScan') }}
|
|
82
|
-
</a>
|
|
83
|
-
</p>
|
|
42
|
+
<li id="kc-totp-algorithm">
|
|
43
|
+
{{ i18n.msgStr('loginTotpAlgorithm') }}:
|
|
44
|
+
{{ totp.policy.getAlgorithmKey() }}
|
|
84
45
|
</li>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
>
|
|
97
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
98
|
-
<div [kcClass]="'kcInputWrapperClass'">
|
|
99
|
-
<label
|
|
100
|
-
for="totp"
|
|
101
|
-
[kcClass]="'kcLabelClass'"
|
|
102
|
-
>
|
|
103
|
-
{{ i18n.msgStr('authenticatorCode') }}
|
|
104
|
-
</label>
|
|
105
|
-
<span class="required">*</span>
|
|
106
|
-
</div>
|
|
107
|
-
<div [kcClass]="'kcInputWrapperClass'">
|
|
108
|
-
<input
|
|
109
|
-
type="text"
|
|
110
|
-
id="totp"
|
|
111
|
-
name="totp"
|
|
112
|
-
autoComplete="off"
|
|
113
|
-
[kcClass]="'kcInputClass'"
|
|
114
|
-
[attr.aria-invalid]="messagesPerField.existsError('totp')"
|
|
115
|
-
/>
|
|
116
|
-
@if (messagesPerField.existsError('totp')) {
|
|
117
|
-
<span
|
|
118
|
-
id="input-error-otp-code"
|
|
119
|
-
[kcClass]="'kcInputErrorMessageClass'"
|
|
120
|
-
aria-live="polite"
|
|
121
|
-
[innerHTML]="messagesPerField.get('totp') | kcSanitize: 'html'"
|
|
122
|
-
></span>
|
|
123
|
-
}
|
|
124
|
-
</div>
|
|
125
|
-
<input
|
|
126
|
-
type="hidden"
|
|
127
|
-
id="totpSecret"
|
|
128
|
-
name="totpSecret"
|
|
129
|
-
[value]="totp.totpSecret"
|
|
130
|
-
/>
|
|
131
|
-
@if (mode) {
|
|
132
|
-
<input
|
|
133
|
-
type="hidden"
|
|
134
|
-
id="mode"
|
|
135
|
-
[value]="mode"
|
|
136
|
-
/>
|
|
46
|
+
<li id="kc-totp-digits">{{ i18n.msgStr('loginTotpDigits') }}: {{ totp.policy.digits }}</li>
|
|
47
|
+
@if (totp.policy.type === 'totp') {
|
|
48
|
+
<li id="kc-totp-period">
|
|
49
|
+
{{ i18n.msgStr('loginTotpInterval') }}:
|
|
50
|
+
{{ totp.policy.period }}
|
|
51
|
+
</li>
|
|
52
|
+
} @else {
|
|
53
|
+
<li id="kc-totp-counter">
|
|
54
|
+
{{ i18n.msgStr('loginTotpCounter') }}:
|
|
55
|
+
{{ totp.policy.initialCounter }}
|
|
56
|
+
</li>
|
|
137
57
|
}
|
|
138
|
-
</
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
type="text"
|
|
154
|
-
id="userLabel"
|
|
155
|
-
name="userLabel"
|
|
156
|
-
autoComplete="off"
|
|
157
|
-
[kcClass]="'kcInputClass'"
|
|
158
|
-
[attr.aria-invalid]="messagesPerField.existsError('userLabel')"
|
|
159
|
-
/>
|
|
160
|
-
@if (messagesPerField.existsError('userLabel')) {
|
|
161
|
-
<span
|
|
162
|
-
id="input-error-otp-label"
|
|
163
|
-
[kcClass]="'kcInputErrorMessageClass'"
|
|
164
|
-
aria-live="polite"
|
|
165
|
-
[innerHTML]="messagesPerField.get('userLabel') | kcSanitize: 'html'"
|
|
166
|
-
></span>
|
|
167
|
-
}
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
171
|
-
<kc-logout-other-sessions />
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
@if (isAppInitiatedAction) {
|
|
175
|
-
<input
|
|
176
|
-
type="submit"
|
|
177
|
-
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
178
|
-
id="saveTOTPBtn"
|
|
179
|
-
[value]="i18n.msgStr('doSubmit')"
|
|
180
|
-
/>
|
|
181
|
-
<button
|
|
182
|
-
type="submit"
|
|
183
|
-
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass', 'kcButtonLargeClass']"
|
|
184
|
-
id="cancelTOTPBtn"
|
|
185
|
-
name="cancel-aia"
|
|
186
|
-
[value]="true"
|
|
58
|
+
</ul>
|
|
59
|
+
</li>
|
|
60
|
+
} @else {
|
|
61
|
+
<li>
|
|
62
|
+
<p>{{ i18n.msgStr('loginTotpStep2') }}</p>
|
|
63
|
+
<img
|
|
64
|
+
id="kc-totp-secret-qr-code"
|
|
65
|
+
alt="Figure: Barcode"
|
|
66
|
+
[src]="'data:image/png;base64, ' + totp.totpSecretQrCode"
|
|
67
|
+
/>
|
|
68
|
+
<br />
|
|
69
|
+
<p>
|
|
70
|
+
<a
|
|
71
|
+
id="mode-manual"
|
|
72
|
+
[href]="totp.manualUrl"
|
|
187
73
|
>
|
|
188
|
-
{{ i18n.msgStr('
|
|
189
|
-
</
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
74
|
+
{{ i18n.msgStr('loginTotpUnableToScan') }}
|
|
75
|
+
</a>
|
|
76
|
+
</p>
|
|
77
|
+
</li>
|
|
78
|
+
}
|
|
79
|
+
<li>
|
|
80
|
+
<p>{{ i18n.msgStr('loginTotpStep3') }}</p>
|
|
81
|
+
<p>{{ i18n.msgStr('loginTotpStep3DeviceName') }}</p>
|
|
82
|
+
</li>
|
|
83
|
+
</ol>
|
|
84
|
+
<form
|
|
85
|
+
id="kc-totp-settings-form"
|
|
86
|
+
method="post"
|
|
87
|
+
[action]="url.loginAction"
|
|
88
|
+
[kcClass]="'kcFormClass'"
|
|
89
|
+
>
|
|
90
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
91
|
+
<div [kcClass]="'kcInputWrapperClass'">
|
|
92
|
+
<label
|
|
93
|
+
for="totp"
|
|
94
|
+
[kcClass]="'kcLabelClass'"
|
|
95
|
+
>
|
|
96
|
+
{{ i18n.msgStr('authenticatorCode') }}
|
|
97
|
+
</label>
|
|
98
|
+
<span class="required">*</span>
|
|
99
|
+
</div>
|
|
100
|
+
<div [kcClass]="'kcInputWrapperClass'">
|
|
101
|
+
<input
|
|
102
|
+
type="text"
|
|
103
|
+
id="totp"
|
|
104
|
+
name="totp"
|
|
105
|
+
autoComplete="off"
|
|
106
|
+
[kcClass]="'kcInputClass'"
|
|
107
|
+
[attr.aria-invalid]="messagesPerField.existsError('totp')"
|
|
108
|
+
/>
|
|
109
|
+
@if (messagesPerField.existsError('totp')) {
|
|
110
|
+
<span
|
|
111
|
+
id="input-error-otp-code"
|
|
112
|
+
aria-live="polite"
|
|
113
|
+
[kcClass]="'kcInputErrorMessageClass'"
|
|
114
|
+
[innerHTML]="messagesPerField.get('totp') | kcSanitize: 'html'"
|
|
115
|
+
></span>
|
|
116
|
+
}
|
|
117
|
+
</div>
|
|
118
|
+
<input
|
|
119
|
+
type="hidden"
|
|
120
|
+
id="totpSecret"
|
|
121
|
+
name="totpSecret"
|
|
122
|
+
[value]="totp.totpSecret"
|
|
123
|
+
/>
|
|
124
|
+
@if (mode) {
|
|
125
|
+
<input
|
|
126
|
+
type="hidden"
|
|
127
|
+
id="mode"
|
|
128
|
+
[value]="mode"
|
|
129
|
+
/>
|
|
130
|
+
}
|
|
131
|
+
</div>
|
|
132
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
133
|
+
<div [kcClass]="'kcInputWrapperClass'">
|
|
134
|
+
<label
|
|
135
|
+
for="userLabel"
|
|
136
|
+
[kcClass]="'kcLabelClass'"
|
|
137
|
+
>
|
|
138
|
+
{{ i18n.msgStr('loginTotpDeviceName') }}
|
|
139
|
+
</label>
|
|
140
|
+
@if (totp.otpCredentials.length >= 1) {
|
|
141
|
+
<span class="required">*</span>
|
|
197
142
|
}
|
|
198
|
-
</
|
|
199
|
-
|
|
200
|
-
|
|
143
|
+
</div>
|
|
144
|
+
<div [kcClass]="'kcInputWrapperClass'">
|
|
145
|
+
<input
|
|
146
|
+
type="text"
|
|
147
|
+
id="userLabel"
|
|
148
|
+
name="userLabel"
|
|
149
|
+
autoComplete="off"
|
|
150
|
+
[kcClass]="'kcInputClass'"
|
|
151
|
+
[attr.aria-invalid]="messagesPerField.existsError('userLabel')"
|
|
152
|
+
/>
|
|
153
|
+
@if (messagesPerField.existsError('userLabel')) {
|
|
154
|
+
<span
|
|
155
|
+
id="input-error-otp-label"
|
|
156
|
+
aria-live="polite"
|
|
157
|
+
[kcClass]="'kcInputErrorMessageClass'"
|
|
158
|
+
[innerHTML]="messagesPerField.get('userLabel') | kcSanitize: 'html'"
|
|
159
|
+
></span>
|
|
160
|
+
}
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
164
|
+
<kc-logout-other-sessions />
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
@if (isAppInitiatedAction) {
|
|
168
|
+
<input
|
|
169
|
+
type="submit"
|
|
170
|
+
id="saveTOTPBtn"
|
|
171
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
172
|
+
[value]="i18n.msgStr('doSubmit')"
|
|
173
|
+
/>
|
|
174
|
+
<button
|
|
175
|
+
type="submit"
|
|
176
|
+
id="cancelTOTPBtn"
|
|
177
|
+
name="cancel-aia"
|
|
178
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass', 'kcButtonLargeClass']"
|
|
179
|
+
[value]="true"
|
|
180
|
+
>
|
|
181
|
+
{{ i18n.msgStr('doCancel') }}
|
|
182
|
+
</button>
|
|
183
|
+
} @else {
|
|
184
|
+
<input
|
|
185
|
+
type="submit"
|
|
186
|
+
id="saveTOTPBtn"
|
|
187
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
188
|
+
[value]="i18n.msgStr('doSubmit')"
|
|
189
|
+
/>
|
|
190
|
+
}
|
|
191
|
+
</form>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
2
|
+
import { KcSanitizePipe } from '@keycloakify/angular/lib/pipes/kc-sanitize';
|
|
2
3
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
4
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
5
|
import { LogoutOtherSessionsComponent } from '@keycloakify/angular/login/components/logout-other-sessions';
|
|
5
6
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
6
7
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
7
|
-
import {
|
|
8
|
+
import type { I18n } from '../../i18n';
|
|
9
|
+
import type { KcContext } from '../../KcContext';
|
|
8
10
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
11
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
10
12
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
11
13
|
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
12
|
-
import type { I18n } from '../../i18n';
|
|
13
|
-
import type { KcContext } from '../../KcContext';
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
16
16
|
standalone: true,
|
|
17
17
|
imports: [TemplateComponent, KcClassDirective, KcSanitizePipe, LogoutOtherSessionsComponent],
|
|
18
|
-
selector: 'kc-
|
|
18
|
+
selector: 'kc-login-config-totp',
|
|
19
19
|
templateUrl: 'login-config-totp.component.html',
|
|
20
20
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
21
|
providers: [
|
|
@@ -30,9 +30,15 @@ export class LoginConfigTotpComponent extends ComponentReference {
|
|
|
30
30
|
i18n = inject<I18n>(LOGIN_I18N);
|
|
31
31
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
32
32
|
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
33
|
-
|
|
34
|
-
documentTitle
|
|
35
|
-
bodyClassName
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
|
|
34
|
+
documentTitle: string | undefined;
|
|
35
|
+
bodyClassName: string | undefined;
|
|
36
|
+
|
|
37
|
+
displayRequiredFields = false;
|
|
38
|
+
displayInfo = false;
|
|
39
|
+
displayMessage = !this.kcContext.messagesPerField.existsError('totp', 'userLabel');
|
|
40
|
+
|
|
41
|
+
headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
|
|
42
|
+
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
43
|
+
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
38
44
|
}
|
|
@@ -1,41 +1,31 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
@let idpAlias = kcContext.idpAlias;
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<ng-template #headerNode>
|
|
4
|
+
{{ i18n.msgStr('confirmLinkIdpTitle') }}
|
|
5
|
+
</ng-template>
|
|
6
|
+
<form
|
|
7
|
+
id="kc-register-form"
|
|
8
|
+
method="post"
|
|
9
|
+
[action]="url.loginAction"
|
|
9
10
|
>
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
[
|
|
17
|
-
method="post"
|
|
11
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
12
|
+
<button
|
|
13
|
+
type="submit"
|
|
14
|
+
name="submitAction"
|
|
15
|
+
id="updateProfile"
|
|
16
|
+
value="updateProfile"
|
|
17
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
18
18
|
>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
name="submitAction"
|
|
33
|
-
id="linkAccount"
|
|
34
|
-
value="linkAccount"
|
|
35
|
-
>
|
|
36
|
-
{{ i18n.msgStr('confirmLinkIdpContinue', idpAlias) }}
|
|
37
|
-
</button>
|
|
38
|
-
</div>
|
|
39
|
-
</form>
|
|
40
|
-
</ng-container>
|
|
41
|
-
</kc-login-template>
|
|
19
|
+
{{ i18n.msgStr('confirmLinkIdpReviewProfile') }}
|
|
20
|
+
</button>
|
|
21
|
+
<button
|
|
22
|
+
type="submit"
|
|
23
|
+
name="submitAction"
|
|
24
|
+
id="linkAccount"
|
|
25
|
+
value="linkAccount"
|
|
26
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
27
|
+
>
|
|
28
|
+
{{ i18n.msgStr('confirmLinkIdpContinue', idpAlias) }}
|
|
29
|
+
</button>
|
|
30
|
+
</div>
|
|
31
|
+
</form>
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
2
|
-
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
3
2
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
3
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
4
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
-
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
7
|
-
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
|
-
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
9
|
-
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
5
|
import type { I18n } from '../../i18n';
|
|
11
6
|
import type { KcContext } from '../../KcContext';
|
|
7
|
+
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
|
+
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
12
9
|
|
|
13
10
|
@Component({
|
|
14
11
|
standalone: true,
|
|
15
12
|
imports: [TemplateComponent, KcClassDirective],
|
|
16
|
-
selector: 'kc-
|
|
13
|
+
selector: 'kc-login-idp-link-confirm',
|
|
17
14
|
templateUrl: 'login-idp-link-confirm.component.html',
|
|
18
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
16
|
providers: [
|
|
@@ -26,11 +23,15 @@ import type { KcContext } from '../../KcContext';
|
|
|
26
23
|
export class LoginIdpLinkConfirmComponent extends ComponentReference {
|
|
27
24
|
kcContext = inject<Extract<KcContext, { pageId: 'login-idp-link-confirm.ftl' }>>(KC_LOGIN_CONTEXT);
|
|
28
25
|
i18n = inject<I18n>(LOGIN_I18N);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
displayInfo
|
|
35
|
-
displayMessage
|
|
26
|
+
|
|
27
|
+
documentTitle: string | undefined;
|
|
28
|
+
bodyClassName: string | undefined;
|
|
29
|
+
|
|
30
|
+
displayRequiredFields = false;
|
|
31
|
+
displayInfo = false;
|
|
32
|
+
displayMessage = !this.kcContext.messagesPerField.existsError('totp', 'userLabel');
|
|
33
|
+
|
|
34
|
+
headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
|
|
35
|
+
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
36
|
+
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
36
37
|
}
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
2
|
@let idpDisplayName = kcContext.idpDisplayName;
|
|
3
3
|
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
<ng-template #headerNode>
|
|
5
|
+
{{ i18n.msgStr('confirmOverrideIdpTitle') }}
|
|
6
|
+
</ng-template>
|
|
7
|
+
<form
|
|
8
|
+
id="kc-register-form"
|
|
9
|
+
method="post"
|
|
10
|
+
[action]="url.loginAction"
|
|
10
11
|
>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type="submit"
|
|
31
|
-
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
32
|
-
name="submitAction"
|
|
33
|
-
id="confirmOverride"
|
|
34
|
-
value="confirmOverride"
|
|
35
|
-
>
|
|
36
|
-
{{ i18n.msgStr('confirmOverrideIdpContinue', idpDisplayName) }}
|
|
37
|
-
</button>
|
|
38
|
-
</form>
|
|
39
|
-
</ng-container>
|
|
40
|
-
</kc-login-template>
|
|
12
|
+
{{ i18n.msgStr('pageExpiredMsg1') }}
|
|
13
|
+
<a
|
|
14
|
+
id="loginRestartLink"
|
|
15
|
+
[href]="url.loginRestartFlowUrl"
|
|
16
|
+
>
|
|
17
|
+
{{ i18n.msgStr('doClickHere') }}
|
|
18
|
+
</a>
|
|
19
|
+
<br />
|
|
20
|
+
<br />
|
|
21
|
+
<button
|
|
22
|
+
type="submit"
|
|
23
|
+
name="submitAction"
|
|
24
|
+
id="confirmOverride"
|
|
25
|
+
value="confirmOverride"
|
|
26
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonBlockClass', 'kcButtonLargeClass']"
|
|
27
|
+
>
|
|
28
|
+
{{ i18n.msgStr('confirmOverrideIdpContinue', idpDisplayName) }}
|
|
29
|
+
</button>
|
|
30
|
+
</form>
|