@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
|
@@ -1,106 +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) > [configure](./foundation-auth.configure.md)
|
|
4
|
-
|
|
5
|
-
## configure() function
|
|
6
|
-
|
|
7
|
-
configure.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function configure(config: Partial<AuthConfig>): Promise<typeof import("../main").FoundationAuth>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
config
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
Partial<[AuthConfig](./foundation-auth.authconfig.md)<!-- -->>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
A partial AuthConfig.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<typeof import("../main").[FoundationAuth](./foundation-auth.foundationauth.md)<!-- -->>
|
|
54
|
-
|
|
55
|
-
## Remarks
|
|
56
|
-
|
|
57
|
-
Configure the auth micro frontend for host app integration.
|
|
58
|
-
|
|
59
|
-
## Example 1
|
|
60
|
-
|
|
61
|
-
General foundation-auth configuration when the route is visited, ie. lazy loading.
|
|
62
|
-
|
|
63
|
-
```ts
|
|
64
|
-
title: 'Authenticate',
|
|
65
|
-
name: 'auth',
|
|
66
|
-
path: 'auth',
|
|
67
|
-
element: async () => {
|
|
68
|
-
const { configure } = await import('@genesislcap/foundation-auth/config'); // < import from the subpath
|
|
69
|
-
return configure({
|
|
70
|
-
hostPath: 'auth',
|
|
71
|
-
omitRoutes: ['request-account'],
|
|
72
|
-
logo: myCompanyLogo,
|
|
73
|
-
background: myAuthBG,
|
|
74
|
-
postLoginRedirect: () => {
|
|
75
|
-
// You could inspect the user here and route them based on various conditions.
|
|
76
|
-
Route.path.push('dashboard');
|
|
77
|
-
},
|
|
78
|
-
});
|
|
79
|
-
},
|
|
80
|
-
layout: authLayout,
|
|
81
|
-
settings: { public: true },
|
|
82
|
-
childRouters: true,
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Example 2
|
|
86
|
-
|
|
87
|
-
Providing template options align to your host application.
|
|
88
|
-
|
|
89
|
-
```ts
|
|
90
|
-
title: 'Authenticate',
|
|
91
|
-
name: 'auth',
|
|
92
|
-
path: 'auth',
|
|
93
|
-
element: async () => {
|
|
94
|
-
const { configure } = await import('@genesislcap/foundation-auth/config'); // < import from the subpath
|
|
95
|
-
return configure({
|
|
96
|
-
name: `nexus-app-auth`,
|
|
97
|
-
// These will be merged with the packages `defaultTemplateOptions`. You will need to have these components registered in your application.
|
|
98
|
-
templateOptions: {
|
|
99
|
-
button: 'nexus-button',
|
|
100
|
-
checkbox: 'nexus-checkbox-next',
|
|
101
|
-
provider: 'template',
|
|
102
|
-
},
|
|
103
|
-
});
|
|
104
|
-
},
|
|
105
|
-
```
|
|
106
|
-
|
|
@@ -1,73 +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) > [createHTTPHeadersFromDTO](./foundation-auth.createhttpheadersfromdto.md)
|
|
4
|
-
|
|
5
|
-
## createHTTPHeadersFromDTO() function
|
|
6
|
-
|
|
7
|
-
createHTTPHeadersFromDTO.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare function createHTTPHeadersFromDTO(dto: {
|
|
13
|
-
SOURCE_REF?: string;
|
|
14
|
-
USER_NAME?: string;
|
|
15
|
-
}, contentType?: string): HeadersInit;
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Parameters
|
|
19
|
-
|
|
20
|
-
<table><thead><tr><th>
|
|
21
|
-
|
|
22
|
-
Parameter
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th><th>
|
|
31
|
-
|
|
32
|
-
Description
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</th></tr></thead>
|
|
36
|
-
<tbody><tr><td>
|
|
37
|
-
|
|
38
|
-
dto
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
{ SOURCE\_REF?: string; USER\_NAME?: string; }
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
DTO being sent to the server.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td></tr>
|
|
52
|
-
<tr><td>
|
|
53
|
-
|
|
54
|
-
contentType
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
string
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
_(Optional)_ Optional content-type, defaults to `application/json; charset=UTF-8`<!-- -->.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td></tr>
|
|
68
|
-
</tbody></table>
|
|
69
|
-
|
|
70
|
-
**Returns:**
|
|
71
|
-
|
|
72
|
-
HeadersInit
|
|
73
|
-
|
|
@@ -1,19 +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) > [createMessageMapper](./foundation-auth.createmessagemapper.md)
|
|
4
|
-
|
|
5
|
-
## createMessageMapper() function
|
|
6
|
-
|
|
7
|
-
A factory to create a MessageMapper.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
createMessageMapper: <TLookup extends MessageMapperLookup, K extends keyof TLookup = keyof TLookup>() => MessageMapper<TLookup, K>
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
[MessageMapper](./foundation-auth.messagemapper.md)<!-- --><TLookup, K>
|
|
17
|
-
|
|
18
|
-
A MessageMapper instance.
|
|
19
|
-
|
|
@@ -1,15 +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) > [CredentialData\_2](./foundation-auth.credentialdata_2.md)
|
|
4
|
-
|
|
5
|
-
## CredentialData\_2 type
|
|
6
|
-
|
|
7
|
-
Represents user credentials.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type CredentialData = PasswordCredentialData & {
|
|
13
|
-
password?: string;
|
|
14
|
-
};
|
|
15
|
-
```
|
|
@@ -1,56 +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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [getCredentials](./foundation-auth.credentialmanager.getcredentials.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.getCredentials() method
|
|
6
|
-
|
|
7
|
-
Retrieves stored credentials.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getCredentials(options?: GetCredentialOptions): Promise<CredentialData | undefined>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
options
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[GetCredentialOptions](./foundation-auth.getcredentialoptions.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ An object containing options for retrieving credentials.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<[CredentialData](./foundation-auth.credentialdata_2.md) \| undefined>
|
|
54
|
-
|
|
55
|
-
A Promise that resolves to a CredentialData object if the credentials are found, or undefined otherwise.
|
|
56
|
-
|
|
@@ -1,56 +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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [getCredentialsFromContainer](./foundation-auth.credentialmanager.getcredentialsfromcontainer.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.getCredentialsFromContainer() method
|
|
6
|
-
|
|
7
|
-
Retrieves credential data from the browser's credential manager.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getCredentialsFromContainer(options?: GetCredentialOptions): Promise<CredentialData | null>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
options
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[GetCredentialOptions](./foundation-auth.getcredentialoptions.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ Options for filtering the retrieved credentials, if any.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<[CredentialData](./foundation-auth.credentialdata_2.md) \| null>
|
|
54
|
-
|
|
55
|
-
A Promise that resolves to the retrieved credential data, or `null` if no matching credentials were found.
|
|
56
|
-
|
|
@@ -1,19 +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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [getCredentialsFromCookie](./foundation-auth.credentialmanager.getcredentialsfromcookie.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.getCredentialsFromCookie() method
|
|
6
|
-
|
|
7
|
-
Retrieves credential data from a browser cookie.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getCredentialsFromCookie(): CredentialData | undefined;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
[CredentialData](./foundation-auth.credentialdata_2.md) \| undefined
|
|
17
|
-
|
|
18
|
-
The retrieved credential data, or `undefined` if no matching data was found.
|
|
19
|
-
|
|
@@ -1,187 +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) > [CredentialManager](./foundation-auth.credentialmanager.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager interface
|
|
6
|
-
|
|
7
|
-
CredentialManager interface.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface CredentialManager
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
A system for managing user credentials.
|
|
18
|
-
|
|
19
|
-
## Methods
|
|
20
|
-
|
|
21
|
-
<table><thead><tr><th>
|
|
22
|
-
|
|
23
|
-
Method
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</th><th>
|
|
27
|
-
|
|
28
|
-
Description
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</th></tr></thead>
|
|
32
|
-
<tbody><tr><td>
|
|
33
|
-
|
|
34
|
-
[getCredentials(options)](./foundation-auth.credentialmanager.getcredentials.md)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</td><td>
|
|
38
|
-
|
|
39
|
-
Retrieves stored credentials.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</td></tr>
|
|
43
|
-
<tr><td>
|
|
44
|
-
|
|
45
|
-
[getCredentialsFromContainer(options)](./foundation-auth.credentialmanager.getcredentialsfromcontainer.md)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
Retrieves credential data from the browser's credential manager.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</td></tr>
|
|
54
|
-
<tr><td>
|
|
55
|
-
|
|
56
|
-
[getCredentialsFromCookie()](./foundation-auth.credentialmanager.getcredentialsfromcookie.md)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
Retrieves credential data from a browser cookie.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
<tr><td>
|
|
66
|
-
|
|
67
|
-
[normaliseLegacyCredentialData(data, cookie)](./foundation-auth.credentialmanager.normaliselegacycredentialdata.md)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
Normalise legacy credential data.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
</td></tr>
|
|
76
|
-
<tr><td>
|
|
77
|
-
|
|
78
|
-
[preventSilentAccess()](./foundation-auth.credentialmanager.preventsilentaccess.md)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</td><td>
|
|
82
|
-
|
|
83
|
-
Prevents silent access by requiring the user to authenticate before making API requests.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</td></tr>
|
|
87
|
-
<tr><td>
|
|
88
|
-
|
|
89
|
-
[removeCookie()](./foundation-auth.credentialmanager.removecookie.md)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</td><td>
|
|
93
|
-
|
|
94
|
-
Removes the user's credential cookie.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td></tr>
|
|
98
|
-
<tr><td>
|
|
99
|
-
|
|
100
|
-
[storeCredentials(data)](./foundation-auth.credentialmanager.storecredentials.md)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
</td><td>
|
|
104
|
-
|
|
105
|
-
Stores user credentials securely.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
</td></tr>
|
|
109
|
-
<tr><td>
|
|
110
|
-
|
|
111
|
-
[storeCredentialsInContainer(data)](./foundation-auth.credentialmanager.storecredentialsincontainer.md)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</td><td>
|
|
115
|
-
|
|
116
|
-
Stores the specified credential data in the browser's credential manager.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</td></tr>
|
|
120
|
-
<tr><td>
|
|
121
|
-
|
|
122
|
-
[storeCredentialsInCookie(data)](./foundation-auth.credentialmanager.storecredentialsincookie.md)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</td><td>
|
|
126
|
-
|
|
127
|
-
Stores the specified credential data in a browser cookie.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</td></tr>
|
|
131
|
-
<tr><td>
|
|
132
|
-
|
|
133
|
-
[validateBasicCredentials(credentials)](./foundation-auth.credentialmanager.validatebasiccredentials.md)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
</td><td>
|
|
137
|
-
|
|
138
|
-
Validates basic credentials (username and password).
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
</td></tr>
|
|
142
|
-
<tr><td>
|
|
143
|
-
|
|
144
|
-
[validateMFACredentials(credentials)](./foundation-auth.credentialmanager.validatemfacredentials.md)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</td><td>
|
|
148
|
-
|
|
149
|
-
Validates MFA credentials.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</td></tr>
|
|
153
|
-
<tr><td>
|
|
154
|
-
|
|
155
|
-
[validateRefreshCredentials(credentials)](./foundation-auth.credentialmanager.validaterefreshcredentials.md)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td><td>
|
|
159
|
-
|
|
160
|
-
Validates refresh credentials.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</td></tr>
|
|
164
|
-
<tr><td>
|
|
165
|
-
|
|
166
|
-
[validateSSOCredentials(credentials)](./foundation-auth.credentialmanager.validatessocredentials.md)
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td><td>
|
|
170
|
-
|
|
171
|
-
Validates SSO credentials.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td></tr>
|
|
175
|
-
<tr><td>
|
|
176
|
-
|
|
177
|
-
[validateUserCredentialData(data, ensurePassword)](./foundation-auth.credentialmanager.validateusercredentialdata.md)
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
</td><td>
|
|
181
|
-
|
|
182
|
-
Validate user credential data returned from the container or a cookie.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
</td></tr>
|
|
186
|
-
</tbody></table>
|
|
187
|
-
|
|
@@ -1,76 +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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [normaliseLegacyCredentialData](./foundation-auth.credentialmanager.normaliselegacycredentialdata.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.normaliseLegacyCredentialData() method
|
|
6
|
-
|
|
7
|
-
Normalise legacy credential data.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
normaliseLegacyCredentialData(data?: CredentialData, cookie?: CredentialData): [CredentialData | undefined, boolean];
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
data
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[CredentialData](./foundation-auth.credentialdata_2.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_ The credential data to normalise.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
cookie
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[CredentialData](./foundation-auth.credentialdata_2.md)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
_(Optional)_ The unknown cookie data to normalise.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
\[[CredentialData](./foundation-auth.credentialdata_2.md) \| undefined, boolean\]
|
|
70
|
-
|
|
71
|
-
A tuple of the best effort normalisation of the inputs to the CredentialData format, and a boolean to indicate if we can remove the cookie.
|
|
72
|
-
|
|
73
|
-
## Remarks
|
|
74
|
-
|
|
75
|
-
Older applications may have legacy credential data that needs migrating to the latest format the manager expects. If the input CredentialData is already formatted as such, it will be returned as is. Otherwise, we check if any cookie input is already formatted as such, and if so return it as CredentialData. If neither inputs are valid, we will attempt a best effort normalisation to create valid CredentialData, or abort and return undefined.
|
|
76
|
-
|
|
@@ -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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [preventSilentAccess](./foundation-auth.credentialmanager.preventsilentaccess.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.preventSilentAccess() method
|
|
6
|
-
|
|
7
|
-
Prevents silent access by requiring the user to authenticate before making API requests.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
preventSilentAccess(): Promise<void>;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
Promise<void>
|
|
17
|
-
|
|
@@ -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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [removeCookie](./foundation-auth.credentialmanager.removecookie.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.removeCookie() method
|
|
6
|
-
|
|
7
|
-
Removes the user's credential cookie.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
removeCookie(): void;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
void
|
|
17
|
-
|
|
18
|
-
## Remarks
|
|
19
|
-
|
|
20
|
-
This is generally called when migrating a user's saved credentials from a cookie to the secure container.
|
|
21
|
-
|
|
@@ -1,56 +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) > [CredentialManager](./foundation-auth.credentialmanager.md) > [storeCredentials](./foundation-auth.credentialmanager.storecredentials.md)
|
|
4
|
-
|
|
5
|
-
## CredentialManager.storeCredentials() method
|
|
6
|
-
|
|
7
|
-
Stores user credentials securely.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
storeCredentials(data: CredentialData): Promise<boolean>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
data
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[CredentialData](./foundation-auth.credentialdata_2.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The credential data to be stored.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<boolean>
|
|
54
|
-
|
|
55
|
-
A Promise that resolves to a boolean indicating if the credentials were stored successfully.
|
|
56
|
-
|