{"_id":"@bcgov/citz-imb-sso-css-api","_rev":"18-3f898455f38489fef80642a93dd62372","name":"@bcgov/citz-imb-sso-css-api","dist-tags":{"beta":"1.0.0-beta","rc":"1.0.0-rc","latest":"1.0.0"},"versions":{"1.0.0-alpha1":{"name":"@bcgov/citz-imb-sso-css-api","version":"1.0.0-alpha1","keywords":["bcgov","citz","imb","keycloak","sso","css","api","oidc","oauth","single sign on","pathfinder","idir","bceid","express","npm"],"author":{"name":"CITZ IMB Common Code","email":"citz.codemvp@gov.bc.ca"},"license":"Apache-2.0","_id":"@bcgov/citz-imb-sso-css-api@1.0.0-alpha1","maintainers":[{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},{"name":"stoews","email":"scott.toews@gov.bc.ca"},{"name":"taylorfries","email":"taylor.friesen@gov.bc.ca"},{"name":"bradenmitchell","email":"braden.mitchell@gov.bc.ca"},{"name":"ty2k","email":"tylerkrys@gmail.com"},{"name":"mgranbois","email":"mgranbois@outlook.com"},{"name":"sheaphillips","email":"shea.phillips@gmail.com"},{"name":"sidmclaughlin","email":"sidmclaughlin@gmail.com"},{"name":"michael.nelson.gov.bc.ca","email":"michael.nelson@gov.bc.ca"},{"name":"jleach","email":"jason.leach@fullboar.ca"},{"name":"shellyxuehan","email":"shelly.han@gov.bc.ca"},{"name":"parcjason","email":"jsherman@parcsystems.ca"},{"name":"akroon3r","email":"adamkroon47@gmail.com"},{"name":"bc-gov-common-services","email":"NR.CommonServiceShowcase@gov.bc.ca"},{"name":"nicoledegreef","email":"Nicole.degreef@gov.bc.ca"},{"name":"chobson","email":"clay.hobson.17@gmail.com"},{"name":"qqnluaq","email":"benjubb+npm@gmail.com"},{"name":"jujaga","email":"jujaga@gmail.com"},{"name":"dgboss","email":"darren.boss@gov.bc.ca"}],"homepage":"https://github.com/bcgov/citz-imb-sso-css-api#readme","bugs":{"url":"https://github.com/bcgov/citz-imb-sso-css-api/issues"},"//":"**NOTE**: See README for descriptions of each script.","dist":{"shasum":"1c2950e611122d59431c49f87c46da30184b36eb","tarball":"https://registry.npmjs.org/@bcgov/citz-imb-sso-css-api/-/citz-imb-sso-css-api-1.0.0-alpha1.tgz","fileCount":6,"integrity":"sha512-6fWNgLNkGAnMWw6wD019eiG310XoYM+/w0HeS6+zpKCHlfQLqVJWWlldLcmvFmNa4pd/uX15qmumVMBMbhXA4A==","signatures":[{"sig":"MEUCIQD/w5WH/P1pMNrn3iubejgo0/M60K5vrcxfmCDS8VG8BwIgNo3ZinvgqPxCHhy3NZ+eGSrBKAxGQ8yFRmPhyVeGxr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42387},"main":"build/index.js","types":"build/bundle.d.ts","gitHead":"cccbd6eb3745099c028e857f4ca9d5c88f0fe513","scripts":{"pack":"rm -rf releases && npm i && npm run build && npm cache clean --force && npm pack && mkdir releases && mv *.tgz ./releases/","build":"npm run clean:prebuild && rollup -c rollup.config.mjs && npm run build:dts && npm run clean:postbuild","build:dts":"rollup -c rollupdts.config.mjs && node scripts/remove-dts-files.mjs","bump:major":"node scripts/bump-version.mjs major","bump:minor":"node scripts/bump-version.mjs minor","bump:patch":"node scripts/bump-version.mjs patch","clean:prebuild":"rm -rf .rollup.cache build tsconfig.tsbuildinfo","clean:postbuild":"node scripts/remove-empty-dirs.mjs && rm -rf .rollup.cache tsconfig.tsbuildinfo"},"_npmUser":{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},"repository":{"url":"git+https://github.com/bcgov/citz-imb-sso-css-api.git","type":"git"},"_npmVersion":"10.5.0","description":"BCGov SSO CSS API integration.","directories":{},"_nodeVersion":"18.20.2","dependencies":{"dotenv":"16.4.1"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"2.6.2","eslint":"8.57.0","prettier":"3.2.5","typescript":"5.3.3","@types/node":"20.11.10","rollup-plugin-dts":"6.1.0","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","@rollup/plugin-commonjs":"25.0.7","@rollup/plugin-typescript":"11.1.6","@typescript-eslint/parser":"7.7.0","@rollup/plugin-multi-entry":"6.0.1","@rollup/plugin-node-resolve":"15.2.3","@typescript-eslint/eslint-plugin":"7.7.0"},"_npmOperationalInternal":{"tmp":"tmp/citz-imb-sso-css-api_1.0.0-alpha1_1713819118523_0.19743260646866667","host":"s3://npm-registry-packages"}},"1.0.0-beta":{"name":"@bcgov/citz-imb-sso-css-api","version":"1.0.0-beta","keywords":["bcgov","citz","imb","keycloak","sso","css","api","oidc","oauth","single sign on","pathfinder","idir","bceid","express","npm"],"author":{"name":"CITZ IMB Common Code","email":"citz.codemvp@gov.bc.ca"},"license":"Apache-2.0","_id":"@bcgov/citz-imb-sso-css-api@1.0.0-beta","maintainers":[{"name":"irfan.charania","email":"irfan.charania@gmail.com"},{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},{"name":"stoews","email":"scott.toews@gov.bc.ca"},{"name":"taylorfries","email":"taylor.friesen@gov.bc.ca"},{"name":"bradenmitchell","email":"braden.mitchell@gov.bc.ca"},{"name":"ty2k","email":"tylerkrys@gmail.com"},{"name":"mgranbois","email":"mgranbois@outlook.com"},{"name":"sheaphillips","email":"shea.phillips@gmail.com"},{"name":"sidmclaughlin","email":"sidmclaughlin@gmail.com"},{"name":"michael.nelson.gov.bc.ca","email":"michael.nelson@gov.bc.ca"},{"name":"jleach","email":"jason.leach@fullboar.ca"},{"name":"shellyxuehan","email":"shelly.han@gov.bc.ca"},{"name":"parcjason","email":"jsherman@parcsystems.ca"},{"name":"akroon3r","email":"adamkroon47@gmail.com"},{"name":"bc-gov-common-services","email":"NR.CommonServiceShowcase@gov.bc.ca"},{"name":"nicoledegreef","email":"Nicole.degreef@gov.bc.ca"},{"name":"chobson","email":"clay.hobson.17@gmail.com"},{"name":"qqnluaq","email":"benjubb+npm@gmail.com"},{"name":"jujaga","email":"jujaga@gmail.com"},{"name":"dgboss","email":"darren.boss@gov.bc.ca"}],"homepage":"https://github.com/bcgov/citz-imb-sso-css-api#readme","bugs":{"url":"https://github.com/bcgov/citz-imb-sso-css-api/issues"},"//":"**NOTE**: See README for descriptions of each script.","dist":{"shasum":"b31d3adc2ac635666276e9fd0e3f6109158c0182","tarball":"https://registry.npmjs.org/@bcgov/citz-imb-sso-css-api/-/citz-imb-sso-css-api-1.0.0-beta.tgz","fileCount":6,"integrity":"sha512-0KozPLE9pQd/VcN34GsE+3dRpo1qV0HOGrBT9ks31tEeP0I+sKiwrMGSnwIQ2sFk0gKmwkiFjkMllBMbbAHB6A==","signatures":[{"sig":"MEQCICawJI7ESD+egZFeKmw3X/Bxg/W866LlimcNMG0t+5KqAiAbYqrDI0+2V88aJfNNUJguQvIx7X3yXcc9q1xmsJkgBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45121},"main":"build/index.js","types":"build/bundle.d.ts","readme":"# BCGov SSO CSS API Functions\n\n[![Lifecycle:Experimental](https://img.shields.io/badge/Lifecycle-Experimental-339999)](Redirect-URL)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)\n[![NodeJS](https://img.shields.io/badge/Node.js_20-43853D?style=for-the-badge&logo=node.js&logoColor=white)](NodeJS)\n[![Typescript](https://img.shields.io/badge/TypeScript_5-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](Typescript)\n\n# `Introduction`\n\nThis npm package offers the [CSS API Account] functionality through easy to use functions in your NodeJS application. The [CSS API Account] is part of the B.C. government's Single Sign-On ([CSS]) service. The endpoints outlined in the [CSS API Swagger Docs] will have a corresponding functions in this package.\n\nThe [CSS API Account] let's you interact with [CSS] Application for your SSO Integration in a RESTful way for both user and role management.\n\n- Built for a NodeJS:20.\n- For [CSS] Teams with a [CSS API Account].\n- Works with Vanilla JavaScript or TypeScript 5. [![JavaScript](https://img.shields.io/badge/-F7DF1E?logo=javascript&logoColor=000)](https://www.javascript.com/) [![TypeScript](https://img.shields.io/badge/-3178C6?logo=typescript&logoColor=ffffff)](https://www.typescriptlang.org/)  \n- Built for standalone use. Does NOT require [@bcgov/citz-imb-sso-react] or [@bcgov/citz-imb-sso-express]\n\n<br />\n\n[![GitHub release](https://img.shields.io/github/v/release/bcgov/citz-imb-sso-css-api.svg)](https://GitHub.com/bcgov/citz-imb-sso-css-api/releases/)  \n[![Npm package total downloads](https://badgen.net/npm/dt/@bcgov/citz-imb-sso-css-api)](https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api)  \n[![GitHub stars](https://img.shields.io/github/stars/bcgov/citz-imb-sso-css-api.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/bcgov/citz-imb-sso-css-api/stargazers/)  \n\n### `Get Started Here!`\n\n[Documentation] - `Installation, setup and usage guides.`\n\n<br />\n\n> ### `IMPORTANT`\n> This package complements, rather than replicates, Common Hosted Single Sign-On ([CSS]).  \n> It allows our own applications to make use of the [CSS API Account] in an easy to consume way.  \n> It is developed and maintained by the [CITZ IMB Common Code] team, separate from the Common Hosted Single Sign-On ([CSS]) team.  \n\n<br />\n\n#### `For Developers working on this package:`\n\nWe emphasize the inclusion of documentation on our code to enhance onboarding efficiency. Understanding the project's architecture and operational dynamics create efficient team members.\n\nWe encourage collaboration by making our project's infrastructure transparent and accessible. Enabling developers to easily navigate and contribute to different parts of the codebase without barriers. Enriching our documentation contributes to a self-documenting codebase. The project's structure and commands are defined and updated within the repository itself. Ultimately, making the project more maintainable and scalable over time.\n\nUse the links below to help you understand the codebase better.\n\n- [Directory Structure]\n- [Scripts]\n- [Package Management Plan]\n- [Publishing a New Release Version]\n\n<br />\n\n[Return to Top](#bcgov-sso-css-api-functions)\n\n<!-- Link References -->\n[CSS]: https://bcgov.github.io/sso-requests\n[CSS API Account]: https://github.com/bcgov/sso-keycloak/wiki/CSS-API-Account\n[CSS API Swagger Docs]: https://api.loginproxy.gov.bc.ca/openapi/swagger\n\n[@bcgov/citz-imb-sso-react]: https://github.com/bcgov/citz-imb-sso-react\n[@bcgov/citz-imb-sso-express]: https://github.com/bcgov/citz-imb-sso-express\n\n[NPM Package]: https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api\n\n[CITZ IMB Common Code]: mailto:citz.codemvp@gov.bc.ca?subject=SSO%20Packages%20Support\n\n[Documentation]: https://github.com/bcgov/citz-imb-sso-css-api/wiki\n[Directory Structure]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/08-Directory-Structure\n[Scripts]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/09-Scripts\n[Publishing a New Release Version]: https://citz-imb.atlassian.net/l/cp/rj2F0y2n\n[Package Management Plan]: https://citz-imb.atlassian.net/l/cp/jcxjEmBf\n","gitHead":"d26a05466f5e01af3ae4391c8922d8b5b7f937db","scripts":{"pack":"rm -rf releases && npm i && npm run build && npm cache clean --force && npm pack && mkdir releases && mv *.tgz ./releases/","test":"jest","build":"npm run clean:prebuild && rollup -c rollup.config.mjs && npm run build:dts && npm run clean:postbuild","tag:rc":"node scripts/bump-version.mjs add-tag rc","coverage":"jest --coverage","tag:beta":"node scripts/bump-version.mjs add-tag beta","build:dts":"rollup -c rollupdts.config.mjs && node scripts/remove-dts-files.mjs","bump:major":"node scripts/bump-version.mjs bump major","bump:minor":"node scripts/bump-version.mjs bump minor","bump:patch":"node scripts/bump-version.mjs bump patch","remove-tag":"node scripts/bump-version.mjs remove-tag","coverage:open":"node scripts/run-coverage-and-open-report.mjs","clean:prebuild":"rm -rf .rollup.cache build tsconfig.tsbuildinfo","clean:postbuild":"node scripts/remove-empty-dirs.mjs && rm -rf .rollup.cache tsconfig.tsbuildinfo"},"_npmUser":{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},"repository":{"url":"git+https://github.com/bcgov/citz-imb-sso-css-api.git","type":"git"},"_npmVersion":"10.7.0","description":"BCGov SSO CSS API integration.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"dotenv":"16.4.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"29.7.0","tslib":"2.6.2","eslint":"8.57.0","ts-jest":"29.1.2","ts-node":"10.9.2","prettier":"3.2.5","typescript":"5.4.5","@types/jest":"29.5.12","@types/node":"20.12.7","rollup-plugin-dts":"6.1.0","@rollup/plugin-json":"6.1.0","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","@rollup/plugin-commonjs":"25.0.7","@rollup/plugin-typescript":"11.1.6","@typescript-eslint/parser":"7.7.0","@rollup/plugin-multi-entry":"6.0.1","@rollup/plugin-node-resolve":"15.2.3","@typescript-eslint/eslint-plugin":"7.7.0"},"_npmOperationalInternal":{"tmp":"tmp/citz-imb-sso-css-api_1.0.0-beta_1717108549110_0.6756840740360543","host":"s3://npm-registry-packages"}},"1.0.0-rc":{"name":"@bcgov/citz-imb-sso-css-api","version":"1.0.0-rc","keywords":["bcgov","citz","imb","keycloak","sso","css","api","oidc","oauth","single sign on","pathfinder","idir","bceid","express","npm"],"author":{"name":"CITZ IMB Common Code","email":"citz.codemvp@gov.bc.ca"},"license":"Apache-2.0","_id":"@bcgov/citz-imb-sso-css-api@1.0.0-rc","maintainers":[{"name":"irfan.charania","email":"irfan.charania@gmail.com"},{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},{"name":"stoews","email":"scott.toews@gov.bc.ca"},{"name":"taylorfries","email":"taylor.friesen@gov.bc.ca"},{"name":"bradenmitchell","email":"braden.mitchell@gov.bc.ca"},{"name":"ty2k","email":"tylerkrys@gmail.com"},{"name":"mgranbois","email":"mgranbois@outlook.com"},{"name":"sheaphillips","email":"shea.phillips@gmail.com"},{"name":"sidmclaughlin","email":"sidmclaughlin@gmail.com"},{"name":"michael.nelson.gov.bc.ca","email":"michael.nelson@gov.bc.ca"},{"name":"jleach","email":"jason.leach@fullboar.ca"},{"name":"shellyxuehan","email":"shelly.han@gov.bc.ca"},{"name":"parcjason","email":"jsherman@parcsystems.ca"},{"name":"akroon3r","email":"adamkroon47@gmail.com"},{"name":"bc-gov-common-services","email":"NR.CommonServiceShowcase@gov.bc.ca"},{"name":"nicoledegreef","email":"Nicole.degreef@gov.bc.ca"},{"name":"chobson","email":"clay.hobson.17@gmail.com"},{"name":"qqnluaq","email":"benjubb+npm@gmail.com"},{"name":"jujaga","email":"jujaga@gmail.com"},{"name":"dgboss","email":"darren.boss@gov.bc.ca"}],"homepage":"https://github.com/bcgov/citz-imb-sso-css-api#readme","bugs":{"url":"https://github.com/bcgov/citz-imb-sso-css-api/issues"},"//":"**NOTE**: See README for descriptions of each script.","dist":{"shasum":"363d0d239d1c80744061485eb93bf28e15609061","tarball":"https://registry.npmjs.org/@bcgov/citz-imb-sso-css-api/-/citz-imb-sso-css-api-1.0.0-rc.tgz","fileCount":6,"integrity":"sha512-Qp5HIsQ0M4o5Z6niOH7x63pBsZoAxl57VubrOu2DC5bpC4Zw0Wl2JguFtjf7fa8WjKi8yO8jHtsvRi3AjUiU/Q==","signatures":[{"sig":"MEYCIQCYxsL2oI7Ue4KpFIQuvXeW4CHZFzrn2w6BDYUN9J218gIhALoYEFeDVk+4c2abbjPiCPf6lKeGHt3HJGvs8qmSu8wm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45465},"main":"build/index.js","types":"build/bundle.d.ts","readme":"# BCGov SSO CSS API Functions\n\n[![Lifecycle:Experimental](https://img.shields.io/badge/Lifecycle-Experimental-339999)](Redirect-URL)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/9acf7410d2019759b52c/maintainability)](https://codeclimate.com/github/bcgov/citz-imb-sso-css-api/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/9acf7410d2019759b52c/test_coverage)](https://codeclimate.com/github/bcgov/citz-imb-sso-css-api/test_coverage)\n\n![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)\n[![NodeJS](https://img.shields.io/badge/Node.js_20-43853D?style=for-the-badge&logo=node.js&logoColor=white)](NodeJS)\n[![Typescript](https://img.shields.io/badge/TypeScript_5-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](Typescript)\n\n# `Introduction`\n\nThis npm package offers the [CSS API Account] functionality through easy to use functions in your NodeJS application. The [CSS API Account] is part of the B.C. government's Single Sign-On ([CSS]) service. The endpoints outlined in the [CSS API Swagger Docs] will have a corresponding functions in this package.\n\nThe [CSS API Account] let's you interact with [CSS] Application for your SSO Integration in a RESTful way for both user and role management.\n\n- Built for a NodeJS:20.\n- For [CSS] Teams with a [CSS API Account].\n- Works with Vanilla JavaScript or TypeScript 5. [![JavaScript](https://img.shields.io/badge/-F7DF1E?logo=javascript&logoColor=000)](https://www.javascript.com/) [![TypeScript](https://img.shields.io/badge/-3178C6?logo=typescript&logoColor=ffffff)](https://www.typescriptlang.org/)  \n- Built for standalone use. Does NOT require [@bcgov/citz-imb-sso-react] or [@bcgov/citz-imb-sso-express]\n\n<br />\n\n[![GitHub release](https://img.shields.io/github/v/release/bcgov/citz-imb-sso-css-api.svg)](https://GitHub.com/bcgov/citz-imb-sso-css-api/releases/)  \n[![Npm package total downloads](https://badgen.net/npm/dt/@bcgov/citz-imb-sso-css-api)](https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api)  \n[![GitHub stars](https://img.shields.io/github/stars/bcgov/citz-imb-sso-css-api.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/bcgov/citz-imb-sso-css-api/stargazers/)  \n\n### `Get Started Here!`\n\n[Documentation] - `Installation, setup and usage guides.`\n\n<br />\n\n> ### `IMPORTANT`\n> This package complements, rather than replicates, Common Hosted Single Sign-On ([CSS]).  \n> It allows our own applications to make use of the [CSS API Account] in an easy to consume way.  \n> It is developed and maintained by the [CITZ IMB Common Code] team, separate from the Common Hosted Single Sign-On ([CSS]) team.  \n\n<br />\n\n#### `For Developers working on this package:`\n\nWe emphasize the inclusion of documentation on our code to enhance onboarding efficiency. Understanding the project's architecture and operational dynamics create efficient team members.\n\nWe encourage collaboration by making our project's infrastructure transparent and accessible. Enabling developers to easily navigate and contribute to different parts of the codebase without barriers. Enriching our documentation contributes to a self-documenting codebase. The project's structure and commands are defined and updated within the repository itself. Ultimately, making the project more maintainable and scalable over time.\n\nUse the links below to help you understand the codebase better.\n\n- [Directory Structure]\n- [Scripts]\n- [Package Management Plan]\n- [Publishing a New Release Version]\n\n<br />\n\n[Return to Top](#bcgov-sso-css-api-functions)\n\n<!-- Link References -->\n[CSS]: https://bcgov.github.io/sso-requests\n[CSS API Account]: https://github.com/bcgov/sso-keycloak/wiki/CSS-API-Account\n[CSS API Swagger Docs]: https://api.loginproxy.gov.bc.ca/openapi/swagger\n\n[@bcgov/citz-imb-sso-react]: https://github.com/bcgov/citz-imb-sso-react\n[@bcgov/citz-imb-sso-express]: https://github.com/bcgov/citz-imb-sso-express\n\n[NPM Package]: https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api\n\n[CITZ IMB Common Code]: mailto:citz.codemvp@gov.bc.ca?subject=SSO%20Packages%20Support\n\n[Documentation]: https://github.com/bcgov/citz-imb-sso-css-api/wiki\n[Directory Structure]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/08-Directory-Structure\n[Scripts]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/09-Scripts\n[Publishing a New Release Version]: https://citz-imb.atlassian.net/l/cp/rj2F0y2n\n[Package Management Plan]: https://citz-imb.atlassian.net/l/cp/jcxjEmBf\n","gitHead":"7c44c488685392ee45327871bafbf7d18f32a014","scripts":{"pack":"rm -rf releases && npm i && npm run build && npm cache clean --force && npm pack && mkdir releases && mv *.tgz ./releases/","test":"jest","build":"npm run clean:prebuild && rollup -c rollup.config.mjs && npm run build:dts && npm run clean:postbuild","tag:rc":"node scripts/bump-version.mjs add-tag rc","coverage":"jest --coverage","tag:beta":"node scripts/bump-version.mjs add-tag beta","build:dts":"rollup -c rollupdts.config.mjs && node scripts/remove-dts-files.mjs","bump:major":"node scripts/bump-version.mjs bump major","bump:minor":"node scripts/bump-version.mjs bump minor","bump:patch":"node scripts/bump-version.mjs bump patch","remove-tag":"node scripts/bump-version.mjs remove-tag","coverage:open":"node scripts/run-coverage-and-open-report.mjs","clean:prebuild":"rm -rf .rollup.cache build tsconfig.tsbuildinfo","clean:postbuild":"node scripts/remove-empty-dirs.mjs && rm -rf .rollup.cache tsconfig.tsbuildinfo"},"_npmUser":{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},"repository":{"url":"git+https://github.com/bcgov/citz-imb-sso-css-api.git","type":"git"},"_npmVersion":"10.7.0","description":"BCGov SSO CSS API integration.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"dotenv":"16.4.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"29.7.0","tslib":"2.6.2","eslint":"8.57.0","ts-jest":"29.1.2","ts-node":"10.9.2","prettier":"3.2.5","typescript":"5.4.5","@types/jest":"29.5.12","@types/node":"20.12.7","rollup-plugin-dts":"6.1.0","@rollup/plugin-json":"6.1.0","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","@rollup/plugin-commonjs":"25.0.7","@rollup/plugin-typescript":"11.1.6","@typescript-eslint/parser":"7.7.0","@rollup/plugin-multi-entry":"6.0.1","@rollup/plugin-node-resolve":"15.2.3","@typescript-eslint/eslint-plugin":"7.7.0"},"_npmOperationalInternal":{"tmp":"tmp/citz-imb-sso-css-api_1.0.0-rc_1718311395108_0.6225747951917797","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@bcgov/citz-imb-sso-css-api","version":"1.0.0","keywords":["bcgov","citz","imb","keycloak","sso","css","api","oidc","oauth","single sign on","pathfinder","idir","bceid","express","npm"],"author":{"name":"CITZ IMB Common Code","email":"citz.codemvp@gov.bc.ca"},"license":"Apache-2.0","_id":"@bcgov/citz-imb-sso-css-api@1.0.0","maintainers":[{"name":"irfan.charania","email":"irfan.charania@gmail.com"},{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},{"name":"stoews","email":"scott.toews@gov.bc.ca"},{"name":"taylorfries","email":"taylor.friesen@gov.bc.ca"},{"name":"bradenmitchell","email":"braden.mitchell@gov.bc.ca"},{"name":"ty2k","email":"tylerkrys@gmail.com"},{"name":"mgranbois","email":"mgranbois@outlook.com"},{"name":"sheaphillips","email":"shea.phillips@gmail.com"},{"name":"sidmclaughlin","email":"sidmclaughlin@gmail.com"},{"name":"michael.nelson.gov.bc.ca","email":"michael.nelson@gov.bc.ca"},{"name":"jleach","email":"jason.leach@fullboar.ca"},{"name":"shellyxuehan","email":"shelly.han@gov.bc.ca"},{"name":"parcjason","email":"jsherman@parcsystems.ca"},{"name":"akroon3r","email":"adamkroon47@gmail.com"},{"name":"bc-gov-common-services","email":"NR.CommonServiceShowcase@gov.bc.ca"},{"name":"nicoledegreef","email":"Nicole.degreef@gov.bc.ca"},{"name":"chobson","email":"clay.hobson.17@gmail.com"},{"name":"qqnluaq","email":"benjubb+npm@gmail.com"},{"name":"jujaga","email":"jujaga@gmail.com"},{"name":"dgboss","email":"darren.boss@gov.bc.ca"}],"homepage":"https://github.com/bcgov/citz-imb-sso-css-api#readme","bugs":{"url":"https://github.com/bcgov/citz-imb-sso-css-api/issues"},"//":"**NOTE**: See README for descriptions of each script.","dist":{"shasum":"7e9cbbafff9e1130ec7a8e2874de51e863e93df6","tarball":"https://registry.npmjs.org/@bcgov/citz-imb-sso-css-api/-/citz-imb-sso-css-api-1.0.0.tgz","fileCount":6,"integrity":"sha512-HswgyDKKwkw9tniIb0Bt4r5w76LO0JwVHtLY0sOGfhslK2wD0FiFfwQsKg/sPHVvof+HDxlFyG2G0kXLyCIxtg==","signatures":[{"sig":"MEUCIFI1XJb5g9XPNnlvjyf2+w9HwUnt+6c//VJMg+vrc9BCAiEAy0h6ms0CxckKBDk93txz9Tv2zegNKp9Z233GGNL/zIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45464},"main":"build/index.js","types":"build/bundle.d.ts","gitHead":"17127e112d256ef747778e26ea1d4b912ad9aa85","scripts":{"pack":"rm -rf releases && npm i && npm run build && npm cache clean --force && npm pack && mkdir releases && mv *.tgz ./releases/","test":"jest","build":"npm run clean:prebuild && rollup -c rollup.config.mjs && npm run build:dts && npm run clean:postbuild","tag:rc":"node scripts/bump-version.mjs add-tag rc","coverage":"jest --coverage","tag:beta":"node scripts/bump-version.mjs add-tag beta","build:dts":"rollup -c rollupdts.config.mjs && node scripts/remove-dts-files.mjs","bump:major":"node scripts/bump-version.mjs bump major","bump:minor":"node scripts/bump-version.mjs bump minor","bump:patch":"node scripts/bump-version.mjs bump patch","remove-tag":"node scripts/bump-version.mjs remove-tag","coverage:open":"node scripts/run-coverage-and-open-report.mjs","clean:prebuild":"rm -rf .rollup.cache build tsconfig.tsbuildinfo","clean:postbuild":"node scripts/remove-empty-dirs.mjs && rm -rf .rollup.cache tsconfig.tsbuildinfo"},"_npmUser":{"name":"citzcodemvp","email":"citz.codemvp@gov.bc.ca"},"repository":{"url":"git+https://github.com/bcgov/citz-imb-sso-css-api.git","type":"git"},"_npmVersion":"10.7.0","description":"BCGov SSO CSS API integration.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"dotenv":"16.4.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","tslib":"2.6.3","eslint":"8.57.0","ts-jest":"29.1.5","ts-node":"10.9.2","prettier":"3.3.2","typescript":"5.4.5","@types/jest":"29.5.12","@types/node":"20.14.5","rollup-plugin-dts":"6.1.1","@rollup/plugin-json":"6.1.0","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","@rollup/plugin-commonjs":"26.0.1","@rollup/plugin-typescript":"11.1.6","@typescript-eslint/parser":"7.13.1","@rollup/plugin-multi-entry":"6.0.1","@rollup/plugin-node-resolve":"15.2.3","@typescript-eslint/eslint-plugin":"7.13.1"},"_npmOperationalInternal":{"tmp":"tmp/citz-imb-sso-css-api_1.0.0_1720464170456_0.883843124125429","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-04-22T20:51:58.372Z","modified":"2026-07-21T21:31:51.312Z","1.0.0-alpha1":"2024-04-22T20:51:58.658Z","1.0.0-beta":"2024-05-30T22:35:49.284Z","1.0.0-rc":"2024-06-13T20:43:15.294Z","1.0.0":"2024-07-08T18:42:50.627Z"},"bugs":{"url":"https://github.com/bcgov/citz-imb-sso-css-api/issues"},"author":{"name":"CITZ IMB Common Code","email":"citz.codemvp@gov.bc.ca"},"license":"Apache-2.0","homepage":"https://github.com/bcgov/citz-imb-sso-css-api#readme","keywords":["bcgov","citz","imb","keycloak","sso","css","api","oidc","oauth","single sign on","pathfinder","idir","bceid","express","npm"],"repository":{"url":"git+https://github.com/bcgov/citz-imb-sso-css-api.git","type":"git"},"description":"BCGov SSO CSS API integration.","maintainers":[{"email":"jason.leach@fullboar.ca","name":"jleach"},{"email":"shelly.han@gov.bc.ca","name":"shellyxuehan"},{"email":"jsherman@parcsystems.ca","name":"parcjason"},{"email":"adamkroon47@gmail.com","name":"akroon3r"},{"email":"NR.CommonServiceShowcase@gov.bc.ca","name":"bc-gov-common-services"},{"email":"Nicole.degreef@gov.bc.ca","name":"nicoledegreef"},{"email":"benjubb+npm@gmail.com","name":"qqnluaq"},{"email":"jujaga@gmail.com","name":"jujaga"},{"email":"darren.boss@gov.bc.ca","name":"dgboss"},{"email":"tylerkrys@gmail.com","name":"ty2k"},{"email":"michael.nelson@gov.bc.ca","name":"michael.nelson.gov.bc.ca"},{"email":"mgranbois@outlook.com","name":"mgranbois"},{"email":"shea.phillips@gmail.com","name":"sheaphillips"},{"email":"citz.codemvp@gov.bc.ca","name":"citzcodemvp"},{"email":"sidmclaughlin@gmail.com","name":"sidmclaughlin"},{"email":"taylor.friesen@gov.bc.ca","name":"taylorfries"},{"email":"braden.mitchell@gov.bc.ca","name":"bradenmitchell"},{"email":"irfan.charania@gmail.com","name":"irfan.charania"},{"email":"scott.toews@gov.bc.ca","name":"stoews"},{"email":"marcus.kernohan@gov.bc.ca","name":"mkernohanbc"},{"email":"paul.howells@gov.bc.ca","name":"paul.howells"},{"email":"jmc.supriya@gmail.com","name":"supriya-arora"},{"email":"dan.ebenal@gov.bc.ca","name":"danebenal"},{"email":"sahej.mundi@gov.bc.ca","name":"sahejmundi"},{"email":"zhanna.kolesnyk@gov.bc.ca","name":"kolezhannochka"},{"email":"danilo.meireles@gmail.com","name":"danilomeireles"},{"email":"omprakashmishra3978@gmail.com","name":"omprakashmishra"},{"email":"galen.gray@gov.bc.ca","name":"galen.gray"},{"email":"fbarreta@gmail.com","name":"fbarreta"},{"email":"jimmypalelil@gmail.com","name":"jimmypalelil"}],"readme":"# BCGov SSO CSS API Functions\n\n[![Lifecycle:Experimental](https://img.shields.io/badge/Lifecycle-Experimental-339999)](Redirect-URL)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/9acf7410d2019759b52c/maintainability)](https://codeclimate.com/github/bcgov/citz-imb-sso-css-api/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/9acf7410d2019759b52c/test_coverage)](https://codeclimate.com/github/bcgov/citz-imb-sso-css-api/test_coverage)\n\n![NPM](https://img.shields.io/badge/NPM-%23CB3837.svg?style=for-the-badge&logo=npm&logoColor=white)\n[![NodeJS](https://img.shields.io/badge/Node.js_20-43853D?style=for-the-badge&logo=node.js&logoColor=white)](NodeJS)\n[![Typescript](https://img.shields.io/badge/TypeScript_5-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](Typescript)\n\n# `Introduction`\n\nThis npm package offers the [CSS API Account] functionality through easy to use functions in your NodeJS application. The [CSS API Account] is part of the B.C. government's Single Sign-On ([CSS]) service. The endpoints outlined in the [CSS API Swagger Docs] will have a corresponding functions in this package.\n\nThe [CSS API Account] let's you interact with [CSS] Application for your SSO Integration in a RESTful way for both user and role management.\n\n- Built for a NodeJS:20.\n- For [CSS] Teams with a [CSS API Account].\n- Works with Vanilla JavaScript or TypeScript 5. [![JavaScript](https://img.shields.io/badge/-F7DF1E?logo=javascript&logoColor=000)](https://www.javascript.com/) [![TypeScript](https://img.shields.io/badge/-3178C6?logo=typescript&logoColor=ffffff)](https://www.typescriptlang.org/)  \n- Built for standalone use. Does NOT require [@bcgov/citz-imb-sso-react] or [@bcgov/citz-imb-sso-express]\n\n<br />\n\n[![GitHub release](https://img.shields.io/github/v/release/bcgov/citz-imb-sso-css-api.svg)](https://GitHub.com/bcgov/citz-imb-sso-css-api/releases/)  \n[![Npm package total downloads](https://badgen.net/npm/dt/@bcgov/citz-imb-sso-css-api)](https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api)  \n[![GitHub stars](https://img.shields.io/github/stars/bcgov/citz-imb-sso-css-api.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/bcgov/citz-imb-sso-css-api/stargazers/)  \n\n### `Get Started Here!`\n\n[Documentation] - `Installation, setup and usage guides.`\n\n<br />\n\n> ### `IMPORTANT`\n> This package complements, rather than replicates, Common Hosted Single Sign-On ([CSS]).  \n> It allows our own applications to make use of the [CSS API Account] in an easy to consume way.  \n> It is developed and maintained by the [CITZ IMB Common Code] team, separate from the Common Hosted Single Sign-On ([CSS]) team.  \n\n<br />\n\n#### `For Developers working on this package:`\n\nWe emphasize the inclusion of documentation on our code to enhance onboarding efficiency. Understanding the project's architecture and operational dynamics create efficient team members.\n\nWe encourage collaboration by making our project's infrastructure transparent and accessible. Enabling developers to easily navigate and contribute to different parts of the codebase without barriers. Enriching our documentation contributes to a self-documenting codebase. The project's structure and commands are defined and updated within the repository itself. Ultimately, making the project more maintainable and scalable over time.\n\nUse the links below to help you understand the codebase better.\n\n- [Directory Structure]\n- [Scripts]\n- [Package Management Plan]\n- [Publishing a New Release Version]\n\n<br />\n\n[Return to Top](#bcgov-sso-css-api-functions)\n\n<!-- Link References -->\n[CSS]: https://bcgov.github.io/sso-requests\n[CSS API Account]: https://github.com/bcgov/sso-keycloak/wiki/CSS-API-Account\n[CSS API Swagger Docs]: https://api.loginproxy.gov.bc.ca/openapi/swagger\n\n[@bcgov/citz-imb-sso-react]: https://github.com/bcgov/citz-imb-sso-react\n[@bcgov/citz-imb-sso-express]: https://github.com/bcgov/citz-imb-sso-express\n\n[NPM Package]: https://www.npmjs.com/package/@bcgov/citz-imb-sso-css-api\n\n[CITZ IMB Common Code]: mailto:citz.codemvp@gov.bc.ca?subject=SSO%20Packages%20Support\n\n[Documentation]: https://github.com/bcgov/citz-imb-sso-css-api/wiki\n[Directory Structure]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/08-Directory-Structure\n[Scripts]: https://github.com/bcgov/citz-imb-sso-css-api/wiki/09-Scripts\n[Publishing a New Release Version]: https://citz-imb.atlassian.net/l/cp/rj2F0y2n\n[Package Management Plan]: https://citz-imb.atlassian.net/l/cp/jcxjEmBf\n","readmeFilename":"README.md"}