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