@genesislcap/foundation-auth 14.408.0 → 14.409.0
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/README.md +6 -224
- package/package.json +19 -19
- package/docs/api/foundation-auth.accepttermsparams.md +0 -17
- package/docs/api/foundation-auth.authconfig.background.md +0 -30
- package/docs/api/foundation-auth.authconfig.backgroundvideo.md +0 -21
- package/docs/api/foundation-auth.authconfig.feedbackdelay.md +0 -18
- package/docs/api/foundation-auth.authconfig.fields.md +0 -18
- package/docs/api/foundation-auth.authconfig.hostpath.md +0 -18
- package/docs/api/foundation-auth.authconfig.localizationresources.md +0 -36
- package/docs/api/foundation-auth.authconfig.logo.md +0 -40
- package/docs/api/foundation-auth.authconfig.logoalttext.md +0 -13
- package/docs/api/foundation-auth.authconfig.md +0 -340
- package/docs/api/foundation-auth.authconfig.omitredirecturls.md +0 -21
- package/docs/api/foundation-auth.authconfig.omitroutes.md +0 -25
- package/docs/api/foundation-auth.authconfig.postloginredirect.md +0 -30
- package/docs/api/foundation-auth.authconfig.postlogoutredirect.md +0 -32
- package/docs/api/foundation-auth.authconfig.showenvironmentindicator.md +0 -13
- package/docs/api/foundation-auth.authconfig.sso.md +0 -18
- package/docs/api/foundation-auth.authconfig.templateoptions.md +0 -18
- package/docs/api/foundation-auth.authconfig.versioninformation.md +0 -25
- package/docs/api/foundation-auth.authdto.md +0 -14
- package/docs/api/foundation-auth.authentity.md +0 -14
- package/docs/api/foundation-auth.autheventmap.md +0 -24
- package/docs/api/foundation-auth.authformentryeventmap.md +0 -22
- package/docs/api/foundation-auth.authformentrystore.autofilling.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.email.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.haspasswordexpired.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.idps.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.md +0 -440
- package/docs/api/foundation-auth.authformentrystore.mfacode.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.onautofillform.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onemailchanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onorganisationchanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onpassword2changed.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onpasswordchanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onselectedidpchanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onshowpasswordchanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onssotogglechanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.onusernamechanged.md +0 -50
- package/docs/api/foundation-auth.authformentrystore.organisation.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.orgusername.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.password.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.password2.md +0 -16
- package/docs/api/foundation-auth.authformentrystore.passwordresettoken.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.selectedidp.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.showpassword.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.ssologinurl.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.ssotoggled.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.termsagreed.md +0 -11
- package/docs/api/foundation-auth.authformentrystore.username.md +0 -11
- package/docs/api/foundation-auth.authmachine.md +0 -15
- package/docs/api/foundation-auth.authmachinecontext.dto.md +0 -13
- package/docs/api/foundation-auth.authmachinecontext.entity.md +0 -13
- package/docs/api/foundation-auth.authmachinecontext.md +0 -120
- package/docs/api/foundation-auth.authmachinecontext.params.md +0 -13
- package/docs/api/foundation-auth.authmachinecontext.user.md +0 -13
- package/docs/api/foundation-auth.authmachineevent.md +0 -36
- package/docs/api/foundation-auth.authmachineeventmap.md +0 -21
- package/docs/api/foundation-auth.authmachineeventparams.md +0 -15
- package/docs/api/foundation-auth.authmessagemapper.md +0 -15
- package/docs/api/foundation-auth.authmessagemapperlookup.md +0 -27
- package/docs/api/foundation-auth.authroutes.md +0 -22
- package/docs/api/foundation-auth.authstore.authmachine.md +0 -13
- package/docs/api/foundation-auth.authstore.errormessages.md +0 -11
- package/docs/api/foundation-auth.authstore.formentry.md +0 -11
- package/docs/api/foundation-auth.authstore.ispending.md +0 -11
- package/docs/api/foundation-auth.authstore.md +0 -210
- package/docs/api/foundation-auth.authstore.metamessages.md +0 -11
- package/docs/api/foundation-auth.authstore.onchangepassword.md +0 -50
- package/docs/api/foundation-auth.authstore.onforgotpassword.md +0 -50
- package/docs/api/foundation-auth.authstore.onlogin.md +0 -50
- package/docs/api/foundation-auth.authstore.onlogout.md +0 -50
- package/docs/api/foundation-auth.authstore.onmachineevent.md +0 -52
- package/docs/api/foundation-auth.authstore.onresetpassword.md +0 -50
- package/docs/api/foundation-auth.basiccredentials.md +0 -18
- package/docs/api/foundation-auth.changepasswordparams.md +0 -17
- package/docs/api/foundation-auth.configure.md +0 -106
- package/docs/api/foundation-auth.createhttpheadersfromdto.md +0 -73
- package/docs/api/foundation-auth.createmessagemapper.md +0 -19
- package/docs/api/foundation-auth.credentialdata_2.md +0 -15
- package/docs/api/foundation-auth.credentialmanager.getcredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.getcredentialsfromcontainer.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.getcredentialsfromcookie.md +0 -19
- package/docs/api/foundation-auth.credentialmanager.md +0 -187
- package/docs/api/foundation-auth.credentialmanager.normaliselegacycredentialdata.md +0 -76
- package/docs/api/foundation-auth.credentialmanager.preventsilentaccess.md +0 -17
- package/docs/api/foundation-auth.credentialmanager.removecookie.md +0 -21
- package/docs/api/foundation-auth.credentialmanager.storecredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.storecredentialsincontainer.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.storecredentialsincookie.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.validatebasiccredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.validatemfacredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.validaterefreshcredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.validatessocredentials.md +0 -56
- package/docs/api/foundation-auth.credentialmanager.validateusercredentialdata.md +0 -74
- package/docs/api/foundation-auth.credentialmanagerconfig.cookie.md +0 -11
- package/docs/api/foundation-auth.credentialmanagerconfig.md +0 -56
- package/docs/api/foundation-auth.credentialmanagercookieconfig.expires.md +0 -11
- package/docs/api/foundation-auth.credentialmanagercookieconfig.md +0 -109
- package/docs/api/foundation-auth.credentialmanagercookieconfig.name.md +0 -11
- package/docs/api/foundation-auth.credentialmanagercookieconfig.path.md +0 -11
- package/docs/api/foundation-auth.credentialmanagercookieconfig.storepasswords.md +0 -11
- package/docs/api/foundation-auth.credentials.md +0 -15
- package/docs/api/foundation-auth.credentialseparator.md +0 -13
- package/docs/api/foundation-auth.credentialtype_2.md +0 -104
- package/docs/api/foundation-auth.defaultauthconfig.md +0 -13
- package/docs/api/foundation-auth.defaultauthformentrystore._constructor_.md +0 -13
- package/docs/api/foundation-auth.defaultauthformentrystore.autofilling.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.config.md +0 -11
- package/docs/api/foundation-auth.defaultauthformentrystore.credentialmanager.md +0 -11
- package/docs/api/foundation-auth.defaultauthformentrystore.email.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.haspasswordexpired.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.idpservice.md +0 -11
- package/docs/api/foundation-auth.defaultauthformentrystore.md +0 -586
- package/docs/api/foundation-auth.defaultauthformentrystore.mfacode.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onautofillform.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onemailchanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onorganisationchanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onpassword2changed.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onpasswordchanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onselectedidpchanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onshowpasswordchanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onssotogglechanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.onusernamechanged.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.organisation.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.orgusername.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.password.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.password2.md +0 -16
- package/docs/api/foundation-auth.defaultauthformentrystore.passwordresettoken.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.showpassword.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.ssologinurl.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggled.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.termsagreed.md +0 -12
- package/docs/api/foundation-auth.defaultauthformentrystore.username.md +0 -12
- package/docs/api/foundation-auth.defaultauthmachine._constructor_.md +0 -132
- package/docs/api/foundation-auth.defaultauthmachine.captureauthqueryparams.md +0 -15
- package/docs/api/foundation-auth.defaultauthmachine.convertqueryparamstologinparams.md +0 -50
- package/docs/api/foundation-auth.defaultauthmachine.createfetchmachineevent.md +0 -66
- package/docs/api/foundation-auth.defaultauthmachine.dtotransition.md +0 -14
- package/docs/api/foundation-auth.defaultauthmachine.getfromcontainer.md +0 -17
- package/docs/api/foundation-auth.defaultauthmachine.md +0 -202
- package/docs/api/foundation-auth.defaultauthmachine.onidleevents.md +0 -32
- package/docs/api/foundation-auth.defaultauthmachine.start.md +0 -52
- package/docs/api/foundation-auth.defaultauthmachinecontext.md +0 -13
- package/docs/api/foundation-auth.defaultauthmessagemapper._constructor_.md +0 -76
- package/docs/api/foundation-auth.defaultauthmessagemapper.loginmapper.md +0 -11
- package/docs/api/foundation-auth.defaultauthmessagemapper.logoutmapper.md +0 -11
- package/docs/api/foundation-auth.defaultauthmessagemapper.md +0 -133
- package/docs/api/foundation-auth.defaultauthmessagemapper.passwordmapper.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore._constructor_.md +0 -76
- package/docs/api/foundation-auth.defaultauthstore.authmachine.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.config.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.errormessages.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.formentry.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.ispending.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.md +0 -369
- package/docs/api/foundation-auth.defaultauthstore.metamessages.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.onchangepassword.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.onconnected.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.ondisconnected.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.onforgotpassword.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.onlogin.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.onlogout.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.onmachineevent.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.onready.md +0 -11
- package/docs/api/foundation-auth.defaultauthstore.onresetpassword.md +0 -12
- package/docs/api/foundation-auth.defaultauthstore.ontermsagreed.md +0 -12
- package/docs/api/foundation-auth.defaultcredentialmanager._constructor_.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.getcredentials.md +0 -52
- package/docs/api/foundation-auth.defaultcredentialmanager.getcredentialsfromcontainer.md +0 -52
- package/docs/api/foundation-auth.defaultcredentialmanager.getcredentialsfromcookie.md +0 -15
- package/docs/api/foundation-auth.defaultcredentialmanager.md +0 -237
- package/docs/api/foundation-auth.defaultcredentialmanager.normaliselegacycredentialdata.md +0 -68
- package/docs/api/foundation-auth.defaultcredentialmanager.preventsilentaccess.md +0 -15
- package/docs/api/foundation-auth.defaultcredentialmanager.removecookie.md +0 -15
- package/docs/api/foundation-auth.defaultcredentialmanager.storecredentials.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.storecredentialsincontainer.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.storecredentialsincookie.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.validatebasiccredentials.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.validatemfacredentials.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.validaterefreshcredentials.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.validatessocredentials.md +0 -50
- package/docs/api/foundation-auth.defaultcredentialmanager.validateusercredentialdata.md +0 -66
- package/docs/api/foundation-auth.defaultcredentialmanagerconfig.md +0 -13
- package/docs/api/foundation-auth.defaultcredentialrequestoptions.md +0 -13
- package/docs/api/foundation-auth.defaultloginmapper.fromproductdto.md +0 -11
- package/docs/api/foundation-auth.defaultloginmapper.fromsystemdto.md +0 -11
- package/docs/api/foundation-auth.defaultloginmapper.md +0 -135
- package/docs/api/foundation-auth.defaultloginmapper.todto.md +0 -13
- package/docs/api/foundation-auth.defaultloginmapper.toentity.md +0 -13
- package/docs/api/foundation-auth.defaultloginmapper.uuid.md +0 -11
- package/docs/api/foundation-auth.defaultlogoutmapper.md +0 -59
- package/docs/api/foundation-auth.defaultlogoutmapper.toentity.md +0 -13
- package/docs/api/foundation-auth.defaultmessagemapper.clear.md +0 -17
- package/docs/api/foundation-auth.defaultmessagemapper.delete.md +0 -56
- package/docs/api/foundation-auth.defaultmessagemapper.get.md +0 -56
- package/docs/api/foundation-auth.defaultmessagemapper.has.md +0 -56
- package/docs/api/foundation-auth.defaultmessagemapper.md +0 -150
- package/docs/api/foundation-auth.defaultmessagemapper.set.md +0 -70
- package/docs/api/foundation-auth.defaultmessagemapper.size.md +0 -13
- package/docs/api/foundation-auth.defaultpasswordmanagementmapper.md +0 -78
- package/docs/api/foundation-auth.defaultpasswordmanagementmapper.todto.md +0 -13
- package/docs/api/foundation-auth.defaultpasswordmanagementmapper.uuid.md +0 -11
- package/docs/api/foundation-auth.details.md +0 -18
- package/docs/api/foundation-auth.event_change_user_password.details.md +0 -14
- package/docs/api/foundation-auth.event_change_user_password.md +0 -77
- package/docs/api/foundation-auth.event_change_user_password.user_name.md +0 -11
- package/docs/api/foundation-auth.event_login_auth.details.md +0 -24
- package/docs/api/foundation-auth.event_login_auth.md +0 -58
- package/docs/api/foundation-auth.event_login_auth_ack.details.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.md +0 -269
- package/docs/api/foundation-auth.event_login_auth_ack.permission.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.profile.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.refresh_auth_token.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.session_auth_token.md +0 -13
- package/docs/api/foundation-auth.event_login_auth_ack.session_id.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.update_queue.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.user.md +0 -26
- package/docs/api/foundation-auth.event_login_auth_ack.user_name.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.zero_mq_proxy_inbound_port.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.zero_mq_proxy_mode_enabled.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_ack.zero_mq_proxy_outbound_port.md +0 -11
- package/docs/api/foundation-auth.event_login_auth_nack.md +0 -79
- package/docs/api/foundation-auth.event_login_auth_nack.refresh_auth_token.md +0 -13
- package/docs/api/foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md +0 -11
- package/docs/api/foundation-auth.event_login_details_ack.md +0 -14
- package/docs/api/foundation-auth.event_logout_nack.md +0 -14
- package/docs/api/foundation-auth.event_password_reset_action.details.md +0 -15
- package/docs/api/foundation-auth.event_password_reset_action.md +0 -77
- package/docs/api/foundation-auth.event_password_reset_action.user_name.md +0 -11
- package/docs/api/foundation-auth.event_self_service_password_reset.details.md +0 -14
- package/docs/api/foundation-auth.event_self_service_password_reset.md +0 -77
- package/docs/api/foundation-auth.event_self_service_password_reset.user_name.md +0 -11
- package/docs/api/foundation-auth.fieldconfig.md +0 -19
- package/docs/api/foundation-auth.fieldconfigmap.md +0 -19
- package/docs/api/foundation-auth.forgotpasswordparams.md +0 -16
- package/docs/api/foundation-auth.foundationauth.md +0 -21
- package/docs/api/foundation-auth.fromdtoack.md +0 -54
- package/docs/api/foundation-auth.fromdtonack.md +0 -54
- package/docs/api/foundation-auth.fromdtostringarray.md +0 -51
- package/docs/api/foundation-auth.fromidpdto.md +0 -54
- package/docs/api/foundation-auth.getauthmachine.md +0 -45
- package/docs/api/foundation-auth.getauthstore.md +0 -30
- package/docs/api/foundation-auth.getcredentialoptions.md +0 -13
- package/docs/api/foundation-auth.getroutepath.md +0 -70
- package/docs/api/foundation-auth.hasdtoerrorwarningcode.md +0 -74
- package/docs/api/foundation-auth.identity_provider.description.md +0 -11
- package/docs/api/foundation-auth.identity_provider.id.md +0 -11
- package/docs/api/foundation-auth.identity_provider.md +0 -95
- package/docs/api/foundation-auth.identity_provider.type.md +0 -11
- package/docs/api/foundation-auth.identityprovider.description.md +0 -11
- package/docs/api/foundation-auth.identityprovider.id.md +0 -11
- package/docs/api/foundation-auth.identityprovider.md +0 -95
- package/docs/api/foundation-auth.identityprovider.type.md +0 -11
- package/docs/api/foundation-auth.is200nack.md +0 -52
- package/docs/api/foundation-auth.ischangepasswordparams.md +0 -58
- package/docs/api/foundation-auth.isforgotpasswordparams.md +0 -58
- package/docs/api/foundation-auth.isloginackdto.md +0 -54
- package/docs/api/foundation-auth.isloginackentity.md +0 -54
- package/docs/api/foundation-auth.islogindetailsackdto.md +0 -54
- package/docs/api/foundation-auth.islogindetailsackentity.md +0 -54
- package/docs/api/foundation-auth.isloginnackdto.md +0 -54
- package/docs/api/foundation-auth.isloginnackentity.md +0 -54
- package/docs/api/foundation-auth.isloginparams.md +0 -54
- package/docs/api/foundation-auth.islogoutackdto.md +0 -54
- package/docs/api/foundation-auth.islogoutackentity.md +0 -54
- package/docs/api/foundation-auth.islogoutnackdto.md +0 -54
- package/docs/api/foundation-auth.islogoutnackentity.md +0 -54
- package/docs/api/foundation-auth.ismappingerror.md +0 -52
- package/docs/api/foundation-auth.ismfroute.md +0 -54
- package/docs/api/foundation-auth.isnackdto.md +0 -54
- package/docs/api/foundation-auth.isnackentity.md +0 -54
- package/docs/api/foundation-auth.isqueryparams.md +0 -54
- package/docs/api/foundation-auth.isresetpasswordparams.md +0 -58
- package/docs/api/foundation-auth.jwtcredentials.md +0 -18
- package/docs/api/foundation-auth.logger.md +0 -12
- package/docs/api/foundation-auth.loginack.md +0 -14
- package/docs/api/foundation-auth.logindetailsack.md +0 -14
- package/docs/api/foundation-auth.logindto.md +0 -15
- package/docs/api/foundation-auth.loginentity.md +0 -15
- package/docs/api/foundation-auth.loginmapper.md +0 -40
- package/docs/api/foundation-auth.loginnack.hasincorrectcredentials.md +0 -11
- package/docs/api/foundation-auth.loginnack.haspasswordexpired.md +0 -11
- package/docs/api/foundation-auth.loginnack.ismfarequired.md +0 -11
- package/docs/api/foundation-auth.loginnack.maxtriesreached.md +0 -11
- package/docs/api/foundation-auth.loginnack.md +0 -172
- package/docs/api/foundation-auth.loginnack.refreshauthtoken.md +0 -11
- package/docs/api/foundation-auth.loginnack.refreshtokenexpirationmins.md +0 -11
- package/docs/api/foundation-auth.loginnack.requirestermsandconditions.md +0 -11
- package/docs/api/foundation-auth.loginparams.md +0 -14
- package/docs/api/foundation-auth.logout_ack.md +0 -58
- package/docs/api/foundation-auth.logout_ack.oidc_logout_url.md +0 -11
- package/docs/api/foundation-auth.logoutack.md +0 -58
- package/docs/api/foundation-auth.logoutack.oidclogouturl.md +0 -11
- package/docs/api/foundation-auth.logoutdto.md +0 -15
- package/docs/api/foundation-auth.logoutentity.md +0 -15
- package/docs/api/foundation-auth.logoutmapper.md +0 -19
- package/docs/api/foundation-auth.logoutnack.md +0 -14
- package/docs/api/foundation-auth.mapper.md +0 -81
- package/docs/api/foundation-auth.mapper.todto.md +0 -13
- package/docs/api/foundation-auth.mapper.toentity.md +0 -13
- package/docs/api/foundation-auth.mappingerror._constructor_.md +0 -66
- package/docs/api/foundation-auth.mappingerror.data.md +0 -11
- package/docs/api/foundation-auth.mappingerror.md +0 -93
- package/docs/api/foundation-auth.md +0 -1374
- package/docs/api/foundation-auth.messagemapper.md +0 -40
- package/docs/api/foundation-auth.messagemapper.set.md +0 -70
- package/docs/api/foundation-auth.messagemapperlookup.md +0 -14
- package/docs/api/foundation-auth.mfacredentials.md +0 -20
- package/docs/api/foundation-auth.passwordmanagementdto.md +0 -15
- package/docs/api/foundation-auth.passwordmanagemententity.md +0 -15
- package/docs/api/foundation-auth.passwordmanagementmapper.md +0 -19
- package/docs/api/foundation-auth.product.md +0 -18
- package/docs/api/foundation-auth.queryparams.md +0 -15
- package/docs/api/foundation-auth.refreshcredentials.md +0 -18
- package/docs/api/foundation-auth.resetpasswordparams.md +0 -17
- package/docs/api/foundation-auth.seterror.md +0 -25
- package/docs/api/foundation-auth.settings.md +0 -15
- package/docs/api/foundation-auth.ssoconfig.md +0 -14
- package/docs/api/foundation-auth.ssocredentials.md +0 -17
- package/docs/api/foundation-auth.styles.md +0 -12
- package/docs/api/foundation-auth.system.md +0 -18
- package/docs/api/foundation-auth.template.md +0 -12
- package/docs/api/foundation-auth.termsconditionsparams.md +0 -16
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -1401
package/README.md
CHANGED
|
@@ -1,243 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @genesislcap/foundation-auth
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
[](https://www.typescriptlang.org/)
|
|
3
|
+
Documentation for this package is published on the Genesis docs site:
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
application to provide a more efficient and secure authentication experience, and enables functionality like popout
|
|
8
|
-
windows. The package differs from `foundation-login` which authenticated over websockets and is now considered
|
|
9
|
-
deprecated.
|
|
10
|
-
|
|
11
|
-
`foundation-auth` provides several exports to promote reuse and extensibility at various levels. These include but are
|
|
12
|
-
not limited to:
|
|
13
|
-
|
|
14
|
-
* `ZeroAuth`: A preconfigured version of the micro frontend built with the zero design system and zero components.
|
|
15
|
-
* `configure`: A customisation hook for the base micro frontend that integrates it with your design system of choice.
|
|
16
|
-
* `AuthStore`: An auth based [foundation-store](https://www.npmjs.com/package/@genesislcap/foundation-store).
|
|
17
|
-
* `AuthMachine`: An auth based [foundation-state-machine](https://www.npmjs.com/package/@genesislcap/foundation-state-machine) covering the various auth workflows.
|
|
18
|
-
* `AuthMessageMapper`: The auth message dto to entity [mapper](./src/mapper/README.md).
|
|
19
|
-
* `AuthRouting`: A routing utility, which you can call `navigateTo(...)` to navigate to internal routes.
|
|
20
|
-
* Various UI components / route screens, some of which are lazy loaded on-demand to optimise the experience.
|
|
21
|
-
|
|
22
|
-
For applications that do not or cannot use the DI system, we export utility functions to get each from the DI container.
|
|
23
|
-
For example, `getAuthStore`, `getAuthMachine`, `getAuthRouting` etc.
|
|
24
|
-
|
|
25
|
-
Many of these are available as [subpath exports](https://nodejs.org/api/packages.html#subpath-exports) and should be
|
|
26
|
-
imported from these to optimise bundling and overall efficiency.
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import { configure } from '@genesislcap/foundation-auth/configure';
|
|
30
|
-
import { AuthRouting } from '@genesislcap/foundation-auth/routing';
|
|
31
|
-
// note zero is on the root export
|
|
32
|
-
import { ZeroAuth } from '@genesislcap/foundation-auth';
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
In most cases, developers simply import the `ZeroAuth` micro frontend, or use the `configure` export
|
|
36
|
-
token to tailor the micro frontend to their specific needs in their router config. However, developers can also use the
|
|
37
|
-
exports provided to build their own authentication frontends or workflows. A set of pre-defined custom events are used
|
|
38
|
-
to interact with the `AuthStore` and `AuthMachine`, and developers can provide custom implementations of parts of the
|
|
39
|
-
machine's workflow.
|
|
40
|
-
|
|
41
|
-
## Basic setup instructions
|
|
42
|
-
These examples are based on a host application using [FAST](https://www.fast.design/) and the
|
|
43
|
-
[FASTRouter](https://www.npmjs.com/package/@microsoft/fast-router). However, setup in the frontend and router of your
|
|
44
|
-
choice should be quite similar.
|
|
45
|
-
|
|
46
|
-
## Environment variables
|
|
47
|
-
`foundation-auth` uses the following environment variables. The `.env` file below shows the built-in defaults used with `API_HOST`.
|
|
48
|
-
|
|
49
|
-
```dotenv
|
|
50
|
-
# There should be nothing sensitive here!
|
|
51
|
-
|
|
52
|
-
# HTTP
|
|
53
|
-
GENX_LOGIN_URL=/sm/event-login-auth
|
|
54
|
-
GENX_LOGIN_REFRESH_URL=/sm/event-login-auth
|
|
55
|
-
GENX_LOGIN_DETAILS_URL=/sm/event-login-details
|
|
56
|
-
GENX_LOGOUT_URL=/sm/event-logout
|
|
57
|
-
GENX_CHANGE_PASSWORD_URL=/sm/event-change-user-password
|
|
58
|
-
GENX_FORGOT_PASSWORD_URL=/sm/event-self-service-password-reset
|
|
59
|
-
GENX_RESET_PASSWORD_URL=/sm/event-password-reset-action
|
|
60
|
-
|
|
61
|
-
# SSO (type and id will be replaced on runtime idp selection)
|
|
62
|
-
GENX_SSO_LIST_URL=/sm/sso/list
|
|
63
|
-
GENX_SSO_LOGIN_URL=/sm/{type}/login?idp={id}
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
If you are happy with these defaults then you have nothing more to do.
|
|
67
|
-
|
|
68
|
-
Here is an example of loading environment variables contained in a `.env` file into a webpack build, but how you set
|
|
69
|
-
environment variables at an app level is really up to you.
|
|
70
|
-
|
|
71
|
-
```js
|
|
72
|
-
const { resolveDefineConfig } = require('@genesislcap/build-kit'); // < npm install @genesislcap/build-kit --save
|
|
73
|
-
const { config } = require('dotenv'); // < npm install dotenv --save
|
|
74
|
-
const { DefinePlugin } = require('webpack');
|
|
75
|
-
|
|
76
|
-
config(); // < loads the .env vars
|
|
77
|
-
|
|
78
|
-
module.exports = {
|
|
79
|
-
...
|
|
80
|
-
plugins: [
|
|
81
|
-
new DefinePlugin(resolveDefineConfig(['GENX_*'])), // < code replacement should include 'API_HOST' if set, ie. ['GENX_*', 'API_HOST', ...]
|
|
82
|
-
],
|
|
83
|
-
}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### Set up a route to host the micro frontend
|
|
87
|
-
Here we are lazy loading the micro frontend when the route is accessed.
|
|
88
|
-
```ts
|
|
89
|
-
{
|
|
90
|
-
title: 'Authenticate',
|
|
91
|
-
name: 'auth',
|
|
92
|
-
path: 'auth', // < at what path should the micro frontend be accessed. Could be an empty string, ie. on the website root.
|
|
93
|
-
element: async () => {
|
|
94
|
-
const { configure } = await import('@genesislcap/foundation-auth/config');
|
|
95
|
-
return configure({
|
|
96
|
-
omitRoutes: ['request-account'],
|
|
97
|
-
hostPath: 'auth', // < important to match the route path
|
|
98
|
-
logo: myLogo,
|
|
99
|
-
background: myBG,
|
|
100
|
-
postLoginRedirect: () => {
|
|
101
|
-
// You could inspect the user here and route them based on various conditions.
|
|
102
|
-
Route.path.push('my-dashboard');
|
|
103
|
-
},
|
|
104
|
-
});
|
|
105
|
-
},
|
|
106
|
-
childRouters: true,
|
|
107
|
-
settings: { public: true },
|
|
108
|
-
layout: authLayout,
|
|
109
|
-
}
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
### Checking the user authentication status during routing
|
|
113
|
-
Here in our `FASTRouter`'s `NavigationContributor`, we check the user status as part of the routing flow.
|
|
114
|
-
|
|
115
|
-
```ts
|
|
116
|
-
import { User } from '@genesislcap/foundation-user';
|
|
117
|
-
...
|
|
118
|
-
@User private user: User;
|
|
119
|
-
...
|
|
120
|
-
this.contributors.push({
|
|
121
|
-
navigate: async (phase) => {
|
|
122
|
-
const settings = phase.route.settings;
|
|
123
|
-
/**
|
|
124
|
-
* Don't block public routes or any routes when authenticated
|
|
125
|
-
*/
|
|
126
|
-
if (settings?.public || this.user.isAuthenticated) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Otherwise route them to auth
|
|
131
|
-
*/
|
|
132
|
-
phase.cancel(() => {
|
|
133
|
-
this.user.trackPath(); // < Track the user's path to return to it post login if required
|
|
134
|
-
Route.name.replace(phase.router, 'auth');
|
|
135
|
-
});
|
|
136
|
-
},
|
|
137
|
-
});
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Establishing a Websocket Connection
|
|
141
|
-
Creating an actual websocket connection to the Genesis backend is beyond the scope of `foundation-auth`. Post login you
|
|
142
|
-
can import the `API_HOST` from `@genesislcap/foundation-utils` and connect to the Genesis backend. Below uses `connect`
|
|
143
|
-
from the DI container.
|
|
144
|
-
|
|
145
|
-
```ts
|
|
146
|
-
import { API_HOST } from '@genesislcap/foundation-utils';
|
|
147
|
-
...
|
|
148
|
-
@Connect private connect: Connect,
|
|
149
|
-
...
|
|
150
|
-
this.connect.connect(API_HOST);
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### Logging out
|
|
154
|
-
You can logout easily by navigating to the logout route. To help, you can access the `AuthRouting` singleton via the DI
|
|
155
|
-
container from anywhere in your app, such as a header's logout button, and call `navigateTo`.
|
|
156
|
-
```ts
|
|
157
|
-
import { AuthRouting } from '@genesislcap/foundation-auth/routing';
|
|
158
|
-
...
|
|
159
|
-
@AuthRouting private authRouting: AuthRouting;
|
|
160
|
-
...
|
|
161
|
-
this.authRouting.navigateTo('logout');
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
...or via a utility if your app is not using decorators or the DI container.
|
|
165
|
-
|
|
166
|
-
```ts
|
|
167
|
-
import { getAuthRouting } from '@genesislcap/foundation-auth/routing';
|
|
168
|
-
...
|
|
169
|
-
private authRouting = getAuthRouting();
|
|
170
|
-
...
|
|
171
|
-
this.authRouting.navigateTo('logout');
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
You can use `AuthRouting` to navigate to other routes, like change password etc., without needing to know the full
|
|
175
|
-
path the micro frontend is hosted on.
|
|
176
|
-
|
|
177
|
-
If you have trouble logging out using the routing utility, you can try using your host app's router directly.
|
|
178
|
-
|
|
179
|
-
The following example is Angular based, where the developer has put the micro frontend on the `auth` path. There's logic
|
|
180
|
-
within the micro frontend that will automatically navigate itself to the logout route if the login screen is loaded
|
|
181
|
-
while the user is already logged in. Logging out is as easy as moving back to that route.
|
|
182
|
-
|
|
183
|
-
```ts
|
|
184
|
-
import { Router } from '@angular/router';
|
|
185
|
-
|
|
186
|
-
export class AppComponent {
|
|
187
|
-
constructor(private router: Router) {}
|
|
188
|
-
/**
|
|
189
|
-
* Note the developer has put the micro frontend of the `auth` path.
|
|
190
|
-
*/
|
|
191
|
-
onLogout() {
|
|
192
|
-
/**
|
|
193
|
-
* Navigate back to the micro frontend and it will take care of the logout.
|
|
194
|
-
*/
|
|
195
|
-
this.router.navigateByUrl('auth');
|
|
196
|
-
/**
|
|
197
|
-
* Alternatively, you can navigate to the internal logout route.
|
|
198
|
-
* this.router.navigateByUrl('auth/logout');
|
|
199
|
-
*/
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
See the [AuthRouting API Docs](./docs/api/foundation-auth.authrouting.md) for more information.
|
|
205
|
-
|
|
206
|
-
## [API Docs](./docs/api/index.md)
|
|
207
|
-
|
|
208
|
-
## Troubleshooting
|
|
209
|
-
|
|
210
|
-
* We're using `foundation-login`, do we have to move to `foundation-auth`?
|
|
211
|
-
* *`foundation-login` authenticated over websockets and is now considered deprecated, but it will still work for the time being. Moving is advised and should be pretty seamless.*
|
|
212
|
-
* We're using `configure` but are not seeing our changes reflected?
|
|
213
|
-
* *Ensure you're importing `configure` from the `/config` subpath and not the root of the package.*
|
|
214
|
-
* *Ensure you're not importing anything from the root of the package elsewhere in your application.*
|
|
215
|
-
* The `Forgot Password?`, `Change Password` and `Request Account` links don't seem to do anything.
|
|
216
|
-
* *If you're hosting the micro frontend on anything other than the top level root path `''`, for example: `path: 'auth'`, then ensure the `hostPath` property in the `configure` matches.*
|
|
5
|
+
**Docs: [Login](https://docs.genesis.global/docs/develop/client-capabilities/login/)**
|
|
217
6
|
|
|
218
7
|
## Installation
|
|
219
8
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
1. Add `@genesislcap/foundation-auth` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
|
|
9
|
+
Add the package to your `package.json` dependencies. After changing dependencies, run `npm run bootstrap` (or your project's equivalent). See [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) for more information.
|
|
223
10
|
|
|
224
11
|
```json
|
|
225
12
|
{
|
|
226
|
-
...
|
|
227
13
|
"dependencies": {
|
|
228
|
-
...
|
|
229
14
|
"@genesislcap/foundation-auth": "latest"
|
|
230
|
-
|
|
231
|
-
},
|
|
232
|
-
...
|
|
15
|
+
}
|
|
233
16
|
}
|
|
234
17
|
```
|
|
235
18
|
|
|
236
|
-
## [API Docs](./docs/api/index.md)
|
|
237
|
-
|
|
238
19
|
## License
|
|
239
20
|
|
|
240
21
|
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
|
|
241
22
|
|
|
242
23
|
### Licensed components
|
|
24
|
+
|
|
243
25
|
Genesis low-code platform
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-auth",
|
|
3
3
|
"description": "Genesis Foundation Auth",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.409.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-auth.d.ts",
|
|
@@ -129,25 +129,25 @@
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@genesislcap/foundation-testing": "14.
|
|
133
|
-
"@genesislcap/genx": "14.
|
|
134
|
-
"@genesislcap/rollup-builder": "14.
|
|
135
|
-
"@genesislcap/ts-builder": "14.
|
|
136
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
137
|
-
"@genesislcap/vite-builder": "14.
|
|
138
|
-
"@genesislcap/webpack-builder": "14.
|
|
132
|
+
"@genesislcap/foundation-testing": "14.409.0",
|
|
133
|
+
"@genesislcap/genx": "14.409.0",
|
|
134
|
+
"@genesislcap/rollup-builder": "14.409.0",
|
|
135
|
+
"@genesislcap/ts-builder": "14.409.0",
|
|
136
|
+
"@genesislcap/uvu-playwright-builder": "14.409.0",
|
|
137
|
+
"@genesislcap/vite-builder": "14.409.0",
|
|
138
|
+
"@genesislcap/webpack-builder": "14.409.0"
|
|
139
139
|
},
|
|
140
140
|
"dependencies": {
|
|
141
|
-
"@genesislcap/foundation-comms": "14.
|
|
142
|
-
"@genesislcap/foundation-events": "14.
|
|
143
|
-
"@genesislcap/foundation-i18n": "14.
|
|
144
|
-
"@genesislcap/foundation-logger": "14.
|
|
145
|
-
"@genesislcap/foundation-state-machine": "14.
|
|
146
|
-
"@genesislcap/foundation-store": "14.
|
|
147
|
-
"@genesislcap/foundation-ui": "14.
|
|
148
|
-
"@genesislcap/foundation-user": "14.
|
|
149
|
-
"@genesislcap/foundation-utils": "14.
|
|
150
|
-
"@genesislcap/foundation-zero": "14.
|
|
141
|
+
"@genesislcap/foundation-comms": "14.409.0",
|
|
142
|
+
"@genesislcap/foundation-events": "14.409.0",
|
|
143
|
+
"@genesislcap/foundation-i18n": "14.409.0",
|
|
144
|
+
"@genesislcap/foundation-logger": "14.409.0",
|
|
145
|
+
"@genesislcap/foundation-state-machine": "14.409.0",
|
|
146
|
+
"@genesislcap/foundation-store": "14.409.0",
|
|
147
|
+
"@genesislcap/foundation-ui": "14.409.0",
|
|
148
|
+
"@genesislcap/foundation-user": "14.409.0",
|
|
149
|
+
"@genesislcap/foundation-utils": "14.409.0",
|
|
150
|
+
"@genesislcap/foundation-zero": "14.409.0",
|
|
151
151
|
"@microsoft/fast-components": "2.30.6",
|
|
152
152
|
"@microsoft/fast-element": "1.14.0",
|
|
153
153
|
"@microsoft/fast-foundation": "2.50.0",
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
"publishConfig": {
|
|
168
168
|
"access": "public"
|
|
169
169
|
},
|
|
170
|
-
"gitHead": "
|
|
170
|
+
"gitHead": "cbe0459d170f27c35a7de18cec415947aedf4da5"
|
|
171
171
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AcceptTermsParams](./foundation-auth.accepttermsparams.md)
|
|
4
|
-
|
|
5
|
-
## AcceptTermsParams type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
export type AcceptTermsParams = {
|
|
12
|
-
username?: string;
|
|
13
|
-
orgUsername?: string;
|
|
14
|
-
termsAgreed?: boolean;
|
|
15
|
-
version?: string;
|
|
16
|
-
};
|
|
17
|
-
```
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [background](./foundation-auth.authconfig.background.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.background property
|
|
6
|
-
|
|
7
|
-
Background styles.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
background: ComposableStyles | ComposableStyles[] | null;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Providing `null` will hide the background. The format examples from [AuthConfig.logo](./foundation-auth.authconfig.logo.md) apply here too. See also [https://developer.mozilla.org/en-US/docs/Web/CSS/background](https://developer.mozilla.org/en-US/docs/Web/CSS/background) for more information.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
Setting a custom background image
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
background: `
|
|
25
|
-
:host {
|
|
26
|
-
background-image: url(${customBGImport});
|
|
27
|
-
}
|
|
28
|
-
`,
|
|
29
|
-
```
|
|
30
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [backgroundVideo](./foundation-auth.authconfig.backgroundvideo.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.backgroundVideo property
|
|
6
|
-
|
|
7
|
-
Background video.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
backgroundVideo: {
|
|
13
|
-
src: string;
|
|
14
|
-
type: 'video/ogg' | 'video/mp4' | 'video/webm';
|
|
15
|
-
} | null;
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Remarks
|
|
19
|
-
|
|
20
|
-
Overlays any background image if set. Defaults to `null`<!-- -->.
|
|
21
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [feedbackDelay](./foundation-auth.authconfig.feedbackdelay.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.feedbackDelay property
|
|
6
|
-
|
|
7
|
-
Feedback delay.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
feedbackDelay?: number;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
The amount of seconds to display user feedback messages, such as "check your inbox" etc. Defaults to 3 seconds.
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [fields](./foundation-auth.authconfig.fields.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.fields property
|
|
6
|
-
|
|
7
|
-
Map of configuration for each of the primary form fields.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
fields: FieldConfigMap;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Use to drive inclusion / exclusion, tailor labels etc.
|
|
18
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [hostPath](./foundation-auth.authconfig.hostpath.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.hostPath property
|
|
6
|
-
|
|
7
|
-
The `path` of the micro frontend as defined in the parent / host route.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
hostPath: string;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Used to help resolve internal route links. Defaults to an empty string.
|
|
18
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [localizationResources](./foundation-auth.authconfig.localizationresources.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.localizationResources property
|
|
6
|
-
|
|
7
|
-
I18n resources.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
localizationResources?: I18nextConfig['resources'];
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
This property holds the localization resources needed for internationalization of the application. It should follow the structure defined by the I18nextConfig interface, which includes translations grouped by locale and namespace. Each locale can contain multiple namespaces, and each namespace includes key-value pairs for translation strings.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```ts
|
|
23
|
-
resources: {
|
|
24
|
-
en: {
|
|
25
|
-
'foundation-auth': {
|
|
26
|
-
key: 'Hello World'
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
es: {
|
|
30
|
-
'foundation-auth': {
|
|
31
|
-
key: 'Hola Mundo'
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [logo](./foundation-auth.authconfig.logo.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.logo property
|
|
6
|
-
|
|
7
|
-
Logo styles.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
logo: ComposableStyles | ComposableStyles[] | null;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Providing `null` will hide the logo. Use content: url(...); to set source.
|
|
18
|
-
|
|
19
|
-
## Example 1
|
|
20
|
-
|
|
21
|
-
Setting a custom logo using a plain template literal
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
logo: `
|
|
25
|
-
content: url(${customLogoImport});
|
|
26
|
-
`,
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Example 2
|
|
30
|
-
|
|
31
|
-
Setting a custom logo using FASTElement's `css` helper or a pre-created ElementStyles instance when your host app is FAST based
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
logo: css`
|
|
35
|
-
content: url(${customLogoImport});
|
|
36
|
-
`,
|
|
37
|
-
...
|
|
38
|
-
logo: LogoElementStyles,
|
|
39
|
-
```
|
|
40
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthConfig](./foundation-auth.authconfig.md) > [logoAltText](./foundation-auth.authconfig.logoalttext.md)
|
|
4
|
-
|
|
5
|
-
## AuthConfig.logoAltText property
|
|
6
|
-
|
|
7
|
-
Logo alt text.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
logoAltText: string;
|
|
13
|
-
```
|