@keycloakify/angular 0.0.1-rc.18 → 0.0.1-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +40 -7
- package/esm2022/account/pages/account/account.component.mjs +6 -5
- package/esm2022/account/pages/applications/applications.component.mjs +6 -5
- package/esm2022/account/pages/federatedIdentity/federatedIdentity.component.mjs +6 -5
- package/esm2022/account/pages/log/log.component.mjs +6 -5
- package/esm2022/account/pages/password/password.component.mjs +6 -5
- package/esm2022/account/pages/sessions/sessions.component.mjs +6 -5
- package/esm2022/account/pages/totp/totp.component.mjs +6 -5
- package/esm2022/login/containers/template/template.component.mjs +81 -13
- package/esm2022/login/pages/code/code.component.mjs +14 -8
- package/esm2022/login/pages/delete-account-confirm/delete-account-confirm.component.mjs +12 -6
- package/esm2022/login/pages/delete-credential/delete-credential.component.mjs +10 -9
- package/esm2022/login/pages/error/error.component.mjs +14 -8
- package/esm2022/login/pages/frontchannel-logout/frontchannel-logout.component.mjs +12 -10
- package/esm2022/login/pages/idp-review-user-profile/idp-review-user-profile.component.mjs +12 -11
- package/esm2022/login/pages/info/info.component.mjs +11 -10
- package/esm2022/login/pages/login/login.component.mjs +13 -12
- package/esm2022/login/pages/login-config-totp/login-config-totp.component.mjs +12 -11
- package/esm2022/login/pages/login-idp-link-confirm/login-idp-link-confirm.component.mjs +11 -14
- package/esm2022/login/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.mjs +11 -14
- package/esm2022/login/pages/login-idp-link-email/login-idp-link-email.component.mjs +10 -13
- package/esm2022/login/pages/login-oauth-grant/login-oauth-grant.component.mjs +11 -13
- package/esm2022/login/pages/login-oauth2-device-verify-user-code/login-oauth2-device-verify-user-code.component.mjs +10 -9
- package/esm2022/login/pages/login-otp/login-otp.component.mjs +11 -10
- package/esm2022/login/pages/login-page-expired/login-page-expired.component.mjs +10 -9
- package/esm2022/login/pages/login-passkeys-conditional-authenticate/login-passkeys-conditional-authenticate.component.mjs +11 -6
- package/esm2022/login/pages/login-password/login-password.component.mjs +13 -11
- package/esm2022/login/pages/login-recovery-authn-code-config/login-recovery-authn-code-config.component.mjs +12 -11
- package/esm2022/login/pages/login-recovery-authn-code-input/login-recovery-authn-code-input.component.mjs +12 -11
- package/esm2022/login/pages/login-reset-otp/login-reset-otp.component.mjs +11 -10
- package/esm2022/login/pages/login-reset-password/login-reset-password.component.mjs +11 -10
- package/esm2022/login/pages/login-update-password/login-update-password.component.mjs +11 -10
- package/esm2022/login/pages/login-update-profile/login-update-profile.component.mjs +11 -10
- package/esm2022/login/pages/login-username/login-username.component.mjs +12 -11
- package/esm2022/login/pages/login-verify-email/login-verify-email.component.mjs +10 -9
- package/esm2022/login/pages/login-x509-info/login-x509-info.component.mjs +10 -9
- package/esm2022/login/pages/logout-confirm/logout-confirm.component.mjs +10 -13
- package/esm2022/login/pages/register/register.component.mjs +14 -13
- package/esm2022/login/pages/saml-post-form/saml-post-form.component.mjs +14 -15
- package/esm2022/login/pages/select-authenticator/select-authenticator.component.mjs +11 -10
- package/esm2022/login/pages/terms/terms.component.mjs +10 -9
- package/esm2022/login/pages/update-email/update-email.component.mjs +12 -15
- package/esm2022/login/pages/webauthn-authenticate/webauthn-authenticate.component.mjs +10 -9
- package/esm2022/login/pages/webauthn-error/webauthn-error.component.mjs +11 -10
- package/esm2022/login/pages/webauthn-register/webauthn-register.component.mjs +10 -9
- package/fesm2022/keycloakify-angular-account-containers-template.mjs +40 -7
- package/fesm2022/keycloakify-angular-account-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-account.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-account.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-applications.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-federatedIdentity.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-log.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-log.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-password.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-sessions.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs +5 -4
- package/fesm2022/keycloakify-angular-account-pages-totp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-containers-template.mjs +81 -13
- package/fesm2022/keycloakify-angular-login-containers-template.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-code.mjs +13 -7
- package/fesm2022/keycloakify-angular-login-pages-code.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs +11 -5
- package/fesm2022/keycloakify-angular-login-pages-delete-account-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-delete-credential.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-error.mjs +13 -7
- package/fesm2022/keycloakify-angular-login-pages-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs +11 -9
- package/fesm2022/keycloakify-angular-login-pages-frontchannel-logout.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-idp-review-user-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-info.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-config-totp.mjs +11 -10
- 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 +10 -13
- 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 +10 -13
- 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 +9 -12
- package/fesm2022/keycloakify-angular-login-pages-login-idp-link-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-oauth-grant.mjs +10 -12
- 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 +9 -8
- 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 +10 -9
- package/fesm2022/keycloakify-angular-login-pages-login-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-login-page-expired.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs +10 -5
- package/fesm2022/keycloakify-angular-login-pages-login-passkeys-conditional-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs +12 -10
- package/fesm2022/keycloakify-angular-login-pages-login-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-recovery-authn-code-config.mjs +11 -10
- 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 +11 -10
- 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 +10 -9
- package/fesm2022/keycloakify-angular-login-pages-login-reset-otp.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-login-reset-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-login-update-password.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-login-update-profile.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs +11 -10
- package/fesm2022/keycloakify-angular-login-pages-login-username.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-login-verify-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-login-x509-info.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-login.mjs +12 -11
- package/fesm2022/keycloakify-angular-login-pages-login.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs +9 -12
- package/fesm2022/keycloakify-angular-login-pages-logout-confirm.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-register.mjs +13 -12
- package/fesm2022/keycloakify-angular-login-pages-register.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs +13 -14
- package/fesm2022/keycloakify-angular-login-pages-saml-post-form.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-select-authenticator.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-terms.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs +11 -14
- package/fesm2022/keycloakify-angular-login-pages-update-email.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-webauthn-authenticate.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs +10 -9
- package/fesm2022/keycloakify-angular-login-pages-webauthn-error.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs +9 -8
- package/fesm2022/keycloakify-angular-login-pages-webauthn-register.mjs.map +1 -1
- package/login/containers/template/template.component.d.ts +25 -9
- 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 +15 -10
- 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 +5 -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/login/containers/template/template.component.html +22 -8
- package/src/login/containers/template/template.component.ts +100 -12
- 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 -144
- 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/pages/login-idp-link-confirm-override/login-idp-link-confirm-override.component.ts
CHANGED
|
@@ -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_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
7
5
|
import type { I18n } from '../../i18n';
|
|
8
|
-
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
|
-
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
10
|
-
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
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: [KcClassDirective, TemplateComponent],
|
|
16
|
-
selector: 'kc-
|
|
13
|
+
selector: 'kc-login-idp-link-confirm-override',
|
|
17
14
|
templateUrl: 'login-idp-link-confirm-override.component.html',
|
|
18
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
16
|
providers: [
|
|
@@ -26,11 +23,15 @@ import type { KcContext } from '../../KcContext';
|
|
|
26
23
|
export class LoginIdpLinkConfirmOverrideComponent extends ComponentReference {
|
|
27
24
|
kcContext = inject<Extract<KcContext, { pageId: 'login-idp-link-confirm-override.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
|
}
|
|
@@ -2,38 +2,28 @@
|
|
|
2
2
|
@let brokerContext = kcContext.brokerContext;
|
|
3
3
|
@let realm = kcContext.realm;
|
|
4
4
|
@let url = kcContext.url;
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
<ng-template #headerNode>
|
|
6
|
+
{{ i18n.msgStr('emailLinkIdpTitle', idpAlias) }}
|
|
7
|
+
</ng-template>
|
|
8
|
+
<p
|
|
9
|
+
id="instruction1"
|
|
10
|
+
class="instruction"
|
|
11
11
|
>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<p
|
|
31
|
-
id="instruction3"
|
|
32
|
-
class="instruction"
|
|
33
|
-
>
|
|
34
|
-
{{ i18n.msgStr('emailLinkIdp4') }}
|
|
35
|
-
<a [href]="url.loginAction">{{ i18n.msgStr('doClickHere') }}</a>
|
|
36
|
-
{{ i18n.msgStr('emailLinkIdp5') }}
|
|
37
|
-
</p>
|
|
38
|
-
</ng-container>
|
|
39
|
-
</kc-login-template>
|
|
12
|
+
{{ i18n.msgStr('emailLinkIdp1', idpAlias, brokerContext.username, realm.displayName) }}
|
|
13
|
+
</p>
|
|
14
|
+
<p
|
|
15
|
+
id="instruction2"
|
|
16
|
+
class="instruction"
|
|
17
|
+
>
|
|
18
|
+
{{ i18n.msgStr('emailLinkIdp2') }}
|
|
19
|
+
<a [href]="url.loginAction">{{ i18n.msgStr('doClickHere') }}</a>
|
|
20
|
+
{{ i18n.msgStr('emailLinkIdp3') }}
|
|
21
|
+
</p>
|
|
22
|
+
<p
|
|
23
|
+
id="instruction3"
|
|
24
|
+
class="instruction"
|
|
25
|
+
>
|
|
26
|
+
{{ i18n.msgStr('emailLinkIdp4') }}
|
|
27
|
+
<a [href]="url.loginAction">{{ i18n.msgStr('doClickHere') }}</a>
|
|
28
|
+
{{ i18n.msgStr('emailLinkIdp5') }}
|
|
29
|
+
</p>
|
|
@@ -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_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
7
5
|
import type { I18n } from '../../i18n';
|
|
8
|
-
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
9
|
-
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
10
|
-
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
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-email',
|
|
17
14
|
templateUrl: 'login-idp-link-email.component.html',
|
|
18
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
16
|
providers: [
|
|
@@ -26,11 +23,15 @@ import type { KcContext } from '../../KcContext';
|
|
|
26
23
|
export class LoginIdpLinkEmailComponent extends ComponentReference {
|
|
27
24
|
kcContext = inject<Extract<KcContext, { pageId: 'login-idp-link-email.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 = false;
|
|
33
|
+
|
|
34
|
+
headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
|
|
35
|
+
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
36
|
+
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
36
37
|
}
|
|
@@ -1,94 +1,85 @@
|
|
|
1
1
|
@let client = kcContext.client;
|
|
2
2
|
@let oauth = kcContext.oauth;
|
|
3
3
|
@let url = kcContext.url;
|
|
4
|
-
<kc-login-template
|
|
5
|
-
[displayInfo]="displayInfo"
|
|
6
|
-
[bodyClassName]="bodyClassName()"
|
|
7
|
-
[displayMessage]="displayMessage"
|
|
8
|
-
[displayRequiredFields]="displayRequiredFields()"
|
|
9
|
-
[documentTitle]="documentTitle()"
|
|
10
|
-
>
|
|
11
|
-
<ng-container headerNode>
|
|
12
|
-
@if (client.attributes['logoUri']) {
|
|
13
|
-
<img
|
|
14
|
-
alt=""
|
|
15
|
-
[src]="client.attributes['logoUri']"
|
|
16
|
-
/>
|
|
17
|
-
}
|
|
18
|
-
<p>
|
|
19
|
-
{{ i18n.msgStr('oauthGrantTitle', client.name ? i18n.advancedMsgStr(client.name) : client.clientId) }}
|
|
20
|
-
</p>
|
|
21
|
-
</ng-container>
|
|
22
4
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@if (clientScope.dynamicScopeParameter) {
|
|
35
|
-
: <b>{{ clientScope.dynamicScopeParameter }}</b>
|
|
36
|
-
}
|
|
37
|
-
</span>
|
|
38
|
-
</li>
|
|
39
|
-
}
|
|
40
|
-
</ul>
|
|
5
|
+
<ng-template #headerNode>
|
|
6
|
+
@if (client.attributes['logoUri']) {
|
|
7
|
+
<img
|
|
8
|
+
alt=""
|
|
9
|
+
[src]="client.attributes['logoUri']"
|
|
10
|
+
/>
|
|
11
|
+
}
|
|
12
|
+
<p>
|
|
13
|
+
{{ i18n.msgStr('oauthGrantTitle', client.name ? i18n.advancedMsgStr(client.name) : client.clientId) }}
|
|
14
|
+
</p>
|
|
15
|
+
</ng-template>
|
|
41
16
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
>
|
|
55
|
-
{{ i18n.msgStr('oauthGrantPolicy') }}
|
|
56
|
-
</a>
|
|
17
|
+
<div
|
|
18
|
+
id="kc-oauth"
|
|
19
|
+
class="content-area"
|
|
20
|
+
>
|
|
21
|
+
<h3>{{ i18n.msgStr('oauthGrantRequest') }}</h3>
|
|
22
|
+
<ul>
|
|
23
|
+
@for (clientScope of oauth.clientScopesRequested; track clientScope) {
|
|
24
|
+
<li>
|
|
25
|
+
<span>
|
|
26
|
+
{{ i18n.advancedMsgStr(clientScope.consentScreenText) }}
|
|
27
|
+
@if (clientScope.dynamicScopeParameter) {
|
|
28
|
+
: <b>{{ clientScope.dynamicScopeParameter }}</b>
|
|
57
29
|
}
|
|
58
|
-
</
|
|
30
|
+
</span>
|
|
31
|
+
</li>
|
|
32
|
+
}
|
|
33
|
+
</ul>
|
|
34
|
+
|
|
35
|
+
@if (client.attributes['policyUri'] || client.attributes['tosUri']) {
|
|
36
|
+
<h3>
|
|
37
|
+
@if (client.name) {
|
|
38
|
+
{{ i18n.msgStr('oauthGrantInformation', i18n.advancedMsgStr(client.name)) }}
|
|
39
|
+
} @else {
|
|
40
|
+
{{ i18n.msgStr('oauthGrantInformation', client.clientId) }}
|
|
41
|
+
}
|
|
42
|
+
@if (client.attributes['policyUri']) {
|
|
43
|
+
{{ i18n.msgStr('oauthGrantReview') }}
|
|
44
|
+
<a
|
|
45
|
+
target="_blank"
|
|
46
|
+
[href]="client.attributes['policyUri']"
|
|
47
|
+
>
|
|
48
|
+
{{ i18n.msgStr('oauthGrantPolicy') }}
|
|
49
|
+
</a>
|
|
59
50
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
51
|
+
</h3>
|
|
52
|
+
}
|
|
53
|
+
<form
|
|
54
|
+
class="form-actions"
|
|
55
|
+
method="post"
|
|
56
|
+
[action]="url.oauthAction"
|
|
57
|
+
>
|
|
58
|
+
<input
|
|
59
|
+
type="hidden"
|
|
60
|
+
name="code"
|
|
61
|
+
[value]="oauth.code"
|
|
62
|
+
/>
|
|
63
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
64
|
+
<div id="kc-form-options">
|
|
65
|
+
<div [kcClass]="'kcFormOptionsWrapperClass'"></div>
|
|
66
|
+
</div>
|
|
74
67
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
68
|
+
<div id="kc-form-buttons">
|
|
69
|
+
<div [kcClass]="'kcFormButtonsWrapperClass'">
|
|
70
|
+
<input
|
|
71
|
+
type="submit"
|
|
72
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
73
|
+
[value]="i18n.msgStr('doYes')"
|
|
74
|
+
/>
|
|
75
|
+
<input
|
|
76
|
+
type="submit"
|
|
77
|
+
[kcClass]="['kcButtonClass', 'kcButtonDefaultClass', 'kcButtonLargeClass']"
|
|
78
|
+
[value]="i18n.msgStr('doNo')"
|
|
79
|
+
/>
|
|
89
80
|
</div>
|
|
90
|
-
</
|
|
91
|
-
<div className="clearfix"></div>
|
|
81
|
+
</div>
|
|
92
82
|
</div>
|
|
93
|
-
</
|
|
94
|
-
|
|
83
|
+
</form>
|
|
84
|
+
<div className="clearfix"></div>
|
|
85
|
+
</div>
|
|
@@ -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: [KcClassDirective, TemplateComponent],
|
|
16
|
-
selector: 'kc-
|
|
13
|
+
selector: 'kc-login-oauth-grant',
|
|
17
14
|
templateUrl: 'login-oauth-grant.component.html',
|
|
18
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
16
|
providers: [
|
|
@@ -26,11 +23,15 @@ import type { KcContext } from '../../KcContext';
|
|
|
26
23
|
export class LoginOauthGrantComponent extends ComponentReference {
|
|
27
24
|
kcContext = inject<Extract<KcContext, { pageId: 'login-oauth-grant.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 = 'oauth';
|
|
29
|
+
|
|
30
|
+
displayRequiredFields = false;
|
|
31
|
+
displayInfo = false;
|
|
32
|
+
displayMessage = false;
|
|
33
|
+
|
|
34
|
+
headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
|
|
35
|
+
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
36
|
+
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
36
37
|
}
|
|
@@ -1,63 +1,54 @@
|
|
|
1
1
|
@let url = kcContext.url;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
|
|
3
|
+
<ng-template #headerNode>
|
|
4
|
+
{{ i18n.msgStr('oauth2DeviceVerificationTitle') }}
|
|
5
|
+
</ng-template>
|
|
6
|
+
<form
|
|
7
|
+
id="kc-user-verify-device-user-code-form"
|
|
8
|
+
method="post"
|
|
9
|
+
[kcClass]="'kcFormClass'"
|
|
10
|
+
[action]="url.oauth2DeviceVerificationAction"
|
|
8
11
|
>
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
<div [kcClass]="'kcFormGroupClass'">
|
|
20
|
-
<div [kcClass]="'kcLabelWrapperClass'">
|
|
21
|
-
<label
|
|
22
|
-
for="device-user-code"
|
|
23
|
-
[kcClass]="'kcLabelClass'"
|
|
24
|
-
>
|
|
25
|
-
{{ i18n.msgStr('verifyOAuth2DeviceUserCode') }}
|
|
26
|
-
</label>
|
|
27
|
-
</div>
|
|
12
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
13
|
+
<div [kcClass]="'kcLabelWrapperClass'">
|
|
14
|
+
<label
|
|
15
|
+
for="device-user-code"
|
|
16
|
+
[kcClass]="'kcLabelClass'"
|
|
17
|
+
>
|
|
18
|
+
{{ i18n.msgStr('verifyOAuth2DeviceUserCode') }}
|
|
19
|
+
</label>
|
|
20
|
+
</div>
|
|
28
21
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
22
|
+
<div [kcClass]="'kcInputWrapperClass'">
|
|
23
|
+
<input
|
|
24
|
+
id="device-user-code"
|
|
25
|
+
name="device_user_code"
|
|
26
|
+
autoComplete="off"
|
|
27
|
+
type="text"
|
|
28
|
+
autofocus
|
|
29
|
+
[kcClass]="'kcInputClass'"
|
|
30
|
+
/>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div [kcClass]="'kcFormGroupClass'">
|
|
34
|
+
<div
|
|
35
|
+
id="kc-form-options"
|
|
36
|
+
[kcClass]="'kcFormOptionsClass'"
|
|
37
|
+
>
|
|
38
|
+
<div [kcClass]="'kcFormOptionsWrapperClass'"></div>
|
|
39
|
+
</div>
|
|
47
40
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
41
|
+
<div
|
|
42
|
+
id="kc-form-buttons"
|
|
43
|
+
[kcClass]="'kcFormButtonsClass'"
|
|
44
|
+
>
|
|
45
|
+
<div [kcClass]="'kcFormButtonsWrapperClass'">
|
|
46
|
+
<input
|
|
47
|
+
type="submit"
|
|
48
|
+
[kcClass]="['kcButtonClass', 'kcButtonPrimaryClass', 'kcButtonLargeClass']"
|
|
49
|
+
[value]="i18n.msgStr('doSubmit')"
|
|
50
|
+
/>
|
|
60
51
|
</div>
|
|
61
|
-
</
|
|
62
|
-
</
|
|
63
|
-
</
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</form>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, forwardRef, inject,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, forwardRef, inject, TemplateRef, viewChild } from '@angular/core';
|
|
2
2
|
import { USE_DEFAULT_CSS } from '@keycloakify/angular/lib/tokens/use-default-css';
|
|
3
3
|
import { ComponentReference } from '@keycloakify/angular/login/classes/component-reference';
|
|
4
4
|
import { TemplateComponent } from '@keycloakify/angular/login/containers/template';
|
|
5
5
|
import { KcClassDirective } from '@keycloakify/angular/login/directives/kc-class';
|
|
6
|
+
import type { I18n } from '../../i18n';
|
|
7
|
+
import type { KcContext } from '../../KcContext';
|
|
6
8
|
import { LOGIN_CLASSES } from '@keycloakify/angular/login/tokens/classes';
|
|
7
9
|
import { LOGIN_I18N } from '@keycloakify/angular/login/tokens/i18n';
|
|
8
10
|
import { KC_LOGIN_CONTEXT } from '@keycloakify/angular/login/tokens/kc-context';
|
|
9
11
|
import type { ClassKey } from 'keycloakify/login/lib/kcClsx';
|
|
10
|
-
import type { I18n } from '../../i18n';
|
|
11
|
-
import type { KcContext } from '../../KcContext';
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
14
14
|
standalone: true,
|
|
15
15
|
imports: [TemplateComponent, KcClassDirective],
|
|
16
|
-
selector: 'kc-
|
|
16
|
+
selector: 'kc-login-oauth2-device-verify-user-code',
|
|
17
17
|
templateUrl: 'login-oauth2-device-verify-user-code.component.html',
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
providers: [
|
|
@@ -28,9 +28,15 @@ export class LoginOauth2DeviceVerifyUserCodeComponent extends ComponentReference
|
|
|
28
28
|
i18n = inject<I18n>(LOGIN_I18N);
|
|
29
29
|
override doUseDefaultCss = inject<boolean>(USE_DEFAULT_CSS);
|
|
30
30
|
override classes = inject<Partial<Record<ClassKey, string>>>(LOGIN_CLASSES);
|
|
31
|
-
|
|
32
|
-
documentTitle
|
|
33
|
-
bodyClassName
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
|
|
32
|
+
documentTitle: string | undefined;
|
|
33
|
+
bodyClassName: string | undefined;
|
|
34
|
+
|
|
35
|
+
displayRequiredFields = false;
|
|
36
|
+
displayInfo = false;
|
|
37
|
+
displayMessage = false;
|
|
38
|
+
|
|
39
|
+
headerNode? = viewChild<TemplateRef<HTMLElement>>('headerNode');
|
|
40
|
+
infoNode? = viewChild<TemplateRef<HTMLElement>>('infoNode');
|
|
41
|
+
socialProvidersNode? = viewChild<TemplateRef<HTMLElement>>('socialProvidersNode');
|
|
36
42
|
}
|