{"_id":"@byuweb/browser-oauth","_rev":"22-6aee24b27b420e3f7ca1fe11b4a1c553","name":"@byuweb/browser-oauth","dist-tags":{"latest":"1.0.3"},"versions":{"0.1.0":{"name":"@byuweb/browser-oauth","version":"0.1.0","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.1.0","maintainers":[{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"dist":{"shasum":"12ac040c171362610fff8e8a60d0cf67ecdc67cb","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.1.0.tgz","fileCount":11,"integrity":"sha512-cDr6bAmtz+1b99k2gZdcA4P6JXsgDuYyA7bUWVNGHzupnpuxxZo+FKW/zQ5ebW7kDQpBbYpQjjKLI0cYcc+svQ==","signatures":[{"sig":"MEUCIBB9Z65SOufoAv3K+jv0NXEGYE43hRd2K+aEL0MLj1CTAiEAsiqlNXKkNGhnxVv99B8nR20rHct2QALFtNcTox8Zqhg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32056},"main":"byu-browser-oauth.js","scripts":{"test":"karma start --single-run","watch-test":"karma start"},"_npmUser":{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},"repository":{"url":"git@github.com:byuweb/byu-browser-oauth.git","type":"git"},"description":"Pluggable facade for OAuth authentication in the browser","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"^2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.1.0_1521496029104_0.15400095133181946","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@byuweb/browser-oauth","version":"0.2.0","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.2.0","maintainers":[{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"dist":{"shasum":"984cdd3d5ddf7a2dbdfc00d51420e8a31f85b834","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.2.0.tgz","fileCount":12,"integrity":"sha512-AztUEnQq9Z5mmfAmpHpV9mkv5jlK/PHAcsFZQ5RWsNTheIiQrca7O3bO2g0bZGB2tXCK4NUDKQ70Oaadw008qA==","signatures":[{"sig":"MEYCIQCo9DAkrr9Q22uL86aZXWNHltp1EwaZsAbTVuR1IvwthgIhAOeWq6M3moPhb1v/zsOSloOIXXhesPVmQbkJEoaEeYYp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34435},"main":"byu-browser-oauth.js","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},"repository":{"url":"git@github.com:byuweb/byu-browser-oauth.git","type":"git"},"description":"Pluggable facade for OAuth authentication in the browser","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"~2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.2.0_1521841548188_0.7712001678272904","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@byuweb/browser-oauth","version":"0.3.0","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.3.0","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"dist":{"shasum":"5cc571eacb59fefc34287d086a8ab7757492f177","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.3.0.tgz","fileCount":21,"integrity":"sha512-msk3MnvwB+sVs4SUoI2jYwU3ki5k9LYaLGTZORVFh0vw++5TXHwwx2ZbdKFzkD43XYaKgbDQNS8y0ijIRy1CNQ==","signatures":[{"sig":"MEYCIQCmOwG2ulclNZsdMD+5MHBfgMAeIrJV/JLGjDMSM4j+WgIhAPsHoukAlHoCv2KccDzS5uaYoYzE96heXrQr20FaYNT3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCD1uCRA9TVsSAnZWagAAxH4P/1YKnPDeiCUvC6E9m3c+\nYEE/twTH2qDZpqKUGnW0b+R5LN2zYKNgN3FbcoQn32mYBGIXwi+BHZaBI0w0\ngiehJ/2M/CGaBIYLeG3LHwPjNHWk7R6QIkcXi7aaFRo3llkO4lB0gKHDU4yu\nnXgVlaH9dOanv/YEoxG9Ph0XjSEALoh+CN/xM8pJpIJ9hlw6J63TWIgmDYGA\nQZjQRbW8Ts/tyR3/HGM7z3zbBAbIZ0NBc1xpWdcm/vUjOfX5HlJaZJUGm5pT\nzYMvBZdUfE/MLCkav2csoD4feNIAKbjT6fbMXVxrFA4GjZWjBKZAdyBp1jJr\nuueGBJUfP9Cv4Gf4kpok7CGbEjfSSIsKqr16s4+gbDRiQyvemCYqZY2sOLTp\ng0AS39mtKh+5xSS552dMFAhup3PriyomAzurN5Dixn8CYMJj8T3kLiAFqcs1\nZxpDsBSyo6/g7mauMSrLSnC1yJKZ6v1b2L7rn6IEs9+41sVRQZ8YK8pxb6PE\nIN0o2A/A0kXSFQRjbC3/ro7+4q+9cuAntW7LXJi+Y0cMqrqk+l1Kn/JBvxEz\n09jDkRCZnKTy95SC1xmAzHqjh/wNRi+EZXUk5y1yzQ6mjQzTro8nEYxkFs4j\nbgYYcwDhG/zxMZ4dFuz7rRnwNF8vCbRxmEZ3FQvZKS7GjB8HAbkvknz6w9+0\n0qSv\r\n=HmEd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},"repository":{"url":"git@github.com:byuweb/byu-browser-oauth.git","type":"git"},"description":"Pluggable facade for OAuth authentication in the browser","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"~2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.3.0_1527266669769_0.5594383498998112","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@byuweb/browser-oauth","version":"0.3.1","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.3.1","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"dist":{"shasum":"9c708017a19b81518b8ac22034b2277b4a918236","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.3.1.tgz","fileCount":21,"integrity":"sha512-Cw6jVColmmX0cqzb7HncrJIa/MdVf3x4hKt1tzAxB0ZmMu+QyWawVMJTqU9IFjvzApcMIjAdnx6D4AzRkQSknw==","signatures":[{"sig":"MEUCIQCkAhsXXlmZsXo8HYDaGTsb48CekVi19pdTlYCnw6HCVgIgWXP8tgfZhtYunjNqTws7NNHyeCkb6ucIf+UtLw/Ym6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCD5mCRA9TVsSAnZWagAAN4EQAINMvHsnolNFUxslVLeB\nV7iKyy31jzFs3TzvcQCrUBsyhgzIJXBhmKtvNYRlEwQQY4PoH4TQv7n+UeD7\nA9ZRx/9UIznVPZ1CYB6b0zuVxc5ecnVoIxSzGNG3sBh4n/chXkN0eKpa42DA\nXiBHJa7qserZ7cM1xl0J34TOYnO/foDkddiQeAy5e+2EZwy/LKkiJ2yiqo38\nV4HIj6OtgZW98clfgkFJpo/o56Otknke2r9w9VfbyhzyTnhBJWx95GjBbasu\nF29vPERt9zgrEFXJ9RLAXX/Utqr2Dgv434RDkwslWKN5/EYlfcfxdPGTkkBJ\n9ev/Egj1ZyNjfI6GV1VQZnoWT+VA3heWBE8VYyjdy9+jGlJSiUn0lU8QEUvE\nf6JZZUqMbWRETV9uiRcT6kmPOt50hxdtesGtQIeog9ybOjJSIVQ3u2mk+dMG\nWUpicdnHF1/iQeyx9txoIyfjF8/ozaI5fiYKe+b8c/PPVBM8MwHHyZv56dvY\nfr6iEQQnEECx7KqqzxiZULhWQ1SwJG1HkeuaCh/TlG3EgVgcOW4GJkO6rHtf\n48W5MI6Yl3mwtYYZTX0ss5ATnaeY88zqPH2iZF3U/wjeMJ2sjqGy34I5JLDv\n9iFEebJbs04jgWhz7CS6Z0/67WsqOSDdyac5UZewwNJ2mjdOT4K02MP1o7oS\ntFE6\r\n=urv1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"thatjoemoore","email":"npm@thatjoemoore.com"},"repository":{"url":"https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"description":"Pluggable facade for OAuth authentication in the browser","directories":{},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"~2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.3.1_1527266917127_0.7754070956341212","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"@byuweb/browser-oauth","version":"0.3.2","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.3.2","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"homepage":"https://github.com/byuweb/byu-browser-oauth#readme","bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"dist":{"shasum":"f838339345107ee0a04e2b4cc386038ee1dec5e0","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.3.2.tgz","fileCount":9,"integrity":"sha512-fQ1by6q0b6gm9EEGh2+5alG8ZbG4LUfgqYg8aXMt0GtIMfuGSxSNpxYQb4mrnd105sSZlWMzPBB7tCd5lGfLUQ==","signatures":[{"sig":"MEUCIDyTcbnddRhUAUeG/NYCr13PaVge/bQjAyV56Gx7NnRWAiEA716qw6d8P1jhVD1ZGzx2Hvy2qatHLGrupUYL+AABn2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGl9yCRA9TVsSAnZWagAAMLYQAJcaW9LrA9hfokQLwTRB\niT7czFA3cjGbiGvEf41zM9MJGQAZnTFmO2fZtBVhZynYcj19rCOId14Mnzs2\nMiaygpuqyW/0OR28qejD/jtqexUGsGY6P8Rny+V8Ey4QEoX1Jbmks9KBfgcz\nGCwZiht3uVBAYbk5dYFSYCBUYpebAyXG6lWh0H+p+q7/VuWZiNiEn+g7yoWf\nzOGBnujndQiGArXLdek11iJAjscbNIYLa4YrbOIgijzVqacnpPgkJVjXz4mu\n9LbiqWBsAP8tygu0CATAAySUt2ZxXJW4Ny9Q0BN5ohv3H0DD64QtdGuCbXK9\nZLSDeXcelpdlNbYYZ96T4ZHwdzRny4nyx27Csrmq3o6z0x7qFx+3wCQ5s+De\nVaifEQrAs4PZLB+eexKo/ozUxn1xICW7G12zltYGytqmfF4mePdC6+i2KmSg\nQBiLfr+hSx8ih+NpGSoZJdE8nnOjNIC5KsCF3Thx6toA5fi2kjLb7VTSDAT6\nXgWrSDvJtCOn7TbmGvDeSZdkInDj30SmlG9PR/YDTvBu0yzG6QSh2/ziM81B\nUUCL9/rQcWS0pP4Pc7H93r+bu1v6IVR62dmZGb830Z1CJuTtEezvHysHcCJL\nww2GHIVShHjErFz7Rlg5/q8jcN44veEgOcCRNsWa22aYrjyQ3lRC3f5RMBjG\n2Lac\r\n=iSYx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","gitHead":"a95ff75e10df2c56d31e4df5c936eee59e935c1f","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},"repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"_npmVersion":"6.9.2","description":"Pluggable facade for OAuth authentication in the browser","directories":{},"_nodeVersion":"10.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"~2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.3.2_1562009457555_0.5497164663654874","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@byuweb/browser-oauth","version":"0.4.0","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@0.4.0","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"homepage":"https://github.com/byuweb/byu-browser-oauth#readme","bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"dist":{"shasum":"f8d8a00d79820cd23b7391d48f2de26ee6d53a80","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-0.4.0.tgz","fileCount":11,"integrity":"sha512-4U1D382qLLc69RqkrJzBiivcdZVZ5NpVjxY4+/UV6wSb5hPRRnF+/ilPXmlQXV55RKcWnGXriYavAXPgOjg3ZQ==","signatures":[{"sig":"MEUCIQCiW8wLdvJFA21SokLBwgiqLiXGGKJ1DP7uBXXp6WICqwIgPTdpkmFnUjZvvzXOF+nQZ3X7GWbha9mrk+XtPfGc2jY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG5aaCRA9TVsSAnZWagAATkcP/jQAhCYuhDE3hHm6y2Wq\nx+cGgam5VdlWoNAGjrQ1eSAuG8a9Doblr5yqIj20ueM596myiCOFmnAC3ujs\nXIRTahQiBiMEyY+2lroU2ShjPV9pox+LM8O3xKxSbxOI0NWg75dZ2kfj2Nyj\nSL583JEFVdNH/SVEDzhciQgeF0FS/wZa9HJp1ZP1ea8nonqwtl/NWaFFCpai\nIIdC5vTzW6+siF1stVDMF0Df4+2ZCNonp5SP4opr0QnwA5l94nuR8BhOH4uj\nlnqqUuhB3jfMnToaDX7gatrHHRiI77iiLQunez6+FkLb1E9bNIf2+NLz6dPV\nz+r6ACQzTUC8p5rgEXNVGEyPj8wzkeiHYA5UniFrID9tQ+1l05cyAxJmOlOk\n6GYgvPSRxowGSVov+GMpEGkd7utj9lpzvkIMQ0Vy5KrNeEYXiR/Z0Uu6Q7Md\nt735CXmvW8cUtxFLeRj+bqMP6U3/Q2zXbs1JeFQIg5YbxFZMOv9Bpemeg185\nPJGFV5vXyymrIFZ2d6CFflTs7wSfErip6eEAoThQ5fwdZnoM7nojZa854tOJ\nVPJUh1rWyHtZHbMtSC5kCSLBNUiilS/SdjV7NfpeaePiYgS0WT5u4igH9bMZ\nENlWKnzaQLuTOanmIeBNPjR30NXT7uoyBEvelU1M14Hj74TdIYaoAkbRK6Ui\nZDyK\r\n=Cq2e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","gitHead":"931f916ce34137f530d945229a13cd60d8518aba","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},"repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"_npmVersion":"6.9.2","description":"Pluggable facade for OAuth authentication in the browser","directories":{},"_nodeVersion":"10.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.0","mocha":"^5.0.4","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","chai-as-promised":"^7.1.1","karma-ie-launcher":"^1.0.0","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^2.2.0","karma-detect-browsers":"~2.2.6","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","karma-rollup-preprocessor":"^5.1.1","karma-safaritechpreview-launcher":"^0.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_0.4.0_1562089113740_0.8696609271090505","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@byuweb/browser-oauth","version":"1.0.0","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@1.0.0","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"snelg","email":"github@snelg.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"homepage":"https://github.com/byuweb/byu-browser-oauth#readme","bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"dist":{"shasum":"5319fe83e44000c4023a43a94758ec7513d24713","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-1.0.0.tgz","fileCount":14,"integrity":"sha512-3T67Zxv2Aq6n+YJhQc+TX6yBS2QO5KdgHpBVD8W+iXz1KekyVr3BFsfgbuiVdgWv3KXkEvOE8Ps+ZI7XN9rmXw==","signatures":[{"sig":"MEQCICaKPxyg8TUW0WbkixZcOmkg0/sU781TUC/5vPxhKUlHAiAcbeZsuJROvDo8P3jXpIXlm4Q3ULs4Xp8BYCqfwRoiOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":142309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcWZjCRA9TVsSAnZWagAArk8QAIjWeOXObJU6IXMb3wu6\n8eLis2oV06lVFk8lPVFtcDtsvhRNEeSQQmulVpZbuPO/AZE0+h9+aRuafDQC\nJB59yU7y4gAOJqaH/eEDIvoWWkUeD2sjq5uqgkIKlV65KAfB4Vy7MQr4DDFm\nA/oAim65xzgyNfk3yP5Gt7XEYVXAr0Q7tKmXLeU5qLVJa3RMULMC6LoLm/+r\nsiiCIgxYBfiMqxSu4N22/1hEWlIYaSb6/pbmBaE8J5LHkKgP/IRhpMPR6/sT\nR0lvRxY9crQwhQvHdAP9qNyVoEpVfx6FuNzRimjhaIDu/WvXJ9OfEWSn+h9n\nv25rwtMAEvM1RTCXeZC4CBRhC0tY5lb4q+ENCnnJsxnXUp/5pi67Ph8h9Abf\nSelb1ay/hMmNZglhkylAyiXwLfRN+vRzvNrxS0usuVpAKIGKR8ESKN/ZVZAO\n2jT5sSr0D1zxlpjqYQkaytAlkZeQfuuiNeOkkgUwJUR/B6d9I0i3vTnYqmlc\nY22IA2RxgxhUGpzP23PRu7kjwnSFj2Fco3CDvyAj3uvfzpukW145q+FPUEMm\nuwsFqmz83UZVBN99XxWE//Wj9o7hG9qeh96NXkPWOpjNI2gY5zZmuq+kOlla\nqRCe2nAZFgyYs8tDNeu78m8tePMeIChMod9ZcK8LSjEnJa9z3iMc4ZpBxmKD\nSoDD\r\n=47xO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","gitHead":"6c9c78a2a03e8103c9013dab10c46e6799314857","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"snelg","email":"github@snelg.com"},"repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"_npmVersion":"6.4.1","description":"Pluggable facade for OAuth authentication in the browser","directories":{},"_nodeVersion":"8.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^4.2.0","mocha":"^6.2.0","rollup":"^1.17.0","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","karma-coverage":"^1.1.2","chai-as-promised":"^7.1.1","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^3.0.0","karma-detect-browsers":"~2.3.3","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","rollup-plugin-istanbul":"^2.0.1","karma-rollup-preprocessor":"^7.0.2","karma-safaritechpreview-launcher":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_1.0.0_1567712867260_0.7638923303548126","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@byuweb/browser-oauth","version":"1.0.2","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@1.0.2","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"snelg","email":"github@snelg.com"},{"name":"thatjoemoore","email":"npm@thatjoemoore.com"}],"homepage":"https://github.com/byuweb/byu-browser-oauth#readme","bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"dist":{"shasum":"2175fa77323fcca98d04ced36207d2ee98c0a0d7","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-1.0.2.tgz","fileCount":14,"integrity":"sha512-uKUMGU9ZJFSmc1/6b5DRWlxSTkvdi9Ib948MUtJqpp4GG86ddeiWUD0KqFK225o+rCwZpEgmpPXEBnMOmQ1Oaw==","signatures":[{"sig":"MEUCIQC45WiAy0KLmkP9wrdGwjcSLYYAabuC7QFqvdFqjP2lxgIga1kS4oVbrNWwqwh09YAir9pf4SQvyEkKJomvaR5gzuA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":142637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJder5zCRA9TVsSAnZWagAAXrsP/RLN1/KQ4yi8SHThr3pS\nxBDOxx4Lf9TNdI9W+44F9xXeRWQI1r10FI1bnC5tQ5BRtt4wK3ZOfXgBEzZz\nCLhVC1562HEUCVIns6lEvBHURAM7hwIHFbSodOwHBSFDsmYTcXjQjLX4ddWq\nKhshCtRaXCpQ5KiVVCPOn1Ao+Q0AEten06xHGo0Tu5W0SNXr1V4sDuTM9wM2\nhKPh7seFTXgWKCzgKN5luyKlS6cQV05pCbolrDnNiOultGujOyul3QKPgmL3\n9duZ9cVwTrrXLy/gunkID5qRJqXNQgo2OL3wToKZJFKBHezuUB5XM9p6QKQK\nj/X4uS8yK70sYpfbMJRsg2yML8i7jLw+p6BGIhPWdAkruo0z8c6Krwrw1IME\ngelEgHPxwfs+ShZkaKR2BwSKJpCieWrtlfu3/kBP4Q1khDxALeLkbsPwO4bl\nLAXcZhqau8/f0XrDxM+IjLG5cAd5GLodARPGbpEsIoHOhuZElWy2+T/Htkfv\nGBhjoxEuz7xdoemeoEEg37jH/0cj1qyQlaX9caDlhHlCMjB36471mt5tJjAb\nyRuQQ/m32g8+yVrf5aWVJSaIOoJslpPbaVevHGN7jHy9hmQ2UmSbjsnpgTWD\nAk+QMjB1S5XRYRTby1t+LN28m1iTVuataLO911uwkQ/8Oi4EZsJzE7l2lY3h\niDff\r\n=v6K8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","gitHead":"a85eb2e67754d62c51525e8098177621a6a919e7","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"snelg","email":"github@snelg.com"},"repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"_npmVersion":"6.4.1","description":"Pluggable facade for OAuth authentication in the browser","directories":{},"_nodeVersion":"10.15.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^4.2.0","mocha":"^6.2.0","rollup":"^1.17.0","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","karma-coverage":"^1.1.2","chai-as-promised":"^7.1.1","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^3.0.0","karma-detect-browsers":"~2.3.3","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","rollup-plugin-istanbul":"^2.0.1","karma-rollup-preprocessor":"^7.0.2","karma-safaritechpreview-launcher":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_1.0.2_1568325235166_0.4609914867347371","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@byuweb/browser-oauth","version":"1.0.3","author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","_id":"@byuweb/browser-oauth@1.0.3","maintainers":[{"name":"arasmus8","email":"arasmus8@gmail.com"},{"name":"blakemorgan","email":"b.morgan.296@gmail.com"},{"name":"gi60s","email":"james.speirs@gmail.com"},{"name":"kebowdog","email":"kevin.larry.bauer@gmail.com"},{"name":"sher1","email":"sherwin.harris@gmail.com"},{"name":"snelg","email":"github@snelg.com"},{"name":"stuft2","email":"spencer.tuft@gmail.com"}],"homepage":"https://github.com/byuweb/byu-browser-oauth#readme","bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"dist":{"shasum":"d0f50c90b150283c2e3e82fdddb29f6ba408ab39","tarball":"https://registry.npmjs.org/@byuweb/browser-oauth/-/browser-oauth-1.0.3.tgz","fileCount":13,"integrity":"sha512-KNI3C8RJ4Z53qKSTHeR4q84xrQ6/Y2jN+wkMBtcdPQM4AiI9zaTdDq2iETFAzZizIlLm93nmPEZJCNRKj2JWsA==","signatures":[{"sig":"MEYCIQCKx6xXuClDzWPYKwcHEIN5JG4onpUAZ3Wd3+GSNhs+YAIhAO9kBEZCtcJfWvhq2hxLFVvg8tTpC74y9yDpwiIqFUk1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNBjrCRA9TVsSAnZWagAAmRYQAJ+TFzu1ZVXnpX5SF4jF\nPQilq0alMecNny7XphcW/XTiqoWbodyM9n55vKuOl4sm8yrnpp4IjRCS2E1R\n34zpXF36RhIVyzZmnT0P8rifgaWG024vuPzWcFWgnJBLKNR3exrRfR8mPZd1\nwtPk13gv52a4tDr+b6gHf+0yzlqpCREasqiQ5lQaaaViWwjX4DHsWn5q5N73\nJnl653BGnezHvMjfjkbAnX39RB+eQj4DugAfcVCX1e17Grh7dbetl/PTiw74\n0X6WuWLZ3Skw38GPTwLBouai8JgxoQlrcHBGkZZI9cyNBwmXRlq8loc8viNY\nvm0vKwZ3ZMVzXJMlRBSzYw+jAd5R/lafmlqZJ2sRxfFX0sWanbpsj3v3qafl\nfJCByWcotLv41vf1iDeW31syDL6HkO7JgHNo8unImHzramzrbZqif2jfPmXU\ncs4KRODZJBLhm7nAnkaknjXooU4aPD4k+3Z92ALWf+AYQ16zyvRPCei7+9pJ\nJavjbCjNcToOH7ue6ucC3xkqcBWOlJD1JYbauxVwTebDvwvTzovskS7MibDp\n4fL4GSyUR+DkKtdsKxzX0dotX3qgGWB2rF+w4pQV6iTa6yIPsBjU13ctNaAK\nDUlxs8Hpafb023eBKKuVCd+ZKYtmEOuLSZW/QePJz5/CJxJXmbIm+HkcmLHD\ndQlp\r\n=orp5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"byu-browser-oauth.js","gitHead":"f2f773ef685cfa8c83f76b1e77cde812ad71f39f","scripts":{"test":"karma start --single-run","watch-test":"karma start --browsers ChromeHeadless"},"_npmUser":{"name":"stuft2","email":"spencer.tuft@gmail.com"},"repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"_npmVersion":"6.14.7","description":"Pluggable facade for OAuth authentication in the browser","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^4.2.0","mocha":"^6.2.0","rollup":"^1.17.0","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","karma-coverage":"^1.1.2","chai-as-promised":"^7.1.1","karma-edge-launcher":"^0.4.2","karma-opera-launcher":"^1.0.0","karma-chrome-launcher":"^3.0.0","karma-detect-browsers":"~2.3.3","karma-safari-launcher":"^1.0.0","karma-firefox-launcher":"^1.1.0","rollup-plugin-istanbul":"^2.0.1","karma-rollup-preprocessor":"^7.0.2","karma-safaritechpreview-launcher":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-oauth_1.0.3_1597249770499_0.3546951660673501","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-03-19T21:47:09.048Z","modified":"2026-07-06T18:21:57.426Z","0.1.0":"2018-03-19T21:47:09.267Z","0.2.0":"2018-03-23T21:45:48.296Z","0.3.0":"2018-05-25T16:44:29.839Z","0.3.1":"2018-05-25T16:48:37.250Z","0.3.2":"2019-07-01T19:30:57.693Z","0.4.0":"2019-07-02T17:38:33.933Z","1.0.0":"2019-09-05T19:47:47.421Z","1.0.2":"2019-09-12T21:53:55.321Z","1.0.3":"2020-08-12T16:29:30.632Z"},"bugs":{"url":"https://github.com/byuweb/byu-browser-oauth/issues"},"author":{"name":"BYU Office of Information Technology"},"license":"Apache-2.0","homepage":"https://github.com/byuweb/byu-browser-oauth#readme","repository":{"url":"git+https://github.com/byuweb/byu-browser-oauth.git","type":"git"},"description":"Pluggable facade for OAuth authentication in the browser","maintainers":[{"email":"sherwin.harris@gmail.com","name":"sher1"},{"email":"arasmus8@gmail.com","name":"arasmus8"},{"email":"kevin.larry.bauer@gmail.com","name":"kebowdog"},{"email":"github@snelg.com","name":"snelg"},{"email":"stuft2@protonmail.com","name":"stuft2"}],"readme":"# byu-browser-oauth\nOIT work towards a unified OAuth framework for our frontend libraries.\n\n\n# Overview\n\nThis library provides a facade around OAuth authentication on the frontend.\n\nIn and of itself, this library does not know how to perform authentication. It does, however,\nprovide a pluggable, event-based system for sharing authentication information between an application\nand any shared API client libraries or Web Components which it uses.\n\nShared libraries and UI components that require OAuth bearer tokens to make API calls should depend\non this library, and should bundle this library into their deployment artifacts.\n\nApplications which use any such libraries or components must then use a compatible OAuth provider library:\n\n* https://github.com/byuweb/byu-browser-oauth-implicit\n* (others will be listed when they are created)\n\nApplications may also wish to depend on this library directly.\n\n# Installing and using\n\nAt this time, this library is intended to be bundled into any libraries or applications that use it.\n\nInstallation is via NPM or Yarn:\n\n```\nnpm install --save @byuweb/browser-oauth\n```\n\nOr\n\n```\nyarn add @byuweb/browser-oauth\n```\n\n# API Overview\n\nThe library is distributed as an ES Module.\n\n```javascript\n\nimport * as authn from './node_modules/@byuweb/browser-oauth/byu-browser-oauth.js';\n\n```\n\n## Example\n\nFor an Implicit Grant implementation of byu-browser-oauth go to https://github.com/byuweb/byu-browser-oauth-implicit and follow the instructions before proceeding.\n\nOnce you have completed the instructions in the implicit grant, you can add the observer to your project to get info about the user, token, and authentication state. \n\n```javascript\n    const observer = new authn.AuthenticationObserver(({state, token, user, error}) => {\n        // React to change\n    });\n```\n\n## Data Types\n\nThere are three main data types: `User`, `Token`, and `AuthenticationError`.\n\n### User\n\n```javascript\n{\n    personId: '',\n    byuId: '',\n    netId: '',\n    name: {\n        sortName: 'Student, Joseph Q',\n        displayName: 'Joe Student', //constructed from givenName, familyName, and familyNamePosition\n        givenName: 'Joe', //preferred first name\n        familyName: 'Student',\n        familyNamePosition: 'L', //or 'F', for 'Last' and 'First'\n    },\n    rawUserInfo: {}, //provider-specific version of the user info object.\n}\n```\n\n### Token\n\n```javascript\n{\n    bearer: '',\n    authorizationHeader: '',\n    expiresAt: new Date(),\n    client: {\n        id: '',\n        byuId: '',\n        appName: '',\n    },\n    rawUserInfo: {}, //provider-specific version of the user info object.\n}\n```\n\n## AuthenticationObserver\n\n`AuthenticationObserver` allows you to be notified when the authentication state changes.\n\n```javascript\n    const observer = new authn.AuthenticationObserver(({state, token, user, error}) => {\n        // React to change\n    });\n```\n\nWhen an `AuthenticationObserver` is created, the authentication provider will be immediately queried for its current state, and will pass that\nstate to the callback. If you wish to disable this immediate callback, set the `notifyCurrent` option to false:\n\n```javascript\n    const observer = new authn.AuthenticationObserver(({state, token, user, error}) => {\n        // React to changes, but not the initial state\n    }, { notifyCurrent: false });\n```\n\nWhen you're done with the observer, like in the `disconnectedCallback()` method of a Web Component, call `disconnect()`\n\n```javascript\n    const observer = authn.onStateChange(({state, token, user, error}) => {\n        // React to change\n    });\n\n    //in disconnectedCallback():\n    observer.disconnect();\n```\n\n### Authentication States\n\nState Name | Meaning\n-----------|---------\n`authn.STATE_INDETERMINATE` | Initial state. The authentication library is still initializing and retrieving state from the provider.\n`authn.STATE_AUTHENTICATING` | The user is not yet authenticated, but the provider is working on authenticating them.\n`authn.STATE_AUTHENTICATED` | The user is fully-authenticated.\n`authn.STATE_UNAUTHENTICATED` | There is no authenticated user.\n`authn.STATE_ERROR` | An authentication error ocurred. If this is the case, onStateChange will receive an 'error' parameter with details.\n`authn.STATE_EXPIRED` | The user's token has expired. It may still be valid for a short amount of time, but the application should take steps to refresh the token.\n`authn.STATE_REFRESHING` | The provider is in the process of refreshing an expired token.\n\n## Current Values\n\nHelper function are provided to get the current authentication state. These functions all return a Promise with the requested value.\n\n### `authn.state()`\n\nGet the current authentication state.\n\n### `authn.hasToken()`\n\nResolves to `true` if there is a current, unexpired authentication token.\n\n### `authn.token()`\n\nGets the current authentication token object.\n\n### `authn.authorizationHeader()`\n\nIf we have a current token, get the computed `Authorization` header value.\n\n### `authn.user()`\n\nGet the current user object\n\n## Request Actions\n\nAn application can request that the provider attempt to log in a user, log out a user, or refresh the user's session.\n\nAll of these functions return a promise that will resolve or reject when the requested action has been completed. However,\nmost authentication providers will need to navigate the user to an OAuth authorization server, and in those cases, these promises\nwill not resolve before the page is unloaded.\n\nShared libraries and UI components generally should not call these functions.\n\n### `authn.login()`\n\nCauses the authentication provider to begin a login process.\n\n```javascript\nauthn.login()\n    .then(({state, token, user, error}) => {\n        // If we don't have to redirect the browser, you can respond to the completed login here\n    });\n```\n\n### `authn.logout()`\n\nCauses the authentication provider to begin a logout process.\n\n```javascript\nauthn.logout()\n    .then(({state, error}) => {\n        // If we don't have to redirect the browser, you can respond to the completed logout here\n    });\n```\n\n### `authn.refresh()`\n\nCauses the authentication provider to refresh an expired token.\n\n```javascript\nauthn.refresh(providerOptions)\n    .then(({state, error}) => {\n        // If we don't have to redirect the browser, you can respond to the completed refresh here\n    });\n```\n\nThe `providerOptions` parameter contains any optional provider-specific options.\nFor example, the Implicit Grant provider lets you specify whether the refresh should be attempted invisibly to the user in an `iframe`, or visibly in a `popup` window.\n\n# Development\n\nThe code is written using ES6 and ES Modules and uses Yarn as the canonical package manager.\n\nInstall dependencies with:\n\n```\nyarn\n```\n\nTo run in-browser tests on all installed, supported browsers:\n\n```\nyarn test\n```\n\nTo run a file watch and re-run tests whenever the files change:\n\n```\nyarn watch-test\n```\n","readmeFilename":"README.md"}