{"_id":"@robingenz/capacitor-firebase-authentication","_rev":"60-02259fab40dc9cfa8339a165266bbc73","name":"@robingenz/capacitor-firebase-authentication","dist-tags":{"latest":"0.4.3","dev":"0.3.12-dev.d5f219f.1638652748"},"versions":{"0.0.1-dev.1621757254":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1621757254","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"e6a841c7ce087ad9728ca48183dbfc5cb62cc060","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1621757254","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-pR3Vf/DZmOdnOo1ai7ANC4ZszhdgGNoE0SPVPqtKWNa4UU4aog5XyKHZDswf85l+kg549Nwem4Z5h7rSF/vnQQ==","shasum":"6d285ae4162d719a7157a8dccabbd79039d42921","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1621757254.tgz","fileCount":31,"unpackedSize":35415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqg/1CRA9TVsSAnZWagAAayIP/jvJcGZucObWlsC7M7lQ\nJFXx+UZwOvJl+066HU2nDCJAT8o5pIGgWQ12YC7kalk12IEpzU8BpvDJcCvT\n3Vc/WQQEPQr//vkE0IPbF0mIAGO81QBeWkw48cPz2D8OPnRu9ojIzGJ8FemH\ntaygmReUglMX/PztN1lIcoBkD7leK5TQgm6CSw5VefX77fZ23HCOJsxvYwIL\nsvT6C2zlCZTsTjeFI8TMo8cPU0E1AAbSutO9eFYtHMfj9nasuYzYl+ue611I\nxzhwGCK/92IuP8QFerBCTfn4g9iLxgf7B0oMsmyexhJO0zI9epvjzePV+g+Z\nUEzhHxnA2spYAqYmclH7+jBdbjgDD2noQt51CI2I+lHAO1AT2Kp4lk40LWVr\ngFY0l8zQ/i9EXe820pjzwr5Y9vV/sBy+l1JMAZeMusfq7P/acWWzSbPqjacA\ntW/QzcWaxSDBic43EMOAvpRKR+VTOE4PuzSIhlCEkvUdA693dwcpegCaRygO\nzib6dP8LSr1Al4QlGxHtucXS9k5DXzcX9Y6ed6S8l+V6Bx1FZVbNZL/ZVHpV\nlD6Ne5sJK2Qk60Ej4HYqudfcq/NIa05IP8WjCaEUQgxEG6tkEuhPpDjHEZu0\nK06NoJABDCLBDl8zh3EuuONpv1bwbM9XC/6L2gw8QkJlA0eG8XwLPh8TV5K5\nS6Pi\r\n=RMV/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl5xxZWax/ff+C66tsvNlJvbc+RpeyPZV9PfBzh75WqQIhAN99EURLO9mDfp423P1jrNdOwkabouhsMNuPtBH73NnW"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1621757254_1621757940540_0.540958899430682"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1621782161":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1621782161","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"01e7acfd4fe87cc51aeecbfa4d099944bd3be583","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1621782161","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-zCqkoi+3oJ2Z8o1SC+rq/HUSYIoDTR192a48m3LZIVPXb3ss/spS3vJK7eoRs9E/E4zEmQ2nJAC4igvfsLpnbw==","shasum":"ca515c0cd9c7803a33bc810f41795b932f7447ce","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1621782161.tgz","fileCount":31,"unpackedSize":36416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqm6nCRA9TVsSAnZWagAA4scP/1frZ/LJY6cAe6inSpmV\naLFW2iEZSV5OHKQccxLgizgd/A2PLjQyoHomDIHErcLxhRVvzvpYXnaN/uhg\nhHbm4vZcLUdK6R7WxTLM1sTnKO8MUuF9bKtUy6xQv8yGq4ugdhYlImwf2vbm\n0EotHEIhVvVoGU1L/8vJ9c3dReiYqDVjWezFNV3OZVOPh6FP79RYUXuHHkl3\n5g+n3v+OM1uODOxKtUygv3eu4+exvL4dvZVUgwtRUoyPxuL6XXiNThw5qTvR\nZxXjyjcJqdB1Q2eM34/izuF4D+3yQ2pweHpqlVpz61EGIaGrAr45Y9JELVi6\ntxLxUONtSgvM+8BMsYy5k2q6AR4FUrbm9RrAw8XGWlQ8pSqfdOq4ub1kIWR8\nGIzp/IOA7z6kJ/ZQBS2jDWwUKhaVgLgMcrzMUn7si03kLVdXMi+Mrp4wzSsN\ncsGQDIYnmY56y6MQ23UD7OedMGoC6edOboix/T0jCDXsxNzUM7LiW7UDOPIR\nZhlH5FBHOf8uJNCGLnKsLwe0+8k17KiXLzrN/pBo27p5A2ZfpHx3Daj5nG9F\nol3ZzsGcW/skSZmHG27sZdf7thp4uGNurlmSxdoFbovggHEqH4hJE9B8+3Yd\nccJk6+DoY0iyaRVcapwF4fmZnQJr8Da0gUggYWy3NWSlrDKeCAa0E0FsDsXc\nTO+U\r\n=uaO0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/xhgbGP15SIJzd5jDhPYjltHaLyS7rGtDNYUJYeyqQAiEAtp5bMKohNkbLeeDGK3+/Reuqq97OLG0WQF1HqYoAgSE="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1621782161_1621782183025_0.4847386177040742"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1621796121":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1621796121","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"b3403e721650bc820c73008b1e527780ebac55c6","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1621796121","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-wP+OigwTOFFMO2M39c+I80DuKiM1pzgXfO1NnIQraVP7ymZ+i0XyNsvBM0s+BhxakhA2CPv0fEzQI6IvwLeLlw==","shasum":"5683e8ecd0a08f09d62da2b80901e86f08817b26","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1621796121.tgz","fileCount":34,"unpackedSize":41711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqqUzCRA9TVsSAnZWagAAd9gP/ieWgsK/xnGIu5JRhFDb\nymwesf2UOmTd/hKKv7DZnRdP0hpbLY8M+fBFDnTW5wzQh2Gxn1teKP0AQyAO\nHFj6FBrCCedH5fqOXFJ8AtcMfKsBablKahr7gxxqiRWT0nRkJiDOd2nIhEZz\nL+pIPqXu/BXHzu3n1b3tQQ57YgX3rcbOqVJuO4uMJa/Cc5Vqk3yjx8vsAApm\n61q0bOx9YaY3QgPnU+JHNxaS45RabhxcIAXkA4yCuoW+cSOdIQjfuVQnCv+l\n73hUm/3iymtyQEKTD8CS3WGcOdkbSJNzCHN/xCSwOgqg4+zaUzjkd+Bhnbw0\npoigvbfIc14tJ9oyiLCAQfLwGvQiYS/RBXfz854n3cf3iXaSfZW6ciLwuaxH\nJeCFN/W15498cil2mQQt3iPi2EfLYkiHuzsFWO9WxKNjyW1wnJhkzcbrsD0o\nOMJwRMPvklHle6egfYawNASFOYDD59LTIuDhGgv//jf9A1x3GekQLc1GogmW\n6MUXrCDKzki8fe2i/ep/hBLuUsiF1mG8XtY7sIaajmpzoZgv1ZgUjGLaaAWf\nImnQ6bjvwUxphl8mXbYtgpsbqgvkzIvJBeCjU5BD6Y2M2b7VHqEllaTtMCLK\nzceVlen/Rg2Sg15HadbUUPevkMa61D4WDn3pxsRJTEIQ0JFVGd++G6Kis1QO\neHvc\r\n=L1Ep\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuAZUu+21/upGzhWdNnMpZe7tabeD0MMAU2gQUX2E/fQIhAKz1am3BymeIuKofxEesABqkMbgaHydFPG9Nvo4z7bWv"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1621796121_1621796147088_0.8951801401115076"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1621934948":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1621934948","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"f90a12927dc31d24322e63a827eddd32037d46f7","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1621934948","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-YNLZkT9mX10OQuKyNqIQNGXIrrQ5tkUWVUd3MBKplmmMVFDsh1NLR1/FM60e16nkka29pCRnNnrxfGbs0FQ7pQ==","shasum":"3e57096746c119f9170d669bfd688c538dd5fbd2","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1621934948.tgz","fileCount":34,"unpackedSize":40867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrMOcCRA9TVsSAnZWagAAJ0oP+QFlL7b+HFk5FdicNfbP\nw/oSrZtewXy7Xmy/y5g2AkiL1j22Rybu+jB4F04xGlqkCbs33IxdULOxO2Vg\nLhcFKAlMhPo0OH8c/3MuoKweOwJxPexWBkpBIBnw7VUPrWwDsihau8ZjLbBS\nWSEq7qtCgGTVqDe6eM6U3IYtuZs7eJBrO0fPQs7fFkNAfxXnEUiXQ80wvbR+\nOaGq6WjtbVLscBujCvPL0teABCn89BTgoqcFd5o7a3iw8puZm7sxkvxM/oIm\n00b2Lwpbs8RSFfC4l1jmLtSa2YgCC37QAgx2z7vef02gsuAwYlgxwhix5Owy\nxiGvStjSaCKNeV6cxDsu1rfMgHGb4/30vigqtnusHIWugXbwlqk/HP28rVQO\nCXpHowGD2xl0sMEKcDOh3l5806w+mmiDgfFikrLrFH1k9C+XbdCrmIdE1jHX\nON02tvlnxnSAotQB9Mhfcuu/CPpJsBcsVFXa4L3awFnFms17zIZZi4rGdrZr\nX4Q0aj/Uol+PJykQUhrs3Or0QDzf7bOIeWilIEUthKfWqMthtyoodp9VIPLS\nr0wu8Utv3OZVf1WOWXHq6+JcD41F36afCwTHE0u4C4r2nZpMGz+QbEeLLHvs\nq38KfrIKvr5G4QX6J7TWxS70ItEN3jnoDHFfp+HciBVbZDf3fh/dBoMLAu/q\nkraU\r\n=jx7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC20M33ZkTNXvpnssghWxC2evTQZs0Yl6v0hFjeY20pWQIhAPC9F2DoZz5e+tLx6yrw/QhAI3RrRnBEzcKg+aLhwJb3"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1621934948_1621935003798_0.04183169774842299"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1621935402":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1621935402","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"f90a12927dc31d24322e63a827eddd32037d46f7","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1621935402","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-QCLfLqS0ETepKsbgFp8odlck6IkAr9IiAMolHEiFMgkL2YoSo4PLf4QyPyCZXT7E3mLY21S7pMO8wiulht1+rQ==","shasum":"b1c516a23d5fdd33f7913701a598e3d8c9c7104f","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1621935402.tgz","fileCount":34,"unpackedSize":40928,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrMVCCRA9TVsSAnZWagAAdFYP/iy/w9qPXbHTju5ghMcD\nw3783UKgDNKsXWGjKDtB4ByD06Psy5vdNpA/0rMRQeyVDCX4sB9jYrb5hY6b\nk2u8dVCRCMjTmgBIlJ/D9wTXnEtMgGrl2GvVyZ/C+ahUHPdh/9ReelCi7obl\nU6FrE/3En5VvmP3EjbNfT4IwVgTgjxG9ofT2rvZCx+jdvx4cYxA+KoZEKXDQ\nvTsxRa069gyn1523ruoNqQfKNW9G+5aJQiBXi+B/TOXfm2jWZSridTrlu3Wq\nu93dfulO0XmnKWAx3R2F2ZUMsi5Nt61L8rTEpLXPOo4mSRwBk8UrUcZny9TX\nHOeZHSUhnlkC9IWHdDKoax8XDs4Lg3yvWyQJb8V4RShR+D3/NZInvw+PYAsj\n6Qh8oIvz4qgY48U21reabhy25l9DgYDDn8L7j88N2o+n+NskQ+DNfxiRTG01\nFifm2ZCY6MaXLcNP/JpSwva05jsRVEnGTXNGtOA9/1JPbE7+k/+pHfmInb8e\nVyzuQHQ80YtN30fwX4ntes7CN00nZsxJS/hrt8cOf5GMBqQiY6P8MxcRsn9p\nmH14K3SzNzahcQTCSXZ9x7ZrA1/cU5Wq45btSGFPq3XS+Tse/JSuoTdEeQhX\n48i9R8unlXPaxDYzVS5YmFxXo6Qr96uYFU3JHrPW88V2zcQ1YGv5tcpMinHb\n1UMW\r\n=6uDN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYQ3avC0OYqSfu2A80a2vfOjH7KbS/TlIZrlbz5/447AiEAgvx4VP10ki7ibW4juxyl3iIWHIVpo0zUO4f2/0bDcgA="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1621935402_1621935426302_0.916998353322787"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622010234":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622010234","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"90cbd83db504c637ee6b36c39edeae0b384a60d7","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622010234","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-IQbJhDK3RGPUZSpx/NMvGzSLrU9o7+XMgIZTS+7ygmg0WarFXywoTRvSkt00O9ji3vATJ5nSBC8LBWPLG6a6iw==","shasum":"5fb2d019775817fdfd2037c0779305043709cdc9","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622010234.tgz","fileCount":35,"unpackedSize":45922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrenSCRA9TVsSAnZWagAAjlwQAJvNUZeD+thijkwhCC5J\nXwRxqEq/HT2PZzSxQ25MFThVUd2RaOeGlL9+FjkyWIl81NOLvtsROynC3iRo\nDOjwKjafeSztX5aR7h5aouIh0VN6SESnjon2p7FhDiQQj+dbp2BU87nHEfRW\nBy1TmEXY/j2cc7AWKtrrfG6+WRDCdw1uRQjUCPAGNXMMdTZwkb1dYWfgHu3d\nd6xu5wy1WIjFBTEUJYT9B+IWNaA5SEUiK141JadJub6LkA9QSMtkh+BQSgIL\nrJ3nve2IJteSTiBE5mwJ254hgxIpbZP3Y7kEBAfrXXN+A2r9KjPVowJeE3w5\nrC3/208+RuQq4pN0xO3wxJIO5WFeG70YRrBMI8Mo2enz0uleeH1KMPg/w/Ue\n2XWzMeeK3KIbDBcM9F8vUaI4ZJjf41OriDzPZO0sByCYZD9JboFWnTPdsUcR\nezIvxxCfEJbIHFaaj19NDABe2QlDBFmu2ctRXDV4wWij5/w2fR+JvMpVVSiq\n9UJdas2jaUBqmKOokwtDbenBEbmn/xkkQOSMLuPZRnUfVBWBG9+chU/ZEecr\nYLQD3kK1s3at3v0VO2spTLK3xgA03lj87radTrPz4XNLVGXbthZr/e3KA00v\nQGAQuuNBHbKupLrAxEbdajN/9x9YqlDzRbB2365AWTJ39vvRkq0kLbVGy3oX\nWC1+\r\n=HjFv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAifrkVLdOcoNCYlRRHfw+gUp2NezMFZ4z2Z5pSWPCIaAiAPa3c0astjCB/RPo4MgxgM/vF7ClpNvKwqs1WR3i/TYA=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622010234_1622010322156_0.3465467524750747"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622042182":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622042182","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"54aa8d77238170c25576ea8adb74c55238541e98","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622042182","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-g+Rh5ZppIn6DyWXe3gljW98VTom59djQ7un36aBeMY1ApjKoNf4CAnT1THxRdeUjtIy7xsN1SuckgWlns/DHkA==","shasum":"e5a538035fcc5ee7e918ea4389ef09fe6653902d","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622042182.tgz","fileCount":36,"unpackedSize":50420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrmaCCRA9TVsSAnZWagAA9EwP/juFxl8raUCRMJpohAz6\nbyvdNnTuIhPAJG32np+btINgV2JfvlGfPuzZXkkC0zZnP/iaTfCsFg0fy9zP\nDXgLnjYyjVA0a+hIbutEtVMrTaKhnWPlxZ2PesXgxMVMoBDUv1OC5d/hhIEp\nXSpn9Be7mJUj7g4odvW7RzlPfzVM53je5N6GkK/Ved0CFFmL1U2nr5dcTEW2\nOM5nBglCPyJ83S1R1cVXg15OXAIcJCDTjFWTfTeBzHcOYVIHZu210+5i9Dex\nCjG8Ze0kn3/Lf90DVb5x6MyzpDxYIATlxyir0UfT1OwXqM1pwo3U/8dk+uRZ\ngpVA5PRXsyxB+Ulv1sB0zC7NS9r9+IL/tFMv4FmsRFxH/F/EBNmQcoGkRbBh\nxAUjwRDSHxaGVm20tHHkBoWnsyPTNuHy7ObSG77tShJUdojWZxCfJgJ1BoB3\nowZ7W5qj0Bt/wge7yqwEO5KZQnWUd4YJ0ZbKYjuKSCJZvVosbcnTSEFJ3wrm\nbiK4hLcZ1LIbv14cCPq2Aui/SmMbeKOowsHPiCmmotN2kn4KPXHMe3qHbpHV\nDy2/pldJ/HqxrtS6l+A0lesE6wvnmUC02JxKLnxrlmqqKiBk/OFTEIDVqXz1\nCl7FVcphXxVRIxAKDEq8opmx/XG5bt+nTZVRhOm4ox1l6X5fz8eLGpl1YXsL\n2KtO\r\n=3pUM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ4O8B3gzpTZQtAB76m7dc9pQ14ZRTV6YV26WO8MBcNwIgSI59s5LeKKShTr0i7oABvCQLgizfTQgUyNfnXTjPjJo="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622042182_1622042241979_0.4860299380356947"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622105275":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622105275","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"77d7d7cda3466a00de2ce4f91151648bc274cfe5","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622105275","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-/oCjIRQ5FcTQDEK8yyToq+tDX+OXjFFwTsFX3lITvY9/tskZNJ9te1T9SkFcwH8d7GYtNViqMDdAlYl8N2Cdhw==","shasum":"ec21d2d9c9805ee0d952a372e5b68cc225b2e0be","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622105275.tgz","fileCount":37,"unpackedSize":51547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr1zXCRA9TVsSAnZWagAAEl4P/iK4e9rSGe72X0GtPBPt\n9+5N2yGIJHwClZSxu9ULK393zgK7KjBhpud/aQ2HOVQMiu2Iv1lenFJHOGNI\nU57wnjOCnuZgIwfntZMTfPWJ4FXMRfmujrz8/yX8BDCNXTmZ5AwakPupT11W\nyuAF72XyjtSW7qEBmlGYKlhinKZmM8gwAkfjBw5Wyrd/MPabM3FDM8wszZlE\nu3xfORswJLf2nFIuJ9N9abF8LgG3l3BDcJ+lnAL4FHvAickj9ckh+qQZ+xug\nTmldQnCJ7UNxiV+8VDzeO7hjvi17V/D0AYWkNf2oWXBqGi4RA2gtTAuKrXLb\n/2ORurHVNS8EgJh5XTbH8PaoAkmcBm/NisEfepSsoMT7J9dU902ghJT8HnNU\nu44OFnLJCOwQU8KIFsZLfn9RQcsKSBzCA6tu4QdjVloG6EnvlHLfkiNrF6Eq\nvEqoKTFLF4VSa80YAFVFi+97TjXbNj5eoeypTsIjn9/TlS4FkXDHFGbAapkk\nmLE8EBUUXaOy53ROwcmr/YaxCvUA+oUYnzpV/CszoaAdcfpPpQWCzM/tbccb\n/8yCXlKa8WSLeJ9p3i+jpQ8WGYbfR2P048LiKR/UTLIVLwZhFkjiAxZ0GXyd\nSJSx2Vfb73t/sCbVZgD8SCGDqjgRXOmPSLmjU9qRkJIw+gT6U2siHzwZYB+O\nrBfN\r\n=tWjN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyAfA8G3hRWCoEH/NtpLkh9akVkoW0tx4/Nxt7EyfXKAiAq4OJcqYOxj1kle8l5EzDobMjPDes12Ryw/bYPWsnJxg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622105275_1622105303291_0.6915206594650247"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622113732":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622113732","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"gitHead":"c1c495fb013527d0fb30be2826d6f338d19f13fc","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622113732","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-C7g3nPqVpSvEQobw+YedViaIWlZT4h73gXFr3Fafbq0cDjZ4P3PejLnpD1lHfP/smLgTMCFaqcDMItSzaHeGXg==","shasum":"96a64bdbe95c4fcb0ddcfed62cb7019f906239d9","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622113732.tgz","fileCount":36,"unpackedSize":50239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr33bCRA9TVsSAnZWagAA/gYQAJf66p52zz/fjaAeTJro\nQHSuvgrK9qxkMrizSVmT2qYIluNcf9nIGKPAOYk3/dH1D2F1zFI23koi6vyG\nxIK7OiROalAnMPn9aiJknkACYeKqxq2M/avLZx+U/x8EtR7PU8bzEFQSOoBo\nlwbr7NYZcZNS6KI+QGpX1/YDdra+bfSnFHiqRwrcjcYZClj9bGeV7ZMT+n6z\nNIhopaJ83nC62TZPH90/ou9hvp6SqtywtUke/aDzafULH8dY5VQZe5Dvz4RY\nXwRb9/jT2Cw16u53esWYhYhUlZ3t60yhnaJtlUhD4x1lRdr0aKBKdjtAuBjC\nD3IeQazOL+mXpMgH6EnDn/Q83TRopmqjAicKU9EbG6HgqjK3D1GZNEnWvgPJ\ni2k1Ibpo8b9wsAyfzulxDHgQ8amB18qxml8wBmArcKqzL58EP5eBOacT13/l\nq36RRLrF05S554Eic8/c/RRGZ+up19mMw/Zqbatx94fmKAQUmL7QByISIqgk\nhH2Ke8+xgCm5lcG+SqhcEhrPD77YKxvIkDg4nY8xbmnBUisueBLfQl+oO8St\n/uvSvPw6xbb5q252ih4PThXKOf3uU54jDn+gwCXqzGu/gWecRdrgarzEhtJ0\nZuBdX8MEmXfVtjX+UtNDdXWSxoGIfPW715P1624ofblBxrv1gYGJ5IqNidq1\nYa+W\r\n=7n7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIHmo1aUSvWU1l3pLO1x7E5D6iNHtQNKOh9O4KJ3Ot66BAh8gakjxdqQwALoGHwjDH7mgkSCKSSfnBo/9pqoH0kB+"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622113732_1622113754842_0.1703482663742686"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622533645":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622533645","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **Android**, register the plugin in your main activity:\n\n```java\nimport dev.robingenz.capacitorjs.plugins.firebase.auth.FirebaseAuthentication;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList<Class<? extends Plugin>>() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(FirebaseAuthentication.class);\n          }\n        }\n      );\n  }\n}\n```\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return CAPBridge.handleOpenUrl(url, options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n\n## Configuration\n\nNo configuration required for this plugin.\n\n<!-- ## Demo\n\nA working example can be found here: [robingenz/capacitor-plugin-demo](https://github.com/robingenz/capacitor-plugin-demo) -->\n\n## Usage\n\n```typescript\nimport { Plugins } from '@capacitor/core';\nconst { FirebaseAuthentication } = Plugins;\n\nconst signInWithGoogle = async () => {\n  const result = await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithApple = async () => {\n  const result = await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithMicrosoft = async () => {\n  const result = await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signOut = async () => {\n  const result = await FirebaseAuthentication.signOut();\n};\n```\n\n## API\n\n<docgen-index>\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"9d8ac4f735875b9b1a2209345eecdaf2f14b4046","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622533645","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-nvI21cfhGrzzoH6zPRYCn0lub8Wi4ITogqkMSYOLKmayOdala2d/9yyADrJ+00d9XZVnSbRR0viWL4iOSgZzog==","shasum":"b6d6a7264ba1f4988e5c31649ef86e74eb67a45d","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622533645.tgz","fileCount":37,"unpackedSize":50267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgteYtCRA9TVsSAnZWagAAInAP+QG6DLspOXsOsJwUGR50\nqgT7tUHPgKdElYmBCgOI405Gey5CogmRxXb7NAoZpkd569a0UCupRhhP3MCr\n4O3BNc7Wg7GT2gzZh0ERWcCJOKWStK1QSXGESiAHQ3UW/xX8IyzlJ86UJUuC\nFaJ4WXhyMtatX+PqusLmGBRJttvt5QwltUaNKzlCUor7d0zJvup8untzj7f6\noUQoxh8U6tGobY0Imtlf7sAz0iyie+yltV/pC34Jkkj4YiyKLtYsUGv5Lj5b\nQvdaJTqMYyi6uNsL1haJn1K2y5/qOfo1q92pzO3AM9z12OEdOZ+Z86tsDhHi\ncsqjyT8HYgO61dNUmOiU+kcaze+InxJhaI091OUjv2dgDF4S9t50UyoGSOCq\nIhUZcP75/Eh3xDC0MdOWBuh7ZHSAXHFPQ6gFp1/2HFaWMMODeMaM+z8uPb5N\nIbtX5MhuaaqrVsiSjVUdYjd0kERkWsTacof2zC9YLUmyVv889+djLNHCu45+\n4DmuqXOLr2MSQH5PV2Skbq3cXSZBkyLDX5JCB92ORp/HRl0QTWqINiXz/Qdl\nT7XtsAPv+wA/YyKFdLGJgrHkvVwXZV1yCVg4cOhelZ5iIOKD2nznn47gs5PN\nKr3AIlAGCBbxp6/yKbp39vju9zEKkNGFS1jmNcv77rZPf5/OseaTBfu7fCg+\nEa6V\r\n=LNlH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOTJL4tZpU7e+xQILZCp/ryz9TnL1gYU1BpeFCJvuRrAiAbfPlcb4ly6Kop3sOBRes4+gCDMmgk2MTN10fpYmaJSw=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622533645_1622533676972_0.5287054577008492"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1622534720":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1622534720","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"lint":"npm run prettier -- --check && npm run swiftlint -- lint","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","devDependencies":{"@capacitor/android":"2.4.7","@capacitor/core":"2.4.7","@capacitor/ios":"2.4.7","@ionic/prettier-config":"1.0.0","@ionic/swiftlint-config":"1.0.0","@rollup/plugin-node-resolve":"8.1.0","prettier":"2.0.5","prettier-plugin-java":"0.8.0","rimraf":"3.0.0","rollup":"2.21.0","swiftlint":"1.0.1","typescript":"3.8.3"},"peerDependencies":{"@capacitor/core":"^2.4.7"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **Android**, register the plugin in your main activity:\n\n```java\nimport dev.robingenz.capacitorjs.plugins.firebase.auth.FirebaseAuthentication;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList<Class<? extends Plugin>>() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(FirebaseAuthentication.class);\n          }\n        }\n      );\n  }\n}\n```\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return CAPBridge.handleOpenUrl(url, options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n\n## Configuration\n\nNo configuration required for this plugin.\n\n<!-- ## Demo\n\nA working example can be found here: [robingenz/capacitor-plugin-demo](https://github.com/robingenz/capacitor-plugin-demo) -->\n\n## Usage\n\n```typescript\nimport { Plugins } from '@capacitor/core';\nconst { FirebaseAuthentication } = Plugins;\n\nconst signInWithGoogle = async () => {\n  const result = await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithApple = async () => {\n  const result = await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithMicrosoft = async () => {\n  const result = await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signOut = async () => {\n  const result = await FirebaseAuthentication.signOut();\n};\n```\n\n## API\n\n<docgen-index>\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"9edcd8c44466ac901f451aa55e246aa675255f8d","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1622534720","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-+Vyn+61GEksFG6+zvZ1ZE3hrCsZq2/RWWvaZe73qSJSSH7pk29zbd2R4D2nZI3s3Syi4My38UmGtAykO+HxLig==","shasum":"c129bf3e37e971b6814d478adba07c424d49285d","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1622534720.tgz","fileCount":37,"unpackedSize":50258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgteqlCRA9TVsSAnZWagAAi1wP/00UoDi467nmELfxT4nw\nNtzMqowAHnIlRAfXoDLY/xNcNEPWQ710RRoAi2Eda/OEM2Xz9gw2znbEpLiX\nfd1Vl9eQOlzlavRVzWEDOVcYKT++n7HYrdYKXN22qMP6ZsjxExB77ukh34mz\nzU5LhFcVQQfR+uAzqXm0pu7gj6q3Ib8u37zLnpgB9J2sK6ajGMjWRgD1BD9k\nQyFYlFmRxGrkgOW7gzvYOSviGWsYCjvlWM31THKSEC3C3fv5L20H+UfBh38b\nIQ1Pb2qESs6v3gxi8L9yEE9GPAKKk8JiEKauVpn+phXaMWFshowT4NPtCMbp\nPVXWNRpmv/BECOA1tXq3+yEdmYbN9T4FFMdngEAAQttnWf3RESNBJtIWuSeT\nVQA4UL2XOJFDXIvy+Zt8mBvqbAMMpFirlaQyh8m7hO9zvRSjIFIpAWaBTG7m\nTumVvnvPH3nLdtHF1DLEggtLWoj8pD1v0ghaxDAgqXoKNgmK53TlvdEF7phI\ngSRxbNjGyUg0MSC7vSnedAulgS8Pmx6RlgJAj2KtXop7XBvAKACpzDtJktZ2\nLVzaA8OFFbgmiukF0WGgFS6YnBvvsJId125Z3lOUhPIvTSmR0TEYG0o9Mi7z\nApZAOmdEo+KcvCs6gqIV0r6/gHOONNuygrglPIzfQi6c0ZiqprAWKq2g5oZd\nzKDy\r\n=EnAM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr4koJjTwlvgJTUZGbjiOrNVbG1PjoSGCDVALM47mKFQIgcREyg4+0EYNK2y3Wph96iVpCiiSYCp1z+lJiqiIZpEA="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1622534720_1622534821291_0.5727588878737644"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.0.1-dev.1623067273":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.0.1-dev.1623067273","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.10","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **Android**, register the plugin in your main activity:\n\n```java\nimport dev.robingenz.capacitorjs.plugins.firebase.auth.FirebaseAuthentication;\n\npublic class MainActivity extends BridgeActivity {\n\n  @Override\n  public void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n\n    // Initializes the Bridge\n    this.init(\n        savedInstanceState,\n        new ArrayList<Class<? extends Plugin>>() {\n\n          {\n            // Additional plugins you've installed go here\n            // Ex: add(TotallyAwesomePlugin.class);\n            add(FirebaseAuthentication.class);\n          }\n        }\n      );\n  }\n}\n```\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return CAPBridge.handleOpenUrl(url, options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n\n## Configuration\n\nNo configuration required for this plugin.\n\n<!-- ## Demo\n\nA working example can be found here: [robingenz/capacitor-plugin-demo](https://github.com/robingenz/capacitor-plugin-demo) -->\n\n## Usage\n\n```typescript\nimport { Plugins } from '@capacitor/core';\nconst { FirebaseAuthentication } = Plugins;\n\nconst signInWithGoogle = async () => {\n  const result = await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithApple = async () => {\n  const result = await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithMicrosoft = async () => {\n  const result = await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signOut = async () => {\n  const result = await FirebaseAuthentication.signOut();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signOut()`](#signout)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => any\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for iOS.\n\n**Returns:** <code>any</code>\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => any\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>any</code>\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => any\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>any</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => any\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>any</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### SignInResult\n\n| Prop              | Type                | Description                |\n| ----------------- | ------------------- | -------------------------- |\n| **`idToken`**     | <code>string</code> | Firebase Auth ID Token.    |\n| **`uid`**         | <code>string</code> | Firebase user ID.          |\n| **`email`**       | <code>string</code> | Email address of the user. |\n| **`displayName`** | <code>string</code> | Display name of the user.  |\n\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"64d76612f03a4ba36c9fea1bcd87201d2fa96ecf","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.0.1-dev.1623067273","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-095K4Ocit66wRaS+cIztwW5l2eDi7LIQOLpc1KAkLOUqRijCpIx8SxXvkcWynYG9e73jFF1im31h7ZAcneXVCA==","shasum":"47a0971449cc33fc74b1bee6a4f8d1eb746fa8c5","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.0.1-dev.1623067273.tgz","fileCount":34,"unpackedSize":47166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvgqhCRA9TVsSAnZWagAAyzsP/3jEpA/sRKkhWsiTShmU\nzgf63YkH2WWMKcCYgxOjfdScfTxKZfgfd1ArQxsTDrHr278fr2kGCBYBJi5u\nZhH1fRIJKKzIrjXIy3WRDRrCcK9mtk8H1ahrG+FasqtzOG9ITeT5B9o+Mncy\nDpjoVCbOiNIgHzcyCKqttpjjGekTc3bkTfNR5QlQjbNcn+RoSk+E2eftHxDN\ngl2+ZdbR+GCn9b7rao/Qn5UZX6Jq4EGpKE4g5AxFuvFiCv7XMDPK5nJJewMI\ncBr0/fL1q/wAVuZcqDtYytFjFcXHGWBWf4PFoU2uS5fL13jZM1RfAuL8SHUZ\nl2tKqrSGhiSFOaDmjQhrL73UPeJG5I19bu5IL4cFeKKGGYrMbqxRk+wDAjek\nHo7A4CQq8VBk1542vjYY4i2ftQSLMiEh9WpisthTJ48oKALk9RehBTct3RVk\nXCAGjNE45FR3223rkdNnPCmMEvgSgMu8IiioS5KSivRqedF73rs7+M+qtBzY\nzT3A4FM0ryRuRXHy3nL/YZkeryRjKFnvHLhcKQcbLQQBBO4KEC2Ngos6Xoyd\nLoHZCd+sbuBqnHxSXbUpqoli594VdwXpCYfJhsk6EGpOO3BcvHnvEgW3iItl\ncYARfYb9j/vcEnj01HesETMpAMBhfY6xoiUZFGdlfZlE8IOHwvAaoODxtEM0\ni3cD\r\n=IoTD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoUCgNdOKXng/ufwqTLga5xnlQmLcm7NHQMj2R9Gk+BQIhAMb3hGk7FR4YjeAM9ShgFheW0MGt5sWcwy9isOc+jV2p"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.0.1-dev.1623067273_1623067297107_0.17563251319280582"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.1.0":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.1.0","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"fa3d97acba59eec02833e285a5d8dce8fe1a6888","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.1.0","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-2khzSd0Rk8BF5G1SVAV0soTJEge3G+z3gL6WiP7AzJXmaFgz+y5v5GSWQp9rnpOv9LOBD2ZizQJggYvMIcZFYw==","shasum":"16b51cb0a471ef4cbeee4abecf14f1710127a1e5","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.1.0.tgz","fileCount":35,"unpackedSize":48565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwkJdCRA9TVsSAnZWagAAWygP/RpMZQfUTkW4T5Gp9lad\npN/vZwWQvjD70vJIAdWUYA2lD6FxbDbavfOHjsURzAhYi2PpzfMLZP6f9EE2\nK2KoBMlo4lCpEquD+W7/KsLSKNQgHxWRoxJzivFDIrt62j4pUPoDe8fRmEdn\n8Ny4tfK9uACMpg7ug0mYbNVuH90JS2rH7+hjGnB3NQOAqparShmOxAYjFhg/\n79tjw6XwHaPOEo1PDuXjOWj4vJg7ZmVMWH6fO83SibFwotC2bo5uSo32VRsv\n0ok1fAiqs0FDzMf2R7mXXLiPy+onzsMrHU7I31yLioQ5E6Ce5FoOoDoYIL1Q\nzDi51SyEdUp5YEG1t/FjQgTVF3RdW2vJ7ujLkibJs/ERcSDypujqa+OMAcl3\n3fWH9BHB9iu4v9pKNbCb8ATkSLc7kAPVyTU29K7snMYhOfxN+NgOEL+tsvR1\nuQFrGszAgggBJ72YYoa4T4QYC8Rrr4s3TDwuJn8abd0J61Vw9N409qZtwmU6\ncInCfwxcY55I3g4tBmGm8K9aCoZkutflSp3G7HjeRUOmqPhpK6zsYI8zjxuY\n+7jTzRiPsV0V6WUZMyYw4zpiDVxXlUUvNJeENvYEHEmpyfhkxu+GBLE/oB+O\nb4+QN+EGvT8QdalT3xsM4Gw8UIZJIDFd4f2SySdMdgnfHLK0vtsrj6b8YeKp\nqEqd\r\n=foZp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgG2vyX6QIIu4qcdW8e6aFNGDOxD0zVQP3feItvtUkbAiAkG0bV1l3kntLo/l0KBZCnGcM5Le5FOgVG0uOAq7GIfg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.1.0_1623343709138_0.06639267950149597"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.1.0-dev.cbeca04.1624699938":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.1.0-dev.cbeca04.1624699938","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n\r\n## Configuration\r\n\r\nNo configuration required for this plugin.\r\n\r\n<!-- ## Demo\r\n\r\nA working example can be found here: [robingenz/capacitor-firebase-authentication-demo](https://github.com/robingenz/capacitor-firebase-authentication-demo) -->\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { Plugins } from '@capacitor/core';\r\nconst { FirebaseAuthentication } = Plugins;\r\n\r\nconst signInWithGoogle = async () => {\r\n  const result = await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  const result = await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  const result = await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signOut()`](#signout)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<void>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for iOS.\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<void>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<void>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                                   |\n| ----------- | ------------------- | --------------------------------------------- |\n| **`token`** | <code>string</code> | Force refresh regardless of token expiration. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 |\n| ------------------ | -------------------- |\n| **`forceRefresh`** | <code>boolean</code> |\n\n</docgen-api>\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"cbeca04e95a311cb7435e7a542be3209d062f8bf","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.1.0-dev.cbeca04.1624699938","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-cLVV3X+3OG/R/mGML09lDf/XMi/2QP7VZw6RPExsSfPrRZ+sxlocdrSb0N6CBTVOyNx4oA6pc/2L4RxTE+y0EQ==","shasum":"36fc0d0a5b53e66c682d4d641f6dc393ea050f55","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.1.0-dev.cbeca04.1624699938.tgz","fileCount":35,"unpackedSize":57032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1vSBCRA9TVsSAnZWagAAZpgP/0nOOqgSA76wMQmSgM4p\nF96U9kasC6v21h8pH4234ELrCr9+1x/FN8rzbBnz98qIMIa0pPw+dQLRR1Bu\n+WJlgy7ZoD3wFhcAvkYwlmhON6/u3Awf8hgOy5Wzz/7fpj0z5MiKShn8pGvq\ndbmm2dtWUYZK21FRbcyh6gbnTnVI447hojZ3Q5tpLWdGVsaeAbifZ0mQ3Kt+\nKeS69hyDojw2z80eHG4W8WD4Wo84qiMXZftDc5rKMK13UopsleQt2aCAdDp0\nuuad+m2s9/kBv6pzZP9/TI46Nu9rKjdbA1Or/GULKNcLRRmBCZ5l9pMy8tz6\n4xJOHpREXdH4WLEDJ62NoMMDnjlfjlFpYSEf3/J4S9aZ0aQ1i3WlZfvQZXed\nM9NHVLDLkn3zSkc7SRm2OvC4my59kmxFjT3f/jBUUPHsEQM+17gdJQRncVA/\nWMrFf3xXJmJ7GI1aUrEdsa8wJCE+ZHKAOqD0VCTQGUH/LAXAKbHGQtUCxOsW\nM3bWCZDj11mtNCXc+tRLDhguY8hEFf0ITlGfGDbrx39grcQHtXI65p6GU3HL\nhvPUk0LQukhB5bHNSAl8YkklFfwJi2I2PUhmcCwXz+2215ORRflPsKerOY04\nsRSQxRI7JoEzIwb/qw69aDAV10ucuLDsRB9cmkqdBN3oDEbbpdEmJyxkr4tX\nXXyU\r\n=p/L9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDi1KLKFTOs1ZCOn+2OO0tk0x3y0gWsOlJ7Xy1OhxH8AiEAyzJisZHVNdVq7nl0TkmNuweyQ3RjrRG1WdFrBhTepF0="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.1.0-dev.cbeca04.1624699938_1624700033347_0.9407237038567116"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.1.0-dev.c21dcca.1624712570":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.1.0-dev.c21dcca.1624712570","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n\n## Configuration\n\nNo configuration required for this plugin.\n\n<!-- ## Demo\n\nA working example can be found here: [robingenz/capacitor-firebase-authentication-demo](https://github.com/robingenz/capacitor-firebase-authentication-demo) -->\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signOut()`](#signout)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<void>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for iOS.\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<void>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<void>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                                   |\n| ----------- | ------------------- | --------------------------------------------- |\n| **`token`** | <code>string</code> | Force refresh regardless of token expiration. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 |\n| ------------------ | -------------------- |\n| **`forceRefresh`** | <code>boolean</code> |\n\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"c21dccaef7206ccd09830598fd1f70739866a4f2","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.1.0-dev.c21dcca.1624712570","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-YeWPit6j6Jfukqx8NGYfoIZ3RIk4ryYHpy9OBDXqdMmnKCn7DTPfBKmwTCIyUXwhqPsoUVA0jCj911Xu6KE6ug==","shasum":"c4f049902baadab18293e1be3d5e8ff2a915bd4e","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.1.0-dev.c21dcca.1624712570.tgz","fileCount":35,"unpackedSize":57336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1yWfCRA9TVsSAnZWagAALwEP/2zNBR7iP1/S/QRfn/OC\nj40auZSVFqHLOyvwko3lmojRypIqZTkaRYi0WCy4mPSFY2SeLqEiTtRqAsl8\nl8I2MiJJZ+R5C1tfMdBQQ249WcatBchdJqkh4/fZG+HeJl6SuOiVDhQd8Lfu\nzctO/8VQ2CRdJapa1gc5tGHycz46hUn3tdO6dfPCSH+v8u9CxjMZ0xKvLPwT\nLT54Onjt4rgUjFXoG08D3Liy8N5AeBnsoxE7wvwND8VUjOkLrlsgqvkfXM/9\ncgh5L/qaCG7m78aYvAwO4o/ePIq/Io8dW91kjzEhnsABvtHbZtAbBu6yYL94\n0chUROx/wKZXIHFT9UrHOU3TR90HONGn4zOTWEL2w5Z3ImISJs6JEGmbcpm4\nRZYCVrK49oQXZk+HDunTUZZ2nhAjxBZgjQye/anL3KbF5E4PzRl0QHm7k1Zd\ndHtmu/xHxmIFq/5bwY+kelOJXJYNjb4XXaU5yoHo3XQI8ahYsVfTG5dDfeKU\n+/DYcgwe1HWl37bOJl8HBX8BYRWz7Xfs+xFcvjQW9oPRi4BMtMtpQClwiq7S\nrqpN0lnlGs2tp+TA8rzqK5sS9IZgWCzVVgBuxnIoMUKoPk2wuJiRUpZDM4zr\nnYjbCGYxfU8jyH4V0ed99ugb49DC4W/+q8f1Zq7WeKpMD+aL4yRJ9g7dgPBr\nfoMH\r\n=J9Kb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8uEZxCqqajvIT47HBY1MrqC4lIEr6NW6hMpOU5RHwiwIgb91KZ+vtBMQaC7Ee9kNYB5Vf3/9eZJav5VkGdeDRhxw="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.de"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.1.0-dev.c21dcca.1624712570_1624712607091_0.5365941146340019"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.1.0-dev.f190390.1625259763":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.1.0-dev.f190390.1625259763","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n\r\n## Configuration\r\n\r\nNo configuration required for this plugin.\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGithub()`](#signinwithgithub)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signInWithTwitter()`](#signinwithtwitter)\n* [`signInWithYahoo()`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<void>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithGithub()\n\n```typescript\nsignInWithGithub() => Promise<void>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<void>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<void>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithTwitter()\n\n```typescript\nsignInWithTwitter() => Promise<void>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signInWithYahoo()\n\n```typescript\nsignInWithYahoo() => Promise<void>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                |\n| ----------- | ------------------- |\n| **`token`** | <code>string</code> |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n</docgen-api>\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"f1903904b050dddaaabd0456e68ae1b8f45c96e8","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.1.0-dev.f190390.1625259763","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-7nKGrM5W1nCxCsclOLxVU1pMym//3vjwuCXG9+dyvnRRDqW39cP+flVkgCvtH4/8L1mo7Rq2uOZsWVUX48bURg==","shasum":"03ab72aa6887a6d8f85ec75fe152986d1294fb25","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.1.0-dev.f190390.1625259763.tgz","fileCount":37,"unpackedSize":64137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg338qCRA9TVsSAnZWagAAXOkP/iKuMYAk/MvApA3lb4xp\nd+ZqtYeKLfg4eCFMQyh+8RoPoKBHEcECZcopYfa+MTFOrbAXXhiuPltrnuN0\n5DUGeJsxXC8jP5ZSs1ts7SvSoMRyAERzuXHDMMa+eQCoy+w4G0nQ3sxLcVjJ\nvYrtht14ohfSOmBvByFAN+P8AisjdyI+LDWVp0GROnlK2p4jJpzFd1EXDutt\nHUTpu77YiAx8dqmCPrOiZDG7wSJCEUKfFQf9K/AaC/kA09otqt/uEsOtHamf\nklAK/QqoLwdz6P8hK7zDjnFajMKTGuLb8RtLJXoJlnUA+9LvDN1w99ZrdD5a\nDKPsw2NZBGTs2QyH3jvgV1dxBNXuVzWQzb1d1HVpU8wcVob/fZp1awHRir5+\nhiH7yY8LWWjI5ZV209les6aS6/rWKy5L5o5Hf5lTuQ01DLp5VG1/UlHvXo1N\nTc70w04AY1uExobV/M1Vw9OhY86CyxLY4by0dYETHobdTtN5qFoNUWzDQHqS\nWvOAW4Tzsia2P+b/4jnfQOXpsUdMj8kytqQ5j50lEPfHNKPm8KA/TtsEMoPs\nXRkxwOfV6dBiSm4jKArgjz6U8L2NpZ84o7Fx+ydEMsL0VSP0yGxi844SkHtU\nTQen/b2PbZvIbEqwFTq1WZvPF21mYuAjpid6u3UYzJEVoTNe7zvm/IZyk1SP\nX9qc\r\n=eenU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/8p4mIhV0wBZucn4CjySh9BtWKysQhjF3KLFVRcZ3mAIgBzLYGQPzyWfYWJtMhi2Guf8YeKQ+bzEw9ntYEpbCJWY="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.1.0-dev.f190390.1625259763_1625259817859_0.783785638366332"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.2.0":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.2.0","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"bb75a6da6ed4c1c0ac7c99893041ad3eb53b9a78","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.2.0","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-nq4nc8up+RdluBc4uLXMCg3ZuRoOaICKlsk0MECHc9q4HQaugj1zaF7+BrITu6VrVQOYUebHZYby0vCPBUNmPQ==","shasum":"2ca64184f557fa7666d9a8a3d6009847f7ecfc0c","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.2.0.tgz","fileCount":37,"unpackedSize":65137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4BYnCRA9TVsSAnZWagAAnLkP/Au5qF/QhjUDlNmNwmRL\n0wVu8SYd98KSbHOIi+MiwBBEs50hKOC4b3xrjRNvzt/Jc9DJheXjzcyi9waP\nZBwTFrW4Hz/m+LbEO2MtpVuZpnPW1hQrhYw7Br+c5sD+dFYdFXU+Mn9dicEf\n589kTtWWCJVZkl19efCIjrj+Uzc0PATb1MbC8qd01M6qt9eaavmQpVfkfmxq\nSSMSYVWMV/IZ5nGM7TfdnX+Wa2yXsJe//kMJfrzJD3HavPdvZ0oggwohwNcm\nTDVAqpJwJ18iWCj8i2V1DuL5LYya/dw+bmbvOYA877u6HM8dgJC/5YCptF3R\nIOPv4uHVzOdY8Ygk9ZhIqNP2AjMweaM80KEjlWn98OyBli8m+x9gkVv/XV8N\nqm3fAVapA/RcWukIOjY6flgmwcC4Iult1p4R1i1/EvzgVh2Ia6obeHfNoTqH\nvIrZV74+KcOnS+V1B4cI51ebrFrdvi38OQrd/kTFqZ2tKQf2wLby93/aPGrV\nOb1C2EgmYAs31QOD0djXLHIdQGH0pzHUbIwQnXtNJCskvjUAIsKbUfVBIImS\nhNjAcUTapNOXmUOn4sgfjKeWjh8tuEZsAJkbnznx27FoTXhvTzL+92b+APnH\nlJgLKFPfE/Ymw+3PQzM4gEdKu5UdT/vLxtgzpEhSQLUdBATZVKtgN/+WCSiw\nRxpd\r\n=Xou2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqYSGTyNsph8b4b82sXELTiHlKyA+7675BaFQCy48EiAiBuQqgTxn6Vn1ic3XsOyFSsy0VbuHscKnh7qShZMVcWxg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.2.0_1625298471343_0.8626182223644379"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.2.0-dev.d372e31.1625412517":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.2.0-dev.d372e31.1625412517","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n\r\n## Configuration\r\n\r\nNo configuration required for this plugin.\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGithub()`](#signinwithgithub)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signInWithTwitter()`](#signinwithtwitter)\n* [`signInWithYahoo()`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub()\n\n```typescript\nsignInWithGithub() => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter()\n\n```typescript\nsignInWithTwitter() => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo()\n\n```typescript\nsignInWithYahoo() => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n</docgen-api>\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"d372e312d79192c72b2cbaf57b97fd032b10cc5e","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.2.0-dev.d372e31.1625412517","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-j3OpAhX7h6P6mkGhBsZmii9bo2TlStEJ32un5Dl3Mo1KvJ2ApJP7MXNETU7a28LrnOh3YPOyw+UflvqwzeQgVg==","shasum":"af1e4ef2f803fc7aa7178f658fc34faf250bf981","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.2.0-dev.d372e31.1625412517.tgz","fileCount":37,"unpackedSize":73048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4dPBCRA9TVsSAnZWagAAVZAP/2Mj0nY4CvB+o8kppRDF\nafYwqSBjNVomnUQgPWbTlQyvBg17d+ODKaasTF0OEjEqdTbaGCv4+xH4mmSG\nlDnUtZDboKIs1H85hK/TpRYmn2RK/vgISEO26sMVeUWcRbyubDLDzojB/c9i\np13TwyEOtM9Kr08WvuJM6eq/9ZO5ApSE/Wp+b/ZrYoiSTA8lzmgzPhsGBTpn\neNi1VkTSghdv4d2Ait2YOxKLBMPkv9Ra8PVV3LOepsqgFuU9dKh7gl6vGUg5\n1/PgBJHAmDsQZsipnIl2sAJi4hy0G/tZz304/oVswOX6Xq5cHkn5QbgBhf+t\ntWVrpemb0RgyRGxAb5YePjYxQOLygs8wmg3rMIZadkkGFM65IdxWHEegeCcY\npDMRiyqvIbn3710wt1I15h+TqasI8FSJgOxJOhVvEMmG82KO8rbKgN9dVPdi\nA0CC90FKtZTv6qlcxyk+H1Z3vNeZ9+elbBlOZr1/Y5NM7bYm6THh5xiuGTPH\njs20s0M80Nd+CqDfV0YO0b9d7xnpucv4GPINCjQOMSgDdWD+D3VdamwdUYx8\npinqczL6xHTe2NTzFtM4UGgiITgMI5VyiUmuqwuenVm7fvfrVK26vfaqP7Hj\n4zzcnH9fn9SQyPylnzyT9QKvHS4ooCGKQOjqYXfP+F1Y/bPnayc4PDdryT3s\nZG2L\r\n=Z/Yh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERrib3RPoP+XU/vXJDZzqglc58N2YfJGj0BAMjx4VUYAiB5RQaevJSC7S6VWohyfC3QhrtzvJowMP/Ie4vZVn6U4Q=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.2.0-dev.d372e31.1625412517_1625412544781_0.22152319816945965"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.0":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.0","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"65a74d3cef475cd95591365d20b228270f0da50a","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.0","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-6sBPZ0vYNE773SSjXWTk80c0DeXMpCQ0VQrENVm7npqyn0tLwD9TAecJkHWlu9RuX5cvnX2Emv3qtbsAPdCByw==","shasum":"2408bec9bc8752048c33b4282013c33699f3abed","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.0.tgz","fileCount":38,"unpackedSize":74694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4eUGCRA9TVsSAnZWagAAtmQP/ixuA/xfeOT3xG8SiPw+\nZF6jaknDN3j9t33MSlCmKDv6Y8VD18sS5FNZbm6UA3yGMjbfw5j8/6XzpKh0\nNqmaxzkEX5NJ1ygY40HwTy42AVJOEULstFgHpAlHIt24XL5JlAuZmAprSmMH\nkoCCdJx6h6AjiA1+JpB4sioZGe9D99vKPKOpuWzx/BQdjuMu66o6yKbwnkIe\nVr8kx+wshJzBnDKtkQf0Bjq7cUx8+bkXKX800t5r0X9sRKzLW4a2g+pOzUJj\nA/+3yEXSZJpOGdFwFVHasn9QXjZY4DZezUP3qBqTsw3OMBvRClyUPv7hGwAT\nRG1eKbcCTTfRLcjyFCEF9jZ5QlNpX+V2NXL8Hg5JPSvjiQXf4QSP7x1xiTN3\nIAnPn3SDhn7C8BmEN4UiNgoBoZyPGTuOUGMC6qv3PyKQgTvB54MfAK0FZfgt\n+wBuqlrobf6lR6Ye3iWq91ObUdVEB18zm3T+T58DbS8mp5djY44raJdsiRQk\nFF/DdQ8sp1fChlAq9+s1npgryZUYhOSNvBBLABm2c4p5jPJiQFe0S905/5YF\nehg8skhFFK2j1zFDR8cKDrSFg5rmLE8cEMmqUlS9cmAwTMvAbwESOLDqNvlN\nOebXcWrL35vTwJeU/msPwK9dhEjk0U2pugJ43IDl+YL7OH1BkgQFXVRtBkGv\nMdrJ\r\n=mwjN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoUmeGHRgeWhTZrdl/TB+e1gkP1ecVDv1jVoxRJlrYoAiEAohDGMtORa3NK/VlDUR9HRwOWBQER7XgsD+EHG+1puqk="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.0_1625416965552_0.7878842085544819"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.1":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.1","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"f6fcda266c2fc51e1dbd0265f6ea9a830b379ee0","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.1","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-Fc0Ys6KqKSYnlVbW7OCNbHmZD/GMA65PKnQYRALu1tQNNnA51ym28UvcoelPaaQnWL4TpI9Fp0G41ao1ETTU7w==","shasum":"908b28a872ca9d289a446c20fbfd854bf6dddd1e","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.1.tgz","fileCount":38,"unpackedSize":73927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4yoACRA9TVsSAnZWagAASLcP/jlnEvBIdcZz3LJO9eBy\nBUj/6oRJjaCdqKi/HDEPV7Y28SIrqZGgh8pKVhTMqMqlx9aoRFOkliiHPVeA\nl1nVnNLKfnszJKdP9J3AxkR9VQvfhSYQBM4H8SnlqNOpJ+UrYzrCgOC5qH44\nZ89qfoBL9hFxEStwah5QuUHIsV9ipl/Hvt4r6vViGaOjXIas3lrprdILyqsp\nnSyI1g5Zn8AS7rJolpkFeGKcvmYV5Ngsu+G0lnogSifav/KQMaLNYaU7hwx2\nHXa9KubQohxaGFApnEe8ifpsV7unEJ4ce9c9d7WM7SX+xDvd47T0osMCxIcG\nzTgFRSglpXa9YIcwPi9139gL5GNXAhzsmb26G8ybI4U3pAwjHfzcAXdzyUyC\ncg7t0xwoi7K0WbPnKO8q6X4H3/L9Q7F42KGJylwkmWsqk1ayLDouicUllnfy\nu1gAnTTiYFSIVFp+HWNi0df6P+sHB60sHcRmhnjBYPEqPPp3usgeUC1B3yZM\nahvclrLSsKSPGQ0egYV9pJoZ6y1iZcQzaTJSBgvnGr3PDWddpPBvc+xlEOOc\nZgiSWzKdq8p0vvoExNvCPmE05QiktHJCelnfeTpMNswJd4pMRKYGsETEqFeS\n+NFkLHEQs3tDq59os5VEmh4v+ZMtS3zXiJzZBRjeZiHN1eaW5rJnrK3vZ8LR\n8TfH\r\n=t3lA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMObORgbYrP+DJKnG3hWamRTKpqikUgVQN0yia94jriwIhAJqNtQQKd4aihG3JrvWI37ncYcmEd0rMxpZ+Sym+1M9z"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.1_1625500159832_0.31075769630430017"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.1-dev.3c36055.1626263506":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.1-dev.3c36055.1626263506","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGithub()`](#signinwithgithub)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signInWithTwitter()`](#signinwithtwitter)\n* [`signInWithYahoo()`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub()\n\n```typescript\nsignInWithGithub() => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter()\n\n```typescript\nsignInWithTwitter() => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo()\n\n```typescript\nsignInWithYahoo() => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n</docgen-api>\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"3c360555435765d57d57c9c45cc5172155748755","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.1-dev.3c36055.1626263506","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-SRPqLbW1mwZifKcoG1gDzDtxafTAZ5BHdJIvLVSyuM6MCT3S4VRZrYulbh0KRBiSsDbWTLpCJDAjH3agunr2Sg==","shasum":"42ae448d3ec960614624fdc9e28d5daeedb8a35f","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.1-dev.3c36055.1626263506.tgz","fileCount":38,"unpackedSize":73969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7s/6CRA9TVsSAnZWagAAiFwQAJP26L5oNqNtty4zMrzk\nWzvJG0VZHNtiIauQlhla/vKdmH4Z1aiJFdZ+2imAsfJlCpeQRtKsooH/j+XK\nX4yA/eqFQcz5fjF6O/PmACHBv2PR4UuMBjLKWzLyCeCvS0i+4izJFAJqVDmD\nPXmo+dsHCooRxMbkZ2Wkx6dFTQwQBItbTeIyHbXxaeUBkDdK589HVnWdiP6Q\nOD0C00Vs/PcGB/C8y0tkU08ymPTDhb4wUDlKy91UGtNSBj4/TTDhnDZQxLrp\n2r5KuEUaqyWuvxE4n0u5zLlf/MAq5d/lv9sUXfmTYZ1rCRR1O2VumxptObZp\nDUWdPIS2Gsu0ppx3tjWR1PBs+Qa51R5H2jKCM+sgic6cEKDjVwH43BcTb0fl\nD4OMvspeBx6s4N435fCRYTFV+Ljr5gF/e3zuRoTZjWAH4Vw+1HsqJnTBA/RF\nYW2StnBFFQ3/pyoWZrXnc80wv0AlX6IY+yVE9SwwawHxKmGLzgKFMetjIkXn\n0T/haULotLHe32lGIJvSDxezUfVWMPJWLJwvZ/RUeqOnfrXtehHoY7gMYTyS\nVfm07pEFQi/ujAEMnfgnHS5vTAt8iMGhX7k3VoMhISWZQAEwkryJvyK2CbCl\nkzY6MXJ6onKms16jdM6HGQhpHXS0O2PJVngbTrR1qSX0j3AfkqelPhSt5CZa\ntUE5\r\n=esJh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAaUm37hYIbKeB+8wkcCBfOCYNfHAwaBqKQ/4H9C1DTQAiBUAiGOIbReN1GzV/IMsZkGTyIJ8Y8W+Uy2Vi5MNGAazg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.1-dev.3c36055.1626263506_1626263546441_0.42643636722907274"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.2":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.2","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"cc6a4a83203916db8608c3b2d58a8cfcbaa38af6","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.2","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-wj7GbWYA0XJhp8iMG04x6bcm7mfjC53b4wAg8aQiLYJ7i6mOcoIgnK/Z0BQOXrlGJy7PXZhZ4b9Ta+JMdUAQ4w==","shasum":"23369014c518453c542a72abd47b825b053c51a1","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.2.tgz","fileCount":38,"unpackedSize":74336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7tqMCRA9TVsSAnZWagAAslsP/3p/GMJyHepW4LsAWncd\nO+O6MRsjx96dMXLfFqEKaL7jzwxS9p/mZjfpVYibPIVGgMtxL7vf+Dn7GQKY\ndoNWLwWDOIiT71VFKEXhMBYYBzxHuck+H+Uzypi6EowpU5RyTUYmxSNLKkXr\nHvkgM56rnQTEW7wR+2Pd1ctD+Y/sgzprupioloIoNIlSwocCv+GUAhoQ0l3H\nFqdq33+rPsHuxWrQ9G4OgkNQhAOdSQ6UnBxWAfdmKpOzPo5dak0CMbkL133v\n9LgrMizlIctc0wBWljJwDctTaO6iFYrW0ESAAr5uJBC7gx3FHqHU0uNncSnz\n1oG+agkLSxwegRzMEE6OmcddhJDOFbOIxTHnjBxeuR7Qh15+L4sqiWvXAzlg\nujWGXvau8eCgapTQT0D47AjF0wI00Aj0ePrcUZBDIu6ZIVJ0xS7EDz+DxGbe\ngPN+++XbkUqpCfnv6/vN1WBLI0uZyRbCySB7w0wELcPKz/9t0tiu7rLHE3Tj\nItiiMRF9vJHrSoUdZ1X1pfuuSwUhxfR1rSBH4Sg3T9WdO+06v+yM87XCnbKs\njqUwSkL7rOJGzoztSVOOJmM82EQPtQ53YjowXtnU3aqyfuUyzzmmETicxmO6\n2aqTdVXQubJNmU1x1cKErHu/y8DLDxb/6SlqBkeq2D2LKc5zVR3lS/EWewsY\nlJ50\r\n=v1ub\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQBGD+Ze+dInv2icliXDpgT+lZdxKuYSsPN0TRLml/IAiBlI2GD6Bg/rAj/0T/iLkeDmv2pxsHgGNTos8TJdd96ZA=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.2_1626266251957_0.795870001812568"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.2-dev.f560006.1627229804":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.2-dev.f560006.1627229804","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.0.0","@capacitor/core":"3.0.0","@capacitor/docgen":"0.0.16","@capacitor/ios":"3.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.0","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n\r\n## Configuration\r\n\r\nNo configuration required for this plugin.\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple()`](#signinwithapple)\n* [`signInWithGithub()`](#signinwithgithub)\n* [`signInWithGoogle()`](#signinwithgoogle)\n* [`signInWithMicrosoft()`](#signinwithmicrosoft)\n* [`signInWithTwitter()`](#signinwithtwitter)\n* [`signInWithYahoo()`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple()\n\n```typescript\nsignInWithApple() => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub()\n\n```typescript\nsignInWithGithub() => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle()\n\n```typescript\nsignInWithGoogle() => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft()\n\n```typescript\nsignInWithMicrosoft() => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter()\n\n```typescript\nsignInWithTwitter() => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo()\n\n```typescript\nsignInWithYahoo() => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop             | Type                | Description                                                                   |\n| ---------------- | ------------------- | ----------------------------------------------------------------------------- |\n| **`providerId`** | <code>string</code> | The authentication provider ID for the credential. For example, 'google.com'. |\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\nThis plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\nIt uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS). \r\nAccordingly, the plugin signs the user in at the native layer of the app.\r\nThe [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\nCurrently, only Android and iOS are supported. \r\nIt is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\nIn the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **Does this plugin sign the user in on both the native and web layers of Firebase? ([#41](https://github.com/robingenz/capacitor-firebase-authentication/issues/41))**  \r\nThis plugin only signs the user in to the native layer.\r\nCurrently, it also supports only Android and iOS (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20) for web support).\r\nIf you also want to use the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) in your app, you need to ensure that the user is also authenticated at the web layer.\r\nSee [#41](https://github.com/robingenz/capacitor-firebase-authentication/issues/41) for more information on this.\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"f560006344426f282857ded858a339c7963e4286","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.2-dev.f560006.1627229804","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-Hj2gNjB8J71sGEk7lKAVQ4p5+XfO6v2JvwVBtnEA07ZVx3SHbHeTAa+vRvw4MdHuJvOYCFTLnAXVeFSY1Dgj7w==","shasum":"c69929d3f03f51f9d5c594eb89caabe88b6fe0fb","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.2-dev.f560006.1627229804.tgz","fileCount":38,"unpackedSize":81573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/Y6SCRA9TVsSAnZWagAAN4AP/A6MU1oCnuztcGKzerjH\nNJ31/Sq3unviKEFtlhS9AbEYDZaPx3TaSnDYTeULnJhh9r+oRQi4vpNYIcPy\n409s3rsIZuUmJzor4FRLayTe9g8wk6FYPvf/9bIX6b4Njb0t4NAm1EYa+1rF\nDXx4Xb5kdW8Er+KvPpWb2NOZ0WySI+JS6jbVGzZMEjCw4g2LZPWvwmRjzQzu\nrkT5o5mrbJc5UEYJpg1grl+bZ+gnwZZ3mL57wR84gnmRm5A6Pzi8j2RMrwl0\nzuPiq3sNy7aPdhISfAT0icLhHE+vo4FHLfWS63qvgCvzQLzVgQrkxXfql/4F\nQcOAyU8fYXKYqCCqPYQDYkhaDIZky1DG2YiEv54A6UDd662exhshyul2YZAe\n4S8hjzA8owElX3fMgmGp60X5SCkn9WnCuSv5KkBvm73+B6sycAl/5ln1rmSf\nnkLHOrPOGZxxXKqf4yqQ+PEA12mRGZKqoGFVOhONT5QG2+D9DHUMGwpAOM/O\n6DxaO+NGYM+J6gIZO/Ga+sW/qVqc8ssdTvuaKkHPcgLqD8bxl/YFFPj+D7FF\n+nLAvdYDFWH6lPIgl393UcpDkJSC5rUabNSDHOtQwTLKte8Z01DveCQQdK1U\nX+hFAWiiF1WUNr1YbAFGI12HHteKH457JfTEZL2RH7fS3CNtoq5IkKuCQQRD\na5bj\r\n=kqqw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMQICJZPe/yCTDLJ2ZgJIFJ3gf2AXz8Qkuxod6AN16lQIhANb2iZcwltyAF5TVYYevplu2UqHDfLzmIB9ZPKyrEeJ0"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.2-dev.f560006.1627229804_1627229842092_0.42777586579752613"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.3":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.3","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.1.2","@capacitor/cli":"3.1.2","@capacitor/core":"3.1.2","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.1.2","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"899e7b0022824fdda70338bf668064526502ebb3","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.3","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-1ULPRfwVJcnP+obUvy2X/PlwG92SCwgMBGC6zWRGQcI7CiXV0FSt2mLtIt3p42iRlRiNFPf2WGsmU7VLYbVFow==","shasum":"eed497b30bfdfbdfbe12b184ab14ebf1d61e36aa","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.3.tgz","fileCount":40,"unpackedSize":89590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhA/MeCRA9TVsSAnZWagAAnsgP/2HRPMycFiFa/cP9dXin\nq15bnvdVR3KY2h93ebb2NovJMeN+fuZhOsX9ktU7ArzKjBlgPOzge4nmcIZa\nXPxmgzp1tXs8VJGLGN3pyMMipFtr/CAxDIfUsP3lzsOXbXtJgi3A8qXUBsAd\nF8n8Wvb+cALXm1PQa4evhImcnAK/b6I2Dm+cH0FB7IO6WT8hW61oEGTEhvAj\n14uJ07WqgW+YS4QmAiuN6jnTN2210vMnj8eh5QQTLMoPZ9p3n8K6K06bdTyi\nS6hy1OrcZVAnHcC4jCHuRfsD+p2nME4mFnHdsIXXFV4jp5Z2jwD8kZKpp6u1\nB55I7jDds69T/FjwQZneyFtB1QIw1FeIrM9Kb8Lq7gGRRSul7MMviOvEk2mI\n1FZpmcL9iJAxhsrW3gzsfHOg9XAHhBItsgNzzJC2iAFPwMpOkQmOV52Ya58q\nN+vBxqXy1F4KpUOARi5rAFcDjPdVvxR10QRhIvd9FUhXzBASkCV45dDCnWNv\nuQgRTsb4DmuMSODT7Z+QDEldfWRLjn5S6FFTmWJ/CX8Vtbs+rf6uK7TeIa3f\n46Fb+5fiWghWzDZAq+Q40eo5jUD4U9t4C+qXWvjNoMAhe+9c7UMmo7eNcKA8\nQuayXxePdrIivAf9oapm8SK2bXks/knTumy+OGBSRsyOnYFV1TJNK4Ug16km\nimNE\r\n=cL0s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD46OwNwIjC1Df9UVb8WB8XmBqKJSwOPQD2hexQpTY8wAIhANaaePjRrob+rIoJMuCe6mzWXxEYDSLh6xbNDKk+IhC1"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.3_1627648798327_0.11304362610203622"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.3-dev.afe01ae.1628764520":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.3-dev.afe01ae.1628764520","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.1.2","@capacitor/cli":"3.1.2","@capacitor/core":"3.1.2","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.1.2","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. For example, 'google.com'.                                                            |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"afe01ae25ec529adbc0e9815aaffbd8a5f4d4cfb","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.3-dev.afe01ae.1628764520","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-jCEoEf44OV5+KAl7luuNWEUVKyDh6oCMfuQx+q4VRbRcvJrnySKQbHXG6bQU78uaMTX3kxQqdVQf+oeMAkp1Uw==","shasum":"938090a35d441f201121d1be1c2d4cf83e0e4f29","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.3-dev.afe01ae.1628764520.tgz","fileCount":40,"unpackedSize":95165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFPmVCRA9TVsSAnZWagAAxPAP/RLZ9Mo/QxNlWwIGDNf5\nsGagTg2C4dysTOHaX2ZMiL2FiDQmBQhf/2TRsZ20L8SrOcZI12dnjcFcDNsY\n1CtozYQatFJDPA45J3s3Xojyke8sc0KCK3t8yNuOkN75n4MhkZwQZ/oL5Rhv\n/uZF4t4s0XfpTboj+aCQjkgh50OY+SWf+pXyL5KY5yKfBCvcZuH5QvMDItgu\npQfgoqURuRl+p9TLfKt6QX8fA6CBDPaLiIB0PaeHgRgSu4opBTygYDsc8pWe\nPOhF2cM1aiWKKqnSwZyr1Mao+pq4biSLf+dKzP2BskfGuaKwnfP01YCtc5Af\n2TkKmoIVEVywibnus4GjV7ngWPsEOOa5rlS6uUD3OiB+4DyCVeyF+6ARLCs8\nzkwCHQo2+snsttJJHz54wqyLDJRjo0CxrXJ5CprYkDRZLMhgYwsMRscMxMkE\nz4lnwxnRwtkn10UTMIB4J+aY2XRBx9xMOTanup9RLH991JVXSpVKGUn1wUP5\naa52YYR5Souu3fsIF9Fn3BskJNdJkBnss3thQ4H22VNpV9bX3sBbOsXz3Zd2\nZAVXAu47FFAERj+RhooGMyQL9m73lsU2yCkYHjvpeQhIjzDsPEbspjVGWtoK\nkjpVoIOSUXBUK6YrG6CoBO5IC6kldmG1r6EGNCo60/EQlzRggoCQk6/U5Ujt\nv7a+\r\n=4pAO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT2ww+BIXmRvkj3yC+onLb92MpwgLVzc4jzb4EUWZG1wIhAL4Za0g6sKHY4IFfxblIEpvr3Mm6v99Vqpv3BFKwlWra"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.3-dev.afe01ae.1628764520_1628764565265_0.3577946746961671"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.3-dev.7f33131.1628768814":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.3-dev.7f33131.1628768814","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.1.2","@capacitor/cli":"3.1.2","@capacitor/core":"3.1.2","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.1.2","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. For example, 'google.com'.                                                            |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"7f33131048ae7b800f1fa1ece42275328d2ba130","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.3-dev.7f33131.1628768814","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-ieWFwoxCjLmBLS/ddousauN/hhWQwRXuWQ00CGMsMf9+PV0/2sED8eRWNhoYxnmL3T5xr70zrimT2MiP+de6UQ==","shasum":"db9cdcad40f8f5925ebaf32c43a084b844d35e4e","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.3-dev.7f33131.1628768814.tgz","fileCount":40,"unpackedSize":95109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFQpBCRA9TVsSAnZWagAAMW0P/jEPcIPBmvPXlvprVLEN\nQKOI5Zk7ttrh+G3+1WC5/1Che8TuQiD/zs4HfENx/O1heQztd6j0ydeC1LgK\n1cyvH4WZfD2SY8LWZWPHJa4QCgbzF0oc4E0ig8us0uqlOBwrUVDSQGC46Gsm\nE0JiopESLBHbCYca9UoeNwDJPVJ0efxPppJavC36Wr0Ch6pySG03WrDDq5cq\ngDK+IeXTE2C6f6Im3LWZ5hTRNx0QKmLeUfq4AkBLL+9tlKOJQA5Qw4rdfEKo\ncCP6H/56Xx+AqGZsosDUjd2sDhSokwXy7S4WiKqamg6x8bBvWBLHkZfENSVp\niyrGxqha+rtdYU1B0LgjJbSCWMadKlMKGzKfM57OpfAg8qaJlGrEfw6o1z9a\n0NEKu42LLpBUeu9b/Mff17mUYZWPGykMpRiiHYaqCLKSqSUfFkSwZbPKUsz0\nIcxfExB9jRpwdqZNZygI5rb3u8gubzhWff3xoKo6n+OG6+6cuBwASBzD5tEF\nmU+yQK8zufLydPX97hGqPtA8KciKpCZubHPMUSRhhPkK7m+pyFw6zTu6Gq5u\nTJ5XpulhbARtuMtGitHJiS53qgPbSRMcB8ZtE4mp+4xRhUJmVwQ51nrtfArA\nbTWwkYc9TOW7m3UUw+pJqzQ+Rg2Icj5+CSYwbPYPawguHmPvRq/RzjG6Tjk0\nrdWh\r\n=WGcc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjv17vBr5sIcXYzBMq5h2T0szKyW5kP0nMhFZEA/VcBwIgU66NlyKQ1FQDdemeWYLNexdY1mIwSa+gFJyUjgsqtLU="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.3-dev.7f33131.1628768814_1628768833493_0.25541575039157416"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.3-dev.13a646c.1628779349":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.3-dev.13a646c.1628779349","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.1.2","@capacitor/cli":"3.1.2","@capacitor/core":"3.1.2","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.1.2","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. For example, 'google.com'.                                                            |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"13a646cf96642a87260ec90793bf3079fe744892","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.3-dev.13a646c.1628779349","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-ZTmr0bW4NTVZFRXnS/+akSf8YjC6D/tQ7JijVEjI5SxQd4H43L+ashDfdyz8sX2VwHBrqFRtHaG1zlvPkgIBYw==","shasum":"b668dc02b06201749d98eff89a94530ee1d6dd21","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.3-dev.13a646c.1628779349.tgz","fileCount":40,"unpackedSize":95221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFTNuCRA9TVsSAnZWagAAAeEQAJ25xxS7Sps7Qqh7t8Ol\nOMPGKkcFCcWSmc5TZeh9cVzsqGscDhpFMGjrvL2P0PwI2hmKcPMRD8E0hyVt\n84PuEcN7KqV9XxeVwHX2uSTM5b3ODzAmgcznk1Qq02o9LRmTF7Fhoy+3ffcI\nRmMhTw20rjEHvAC18UHYVSUCF1OpLPIyptFDuXBkjS+CdvhTV5dLdgtJ1fkj\nGHwrvm3zpilnwuQQQLtck1O9doK3T/JxmpMPcSwb1okhJET4i9Qf+dgheVe9\n8RTFPxjD3j4xAfaTp+x6hGxk/1/I0AEuF40RI+KvCMdwOfRFbT1fkf4JYq2X\ndouFI6qzSp+DPs7c/nZVLwFRR2wePn3SqaWXLc0hZxw3B5BNYKTzxahsfm31\nZMWBTAZMj+VBf4CQ4lEK7/2zxevlwhTyQ4p052jtBE/jyAdZb5zTaMUJNc7k\nrbuZBCOpj9xtwAEnpaFNlWBjDoPbQNqGzzwjFS7wlFz7NnWhNH1jRKtQiZ/S\nr1NijsPE0WOcwEgTBYLcmunp1CAq6P5tyd/K6iB2U07LI37SS9sT0xaONPW5\nNSqfc+JYxepVnJcuqQ4Zr266w8gKiNoM4N8y32/t2W2LOptf/Eerwn9SEb0p\n2/jeKBNBVbrsjFjByrzduQiZi72/zGsj7pJiG683CEwdDm2L8ikWFodJmRno\n2R1E\r\n=2/Bv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMAVCbmZCrPxUqHUhHQV9EHOWD9hvhGEs3fjDbYdQP9gIhAPVYV053pLn+oNZJ5gjiHnP3G0QqjWwFvuZlTdwlf7KB"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.3-dev.13a646c.1628779349_1628779374760_0.2179019385903853"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.1.2","@capacitor/cli":"3.1.2","@capacitor/core":"3.1.2","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.1.2","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"c01cd3110d32259b7954a41380d4646b654d573f","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-sF3iDb7Z+sRcVRF7RDm3HU3u2mlbjVrcgYsW15UjvqnLvNz4bDJ85v7zo6kTNORcf0iAENlZ47l54vWqZGI+gQ==","shasum":"3a5b0055b9e8dbed6cd47e87cd71766c04057b93","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4.tgz","fileCount":40,"unpackedSize":97352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFW07CRA9TVsSAnZWagAAIMEQAJeWzFKLCv5eVcT28FTq\n8fnCrTzUE45n5ZKBrAOyAwe5f5enmWdjO1A59zxCUp0q9T+r0WnKSSRvXElL\nCzPq75Al/Fc0mYeecKZediAAqiAo9cM7WR8MdPvXYFiakqdZziKctgeKpe5d\nBlohBWGuDzItm7+aYMiyH6fIK23jJfuKQee6Emm8s5h14QQUO5eL3sK962Y9\n35waD2QOUEfTvBTzRqMxX5xaWlSfEXvvBxf/vIOzDmvk/lZBSuwdBisAVHI/\nF+qxrrTZ8u7Z+vmXBsbMCA3YweedOdLFHf4CyKQI5uzzqgS8U4xJ05JOBqzQ\nRRwUpN5kL7g4g9b9vFcB3EBBwU7yGwqUORrJGZVbSiypU+0fVg04ObNylCDN\n8E6CgqNx7xjts1I4PnSWQNe9dPS0X7GkWA/loPMVrO14rRG6zZP3V3jWmw5u\ni+v5lx0cPCsXwPIxLLlhZhx2ca+vya1sPeZomgSYq8j4DAEzrZaYfYvwdag/\noFkVAGJKhPE74GkP8A9ahOVel9CSvcKHqBOjQkEHvxmY2OHFtzav8YwuOnUe\nskZnkSxukBdauBMvQcXxupCh1MzMu7vFv5j+Vd3Cnug0KrNLyTOoRLsJYVJv\nbx5OyubrpkmvqcCRN9fgoEPAB9/j8xeT4bmWad42ZUdpxgMHfYb3DNBgKh7W\nhWhL\r\n=RGbv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDdOGHNe9o9GkqpwEvLP21sjnxBnhwdYeBox3HQjqpCwIgALqWgLN1yY6LdT9u7x6VHpUUwKtm/WfUWH6OQHHk3oc="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4_1628794171632_0.9757389474459048"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4-dev.edaab67.1629555998":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4-dev.edaab67.1629555998","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"edaab671382ae818272155e588804d40eaf055f4","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4-dev.edaab67.1629555998","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-gwzXO4rAX3OX08b+cqjW7w7sqzVuDx4bxwdTqQkkkae37zA0fvZQz9b/uLGQwEbczW/qKk3aFzolCpLc5kM+ZA==","shasum":"5e01b89838c7392f58ef1bdc16a44e836730a481","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4-dev.edaab67.1629555998.tgz","fileCount":41,"unpackedSize":103869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIQ08CRA9TVsSAnZWagAAaYsP/1omjEWN9cUBTEN2YgYM\nSzm3pib90c0RIe57MDyAfIVey5yybGXC9dv/LJGNugIyXbrG9iPc44hpWHpt\n0teaeASwwqs9PkiRi2Ly5B/MMT9uqMu7aKntyvlvN/HEYASRFnIPZ6meaLun\n8a3vIChd1EgOh0eg5263BsGae7U0ZaCAT8iehSuAW0ETny8eurFRqyIvsB6H\nn2ATPpDbuzHvU2lgs5xmzoL9oENLKSiApWJTaMz2pSr+74IzC633oYW0+5OH\nH87cZL2H5tzccMozLxq4lYrAxB5FEIWhkE9xZEdnlBHmLwrjBqpwU8lTVWio\npi64/KKepYJErEiPm09pi+clwiwYyA+z6yP7Xi+C9mknaO4bY3w9o3DaNh9i\nvjKd693sPtN/V4gwj33Oq5jvzPVFXyV90nXlPA7rCx1cYz1gct4eO8UXEY1H\nSes6QVS2JOoLBB6TEbo1PeXP7oGnOWWYn+R3SEWS0W4hF6vTX3txx1rRnGiQ\niVLLZ0bFpnd6ZyOuO8dBsIQpSTn4lPjob0nQ2een4X7CBMJueAHFCihKIrh5\np73ufdaMaSUYjQmVIgvHX+Ute8OiehR3E0RfrBikpSakA09Z6TyHEOlb2yg5\njCeuDYnIX6LloDUdKV7TRvjeqyyeiUjYSTvpbjHw5wN91S3EuXkjf7BjQvEa\nFZ45\r\n=zAyH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErArSo/bSUfnIMsnDoOqai9fg1pCTCET6VEnX/joLPCAiEA+4RAVCtx0jD7k/KNTNPEMqQx10IrbDoCTkcz7Y6Vu+s="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4-dev.edaab67.1629555998_1629556028064_0.1215319375526498"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4-dev.8c0aad0.1629582163":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4-dev.8c0aad0.1629582163","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"8c0aad0713c43c43c1c18a27859ebd2acf3214be","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4-dev.8c0aad0.1629582163","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-p+I9GoT9ZmGUx0qYFali9AA0camWfc9Z/ciIpDE+7dMZe6bJno34ayiGS1c+fs1UktmrKlG3FrbZW96LmgP/pg==","shasum":"8940e627a28530c8498fa82d50d52a3676286a00","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4-dev.8c0aad0.1629582163.tgz","fileCount":42,"unpackedSize":103050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIXN3CRA9TVsSAnZWagAALL4P/1wYvVwiSq3x0Vaidlz0\nnjYL5LbygiiBE2PolFwuYidYFLXiw9imp05YMfXRQv8/J/1XF/useRr5GID/\nBaFDUc3WUtZK+BDqwgI/egDcoTonWryZ9tKMxQ5vR91BJxuiutO3cAbduj/x\nCKIaElNFC7/Pjg6fmucKPrOk1mIue6et7+Cz+Zf0F+nECdiRbvW32vPz/2a8\nJ2dLweeZcxroV5/CKmZ7SDf1b9a/K29dTwlCy2BJfe/5Z773i2ludxIX7zd1\n1BnDGCcThH9NT+/fOt/ilXunei4WkDryEkbEV0UTDfQt2HH8hvDjEn2yU/og\nxfednXgSIEOfKkSdQS/JNwZlDJWEjionbj4HmldclSxteAHxiRwQhZS3uwhk\nmLBbzPqfGXgME0/MuAdiZeUWmGFJuDzYwdEt+mvOK3b75TlqRC7CIZyjJ64I\nBylNbate0Th4cbtO2KAuEQGP3qwCZ8S8vXhSY5XTnENdPKP6q3bXi8WbBxWE\nMjkaE5XAj923Kb3FlX05PXpzch+u0yOLGgxbIoWx3aXvHSu0zhbFMP8h9w81\nWJXvBed1lVHjdUfBAE7i11pVrIPP+gklOT6Li5+4BwbJiW4Mnl4UzxPECZOr\nU+PYlJUb3K6wJUYN5GQVc+W5en3M5h7YMABM3RCd9nnO94vDYUcaC8eExL/I\niBC3\r\n=pB1M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAng4wYWTv7gEkE95WuPWKTSpxGhML8DNSjyD5qAQQKDAiBsxu2jXC2nRpLDPlv3JHEQvz4SN7+RF8TtjkhgkB3eeQ=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4-dev.8c0aad0.1629582163_1629582199316_0.11523552149140825"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4-dev.ed65c88.1629584305":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4-dev.ed65c88.1629584305","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                 | Description                                                                                                                                                         | Default            |\n| -------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`skipNativeAuth`** | <code>boolean</code> | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS. | <code>false</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"ed65c88ec11c8613573bf9db59ebcadd83c0e62e","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4-dev.ed65c88.1629584305","_nodeVersion":"15.0.1","_npmVersion":"7.6.3","dist":{"integrity":"sha512-ekbr+IIxHN7xs8+h+mbYA/QsyGh+zgKtb931WlNqvuom41ORRUTtJbB3dhDvIK6F4yxmPKU1pL9utvKxgthzLA==","shasum":"4b266cfccea5d2184b2cad76f7a52e26a9fd408c","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4-dev.ed65c88.1629584305.tgz","fileCount":42,"unpackedSize":103849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIXvJCRA9TVsSAnZWagAAqbgP/2Bz1RL/WD3qog30mdPN\nZiuD8Lquk9r+6GBAp/MSQNgxaC6pT81FIkXatS9SLFNFJZx2tX2PvI+YL8Wy\nPOzfQEWpbRxRUebTWYEI6xOrk6O8bkar8WjTa27WEo3/TZRl+A2U9QirPpyp\nHxHzACdhItkQ9V0uSn78MTQo64/X/B+5OyD9s293DGZiaZH7GVyos+oBHZNv\nwsoPQnlZueMA1SZHBFaN5CYxusemj9tmiTnv/VsHrAg8vMRGjq4VYzH8CYRm\nYLkpUxwk3aoq2kb/mjU4fjKOXQHfSk9PqODkI9ruYixoB5xrpabpJaVIvJZ/\nJyOuGONvDGxwBse7UvVQEa5JX3NSXDcILy+Io2aGZHFS9SmIEqcqabXqFlic\nZj2A+BBXp5Rcgs7SaWUXCAgypNkD09MvYJ5PKUEWYgbxhDrNtnxhjFCRqV5j\nbBHn4ycCAPXPD9SrzQ3ktW+BIHO9kTAAjF1NO/ptwnupM7Iikij8kHx2iMK6\nsESDO1yhnot/hsXY8MUlDUjJSXfkJk5mNzsmNQOLTyv9VBfIve0r/ighcmWG\nznz2OCfScyHbpfkGEn8R078LfCm1gdcLSS1xss0ELWTZCCnU8+Rz/Xi4S1um\nKNBEyXtjjbz635BzEf+xoiKgCgDMM1x0hBqHlSpdI4nGeWgdHw88DEEg662y\nixjX\r\n=F8t3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICM+QNkuj6I9MN9BNyUjiM9sCmsdPuTFEgjz8oPR6XqTAiEA+MXJt5kBKDqP3oSU6HuG7+D+iZDpC29qq1EmODif/7g="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4-dev.ed65c88.1629584305_1629584328937_0.10589808355218455"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4-dev.4b2bd84.1629635344":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4-dev.4b2bd84.1629635344","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                             |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                  |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\r\n   Accordingly, the plugin signs the user in at the native layer of the app.\r\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\n   Currently, only Android and iOS are supported.\r\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"4b2bd8425eb8a7438f499dbde9bb9211f92cf2dd","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4-dev.4b2bd84.1629635344","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-6r7/NgdThqz8MJmqHu4TYddi+bHFMimRvV4PAU5w+ucx/GxP9iRNyfrIMPp4uLY0uYjraziku30xhrBsRd1aRQ==","shasum":"b67bc5ee92cf9d92d0bafd62bf2850e488333e96","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4-dev.4b2bd84.1629635344.tgz","fileCount":42,"unpackedSize":109748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIkPmCRA9TVsSAnZWagAABiwP/2NxV333/0+N2SzC9h7X\nw8tSflk9OBUcl0TOZPKapo3MaiDagcvsJnwEL1vCmL2Go5zIuBTUgxNGAz3A\n9fxmP3ZrNDxVNuuSP/NrAlu2Ds+IUf8JXTC73nDwkNS//XlP8mZOvbN13Yib\nCch9Ws+yOi0BZv3e1SwQZZWlPMFZfZFgqg2fqbEJCnWMcjSEuAZ2k/L7QOEw\nIEcFcHFUJyyF2Sc4eEmlHZz2gdE24bsxCRbsesDm/JscJ0AhYGlyjoEw5bHv\nDfqVLZ2acrS0GY2IGjAh6qg7yqBRoriVu//UI3JOuwdrXIM/GeueEy05XX6E\nxm9cZTL6cnbiA0kDqTwnCczS2c8aW6xicnuyoJUVQJPzx0bsIEIdLirSfGjT\nYvH3PTG7aNuOnYA9U0/VAhumJ/emofyoH4GYWrbzOceCVdC4/lDj3Dqte1FN\n8WNUHKYlDOSoFMXl7HucaviGqoQSzZ9ydboO2Q3zkrv3COAf0h3Ev9XGxZok\nhKH/Sby5fkC15OBw4bxOXVsrUNlh09A0WgAiRVxigNmRQBkFzd44CHfb91gN\nzZyC1UNZMMnHFrBSmNND8Itf15j+EnDioXQGXq1kybczJs2WCy5k0P5tfypr\n0CtsE7yWu8/qfV+Ggy/EAXr5rhuwXpjeVcSvXFXddKJXiqWoOI9GBSKkoAOn\ndzuR\r\n=SSUU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwrcz83uFnhbVay7vLMLVKjz5ApdZ9k74ABMmVWJLZHAIhAPRKs5cE1jmGoSL07lTc2NECcw4eVYVlxyxTIfQKGDS7"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4-dev.4b2bd84.1629635344_1629635558065_0.8408475329500629"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.4-dev.4d9ee9c.1629635676":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.4-dev.4d9ee9c.1629635676","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                             |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                  |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\r\n   Accordingly, the plugin signs the user in at the native layer of the app.\r\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\n   Currently, only Android and iOS are supported.\r\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"4d9ee9c1f296c3a43f27dd697383f3f02789517b","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.4-dev.4d9ee9c.1629635676","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-TRZty0PKqwQkixurYwmMoTonb4V+r33tOslnWWCYDOZcqdOWRNltyJ6QDqYHztxecsY3wdVoHv4uik4fJv2NFA==","shasum":"d701153b439edbc28a3fe975be6a103ea5a4ecc2","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.4-dev.4d9ee9c.1629635676.tgz","fileCount":42,"unpackedSize":109756,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIkRxCRA9TVsSAnZWagAAqV8P/RekcIIdEhFOIVWAN0Xn\n3IREw+UpVQStwpKZFXRTnGFnFXmNUQtDNnYL9zKpPjEb15XGRa8g/+yTIpL4\nL1tMEE5xrAj1d8avmqc3eVozZo3TKVTscsnPN9fyZAWvyv/ur8U0xVwgui8Z\nfkC08nXGCeP+Bfgq1uxBEj/zLVQrUEE3EWYe1rfaH6tWh0UQaIQ/S3NPGvnA\n6H2dS7VdghlercZBUy0uoK3aNxUUr6QW3Qgg1UOKHNHxNqQBc8Z4w0aLH6PZ\nz0ioR2PexEOUBUvLzTOH3zv+eV/vYxOXDNx5EkdCxdA/wNeVf1idxcZ6lc27\nQsNHU7kRow/4FN/36O4ZmhU0kms/tUW0q1tdik2VUgMxuhegTGELcR+QQfRg\ngNd/FBDxiZsbbBCXAm7995jBjgmBCGUuvj6S/gPg3OHL990ShwwUPkTmdlCS\n5mX9z++X0dFp83cK4uE7F58W5lFlK6mObDXCs4ECBaa6dbd0sCSOijcbJyVp\nLx3j55ALxduSqA4yHbZKqhuHogsAezKjoIX7IizlcrYgc+tNvTRqfFl64sKY\n9iiJzdKti51hTXzxxx2Bd+/o2zexy1M66iTBMXTApNdLVOcVa0mswy8UrINB\nvT9Jk4wCSBx7UbUSI/MragZKChRrc0FH9Sa0TEdKRCfHPAom6JaThYHP2eY1\nzFFt\r\n=JtGD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5CqlScnYE3kMxuJcYELLII/2RxVRl9nwYVu6rXYyl7AIhAIBs+11+U5nbJy/RoiBF7D8YABARzRorvMTbO4wNLcoY"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.4-dev.4d9ee9c.1629635676_1629635697229_0.4736488447051139"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.5":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.5","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"02c6696ca33e0c8c85b154a977458076bf60a7fe","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.5","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-lxjJ9Ey0vCOzdNqj7tl0ChqrdhMBG1XX66aiAP//boJM/LZStIXz865ouy7zWoC/AGclM8HJFJRPAydVrTg2ww==","shasum":"745abefd69540575f74c5faa7338776b576e2b8e","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.5.tgz","fileCount":42,"unpackedSize":110781,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIpSgCRA9TVsSAnZWagAAaxQP/0v+qIFLOAnNfFKYU/SU\ngZ9AHu6HNYusreRjelaNos14UqIaO1aAU1z5ED3fgGfhjDC6xM3EH2N28f4N\nAxtdBubL98L6Sv1bgbGn3Gm0f4YDczMGPYfGbpaBWQ6UOvcyAw9Nfa0T7W5r\nRsPcq1688y8mmWQNnXJicv0citmaqGhp0AxsiTBqZj6zu6UED8YW+7+eWbQi\nK235c2r8jXJvGyOfev+jl9dKV25HQMTISzVA0EJ2CWat5vcAHImM4FWZjuK9\n6sZyTT18ydHqEnnqLbdLoFU1GSsVtOBnZwmuPLjqpZCV/1pzdKOJOlR6NRMF\nvHE7OX/KlnFRgTmKBDmG658dNp4hrGZkGH+f5whIsVbCj4boIAMpJnVyYkXO\ndTN8OA4vtiob3Ihs/sBQYiSUTga+F2BkzRQpDexrAh4jbNxL0lsF/kkcEpFy\nPOmY6sxlEPfKe7Nyo3llWllEwY9Uut1cIkJlx0coOaJqIxOWPKCSPNsofQCC\ngCnJEy1eG+5u5+TsThITrY31K75NdwsAwap0iK9J9iWwJLaOggOh9v9Xo5RQ\nwTdl79p9pqNddRkIaFMlhEwwYRs/hN0qm8c2QtLhwCT5+pN7f6cbaLSzIBmY\nce4nNdB3SmupBGqSmB6qOt3/CWvP3YxbhFZBTE/GEoq3sKg9Cn5ORw+ExelK\nwV+b\r\n=5cbm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDE1rpao2acMAj8xPkjpECsgI9TRuhWSkh8RZlqEr9OSwIhAJhXLY8e+LKPHM/mPRUp6aEGXZlmYa57BGhUGa0SkhCL"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.5_1629656223998_0.15406367333534843"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.5-dev.a2ffe82.1629706357":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.5-dev.a2ffe82.1629706357","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const result = await FirebaseAuthentication.signInWithPhoneNumber({\n    phoneNumber: '123456789',\n  });\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId: result.verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options?: SignInWithPhoneNumberOptions | undefined) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the SMS code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"a2ffe8257b27bff97eac151f5f7c027f7d51aaef","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.5-dev.a2ffe82.1629706357","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-ai8s7IQ5ufjcGe3Xf7GG+6ixshxPRxA6HRk0l4/dzFigypWpvM2DkOZ/Y7/Y3GabZzqUXK0YFr5c3tP41rARTw==","shasum":"619aa06fef23849e86a2fd0ce2d6454d9f8c9fc1","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.5-dev.a2ffe82.1629706357.tgz","fileCount":43,"unpackedSize":122872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI1iQCRA9TVsSAnZWagAABCEQAILGRQr7uuPYPMPIje2f\nRsRY6GXAf2R4W5kGRT2RErOQazmeoNkoJGdH6EQI0nRXhGUwXN1Qa50nekhM\nJKARpyVT+1U6uw23c7R1UTSdgMppVFLfwGw6q/6G1QGOyoYYVUhE+QdAvKq1\nY/qUWU1rdBhdnQciu8zORwReRFhcpksrYbPyiu0KeQFkmkeAaUqwTU2rwHfM\nFCF4Ysj6B5Mbb82mR1eLyrlIlQOhaILv8Z5oWguETur13xbug36HV5OdJcX/\n3O/BGSW9eSYlEH/TYdmbvK7AtKQqufp0HBRClg8McHNeEpeBFEtNu4+E/Cz5\nE2pz4rDbzbZY1nTEa+xiVhTCfkolw+TwhGH6WrDjeLaJGNq2iPlSAAAyGc39\n5dCQFqMmsl1rTgJEHAjKtqnr1YIUeg1ckBgl4kkyMuVlJKCL3Zw6+V9Oqf73\nk/tZFRN6WMCyAij60jOFDIwOOFqAmI8eeMQ0uTCfaixQwSpmpIl87XZmuE+9\nIFnKS4mvyJsALHHIGdcnz0BUuCDTBZWjUC/VJ5OBkUz3TyIw2UMxGzBlF7Cf\n+pIw0ufr7mz+ln6Db9iHGbMgjOcWJoKFosG6WSBvnGZdPiLfm1HigRH2mQhJ\nz+ZVK9uYT3JSbSZpmofNYGfmf5yqjYzeeM5mQeZZ+wD0ijmhavJvffsWOPCK\n/nEV\r\n=HJxt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+ka/evB0t8D+Sfv16Dq5sPegsOSGoLEd5QrDCJJdIHAiAZGqIhnoD1e76Q2nbXKLc3RCz2bQrLXK4RXodq+WaaCA=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.5-dev.a2ffe82.1629706357_1629706383900_0.18610121311349448"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.6":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.6","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"f75ed7b1eb45c90ef187cd20014421dce31ffcda","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.6","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-o8KOjVaXnqZtzLsIPHp6moTtg/J539yO+VF3ju1HPqvQEKzCt4Kota7DGRqg4j4grOnpLqcrxwYWzSWhZmIn9g==","shasum":"799539199ce145cf906d05b6117a6583bd258c99","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.6.tgz","fileCount":44,"unpackedSize":125853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI58eCRA9TVsSAnZWagAAg+UP/2T/goaHFQJw2ODRNXaW\ncy7jG0eRxncBfhrtN2LR88+qMtXx2SdlT8wvfm48fKG3ldqqB7g0nflKb6rs\nu9pFiyYae+fYaBWARX/kS48gT3WQwhCPOm02kgewzxNipm3736zwh+9Ck0E/\n4vU4vuaMM62JOtD8C2a/YkgHlkd47F5lK/IRCS2nh7D1ciudPE+/LecZ8CFy\np4ymxlAbxuK7Y91o9gbMWBuvIts5bDsYigKxJ22RhjrNCUbADa+54Bf711ep\nmCFMSRt13xPMtVhL+R7Lv8x88zBJP5AraeFdKw+i4KOeQYE90nWYc4VbN3zA\nkkjcqBrTDzvKl6vdpyGPnPMcZqMH+PEQZxQOZSeWBvjmvEpGkAzuPK+M7h6b\nCjZlK4hO2OeKS6IuRlrlyX+fNny1kDWB5KhzYNVYRguAHQvYkj6tyn3E+02u\nIuTvxYcY0tTPlSlnecSsmPtk+YkrrkxVbaQ1rPY0Ifjya6OwsBObJc1Kl1yX\npSTup3xyBHrt0wTX3u1aSSitm5jhcVw39kAxYBGEM+pmuJX9/sSmSQigecMH\nUp3ikrxn0awJ3puZzqo4JvHkk1MspZ9L7VF/TBK3u1z06s8iz0zt4p5A5v8U\nqmdg2z48ldH6V/aJn5Wjt+smsCqlNrvL4MdYmAG5Gs/scmjziOwcUizXFWtM\nc6gn\r\n=d2Qy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvQ7cHmo6e/qx1T5UpBQ//cBX0MPiNp+Z0rz/m9gaKigIgWK7G9aRTYI02CCoIWVN38iYpkStDPrvKFY3qPxSZRPg="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.6_1629724446047_0.29303629506832185"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.6-dev.73f39ea.1629985658":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.6-dev.73f39ea.1629985658","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [Interfaces](#interfaces)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\r\n   Accordingly, the plugin signs the user in at the native layer of the app.\r\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\n   Currently, only Android and iOS are supported.\r\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"73f39ea54d12a07e961ad30192ce8270ac368151","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.6-dev.73f39ea.1629985658","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-QxaiBjB5dyGgfdF79K9A3xHXM8IcAVj1+FX/7i74xPokrKbw7Z0c7+xMsTE+KI0Zt7sXKfqkNzsyYpUPPhUK+A==","shasum":"9a0fce3a9198e9b32bda27d5f264cf2630bfb911","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.6-dev.73f39ea.1629985658.tgz","fileCount":44,"unpackedSize":126821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ5ubCRA9TVsSAnZWagAARdIQAJvNUjvQSeyS4XK8+Jvq\nk8i9Q0ozIaaKYKrNeb2k40YLd2l/mtHN0DUanoZjXeKE3u3oTOIGhzSXlRTz\nIxQMjWmzJG/S+7gRIzXPcl5NNHWlG5moRiImS45Mr0PsD4WdMmU2aycsU9JX\nczClHv2SpLejR8nEWC/x4bnSYwgk6eKFlKEXnv3ZitLOVwyGZqDqfuu4JGez\nC1S0zkC2sOWzrkkI6HlUyn/o97OH0qkhe/Z0RbEGlFSpNZm2DJvP27XQwJBD\niBoFfM4FiSUOSxgC/IOxF+lvrGIhoaES8TGs7SRcD3O0P9kj3EPp5tRVZZHu\nnj1M7EAdic1H+YrB0c9VIXaPjNF/lfusfLha2HGW5tiEgFnZcK9Cvc0ChzWz\nOo9Ho5rsAQDBBbybviPTxPcr/2VQQmEH4sys5n25hM+vTc6xLeMFFO1HZQh1\nwvA608a5ZJrI4pNpfrqom4hRVgL0YT5HYU7BLiafsasB7Icq9Y5j5kxc5v2q\nQk7aq6eDOda1vaupCIYLIJU/7RO23RkMCPRc+W/6+PZSnTP5hdkSjlfz6Lvt\n4tOrFR//tKHo7DM/B4BwEtD5IqVRGwfOcTwlfX+ucHVw0jbqLQ9QnF4oAtuI\n0CoawPMtB0rwavSVxuhoTR9/JcvlMVUWCbfWFU7XDyyP3KLc/xO2ZFnA2uw5\nRs5P\r\n=eiAz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEYK0Nf7lFxqCcsslApYmntRZ4fKbkDUjCDS+33XrukXAiEAsYu+r4PXiibXTLokKn6uockky4q0kSkpiWXs+2lAHkE="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.6-dev.73f39ea.1629985658_1629985691019_0.6723663319333186"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.7":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.7","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"612d0d36e8488f5c660f04cc36649e86cc0f276a","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.7","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-cWNbq6qFeJp1TBp8eZznsi31fB9MRYnaJuOvfo2FSoGnSkh5Sa0WkekPKuSIu5uQyN9jvKixU3y27ZcaKOa7/Q==","shasum":"8a0803d084ba76dc33b7769bbf8d9c12cdec7a05","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.7.tgz","fileCount":44,"unpackedSize":127591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJ7mcCRA9TVsSAnZWagAAQPEP/ipk9iV1v+vbnZ9oJLoL\nVsGJQea+Q1Gq1YgtcTKzi2RRfKZo9QtzWKU7Hd+kAlbVZEdDBfAmiOr5OwGf\nbvVjSTF0qd31cDL3xQ0emvLWXyTBP2tRuWfOfQojVyHSbkVV6FphjsbXzmF0\neXqjJKSovHXGZkpe9DHrjBL90qm2DGeXmdwl435s7AOYWmfFzORy9+qkVGzg\nPt00Rc2TgPzUAkybB42hHlXoK1czMcPeUWYjp4Cjd7uNaFsYiFOMpk8VLHtD\nptHyJMQo7zbnPYs7ONVt2n+NYajw/r2vnApV8TXeCx/nxL/0XeDLLgMfChUT\nmNMKwE6dUEG6TJQNb0MVEsuB7D4HsgAa3lQCBxW86KY/ydwj5/o+66HBZJVO\nNxe9fbtRHsyH2sEhreSXASQQYth1rbe66GHtaovgahoId9iO8KPhBh3foAtD\nFWDnCYu0GdJK3SAUXJcW1qGEwkEYgyz4siYoYlrXOp9LUqgxiSnnUkeMnTAn\n/ePBT9otXkzMW1rN1poeqUd+SE0YClxP1tuDv78gLZ1dEZcc1t5Rr/6KCBud\nS3Q97XhqJrvWnEC9WgNNdyz8ILszqjVBNaZS4Ftm1l/KroYQzZaEpCAVvCcF\nkD59d1pPwFtr48+j3qE4etwxw99Hxzkgl6h+/Jo6w9senhgiD+059zRuVWVT\nMg17\r\n=vW6z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdgRlq07bcPyH8ooPZmtVC0ZTtDRuywCVh7f4z6jx8QAiEA8nFma5hVCUEwR1W4time8J+dFWm3KkaHkN+lgH3mwr8="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.7_1629993372088_0.7618173046383832"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.7-dev.0f9a9a7.1630158028":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.7-dev.0f9a9a7.1630158028","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\r\n\r\nOnly available for Android and iOS.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\r\n   Accordingly, the plugin signs the user in at the native layer of the app.\r\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\n   Currently, only Android and iOS are supported.\r\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"0f9a9a7ec4a432a55d726a612998b39dae67a975","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.7-dev.0f9a9a7.1630158028","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-naQspXt3oqqIdy3LipYTBorVW8HKjKVNATWXdTmFnFYrdVmEJ8dE8ijMEcYR+YVRZdEXFIbDjk8dSF7UKc0K9g==","shasum":"5849569f533ca4d39d44e7b5fc7a26a9a62ce98c","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.7-dev.0f9a9a7.1630158028.tgz","fileCount":44,"unpackedSize":134388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKjzoCRA9TVsSAnZWagAA2eEP/ilF7zQ3crF3+w1mWEQS\nO6/px7tj37lamClskfy9nVzPTu9LduHq41HiYR3+btLQR2CWgDAtozydpNDd\n+bNuFZ4c6ar1ux1kXksVCOg4ljX67CgKHlGMu3z3PFm4sFebiRVOizMbjWy6\nnOWJgi1H95AIU/pnbrEt9kS9rzPlp01U8VqFgFpDAHrB85M7n86rA5/ozAWx\ngV+e4nDKXDQGr8MYi8ZcC6jOjBYM25FVFzBedYu8jWnT7gk0+lesCUmiyhRa\n+bV5kdjkQgdV+k6SPC+OSX0ryJ50Nm20GDCiv5Zzc9ztVkbw7310p41oVsEm\n3rrvmgugLZ80Ts7pv6gkoXIPwq1oQa8LIzfpWrPmxmsaAl/nrRKJzDqr8H7q\nm6+wbpW8n0fZQg4ndIMv5CzSfN8ZjhDPkXzNhWql4MiI8rHYio/p3QP6/ugf\nAAPz3E4dZ+j6cGSckn5j29hk7+9/cQiXzWLBLewClVgMx4RI2UGFVHCB/mJ9\nb3n4in+aq3tkO80T2V4vJAdh0HLb4+XqxTX5lgqFv9fkT0XzTAiPUrO6HQuQ\n99OmdNZkK4tW2oPgeieN/uuOdn5MpFCwufNB5Ap1/8DtQNenPAbn5NuD0g9L\npaTyXVzfqWHoRqL7EVp/kQqi+8johKphTNrevSS9yASB+1mZhp3otKB2GB7m\nQLkn\r\n=9D/b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfbDRZy+AoB4jljU4Yc/M/wMYZIR7Q2t1OyYsnDcEcfgIhALp0Yw3pkYVjxxtYuCjrKEz8A95rqPArHZnvn+89kxE/"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.7-dev.0f9a9a7.1630158028_1630158056790_0.40126030138538993"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.8":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.8","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"18cc32050810b8f5d8e7d583a642a4632910f005","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.8","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-f22iHW07piq/EoCNlzdtfPFJPXsEP42FWDkbBKtxvlzpOnxIH/1rXvLjBS+dHSUhvkbuh4x6mRPdsnZzAgvi/w==","shasum":"faa81ac6b6e440edab0086eb7ffe853f64a7c721","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.8.tgz","fileCount":44,"unpackedSize":135092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKlH1CRA9TVsSAnZWagAAoRkP/2wqs0DB7df1JvlqzlwB\nqC9P6boFx7arYx2KUwY/33jAevK22bqbMjtvBYiU37DxA1L2IlLwpR3jhOoz\nzcjTW3VoEPrbkdz3KlEqQ0ScIFmeIY0749hl79yiN+JDhtO8lPUGwFykrPHL\nt0UCS5mzgPG8JHcwqOKcWD/jKns85g1q38+SZOwiEhA9gDjuZ+23e7sm8VEE\nmg3/TjxsThZJaEdq7uJD5CUuk+44LwEzAiz7wMBpO3kimzHl72J8lAyReDYj\nPi2Ng1cWSs6EIOtq53UaAKj/YI9UE9NDFL/ZBDB/ZPXem717PjE54yz4XAcI\nwGKBX9d1iPFwW8ONcXMOtTIF6AIMomLQ/8N1wzkFg89ez+liIDb3ulRFmsjx\nim33T1maYBPvEivnPhp1XK41CuTQngGTt1Y+zEiv6C/J3mzpTUttTyJz17DJ\nQ1OQsYfm7h1dwNxNknmGpN2wcHLaE5RLugD8XYBNU3th7W01AhmsMz6CIImR\nxyVmqqFnD+xkFrInN+wAg8NyLDwVK5uU+TpQB9dPaRxuu4WegGMRtzEbXZsk\ndCDqfQtq/+MuvfjeoKZNZPvPW0BLHAkB1qdgqtBjISIwB9DowXDcWFtCIm2B\n6UP5ILPBa135tmwsPfZy1M8TMM+m7zRshEv0TZGhw5ZcaAnVU9qP9c2o9277\noQsl\r\n=6uRt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHIo8Ip/1UJXcA831WoYW6/W5Q2K++W8Lxxjc0DF8N0UAiAg2SlMz5HKm7QoKFCO1MepgrkLXY00OlxVZ7W3Uw828Q=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.8_1630163445852_0.46146323165725933"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.8-dev.c71c1b9.1630172955":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.8-dev.c71c1b9.1630172955","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"c71c1b9b1a1c4d003897bcfe19ed9c4ca00b6e78","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.8-dev.c71c1b9.1630172955","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-cR8Kmzew5tIJBmdMKzKSoLJ5MsIIpmy932L+hRgqEEEq9yBGzekVjeAXIF73pXNNaeC2Gw+Rs2ZlLTKzu8aYXA==","shasum":"fa7d92e3dbea9c23003c45d0d2a9e4780855eef6","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.8-dev.c71c1b9.1630172955.tgz","fileCount":44,"unpackedSize":166657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKndECRA9TVsSAnZWagAAM/gQAIgPjk6G76QtSx9TbMqO\nWB6vE0mQpOrOBYGOlgujKhn5wYElZbZUC7I1WIBXn4SXhP6SMF4UyNotEJyz\nIRl5Hno+7oJYueyROvFdtCF3WnUO4q6AS0DdULL/dibPqnKzIBLYiPYxa1zE\n6p5fgT7ec3R9MdQPssgXgQBZQt5hhCF7oSvYT77LcIfcH9Ak+1AgZEe0gZcw\n1Gq42AMgrZmK1RKVGUPsEkp3w1mdG85A4t7Picx2S7lLt/f3j1Mc25kRfthc\nljAilCdq46L/5tItPAvT05yaA24iIP1xJFa960NF8UfGg7IMYq2uGCqtrEEM\nfeJQSGmG7ELCB8s/xhtrAxFP6dWQSsRAJOF/lv1gUtmTrKAW8HIvdoi0Rzh1\ngpntAV+Pmn91pCJGqRAtzSnud9JQP5mOQ8WHUJiXUBUJmN3MmZmLNeVhZQuX\n7+3mI0J6XzdZ3SHeEYhvyeNVPRJAwTVm4h0LMVGCfxIRUKWvDpBXjQiFEL2H\n+Xmp4gdEdGyK1jGW/p5XrsoTCCP3k2StxqiMon8pIEXPCNCiX/NZxWmoaqRB\ni5+kBKOzdkevBQLGeOM2iTo8StVHiyxm5duMhCQDihl27Jcxh7hQOCxTyb71\nWTOLwI59W5l0Xbvw5o0P0TalCtBFbb6i4AfIEGNll0rKTQads6XwxZ8gbEGU\noleI\r\n=swdx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC714L+YDDACl8DivhPvzCptrcYO2RqOuOlupGb5n9N6gIhAIlGtQ6iaRqNkPF9T2p0tCF2Y85MGYudra2wpeKmNszY"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.8-dev.c71c1b9.1630172955_1630172996839_0.4891346094664728"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.8-dev.c71c1b9.1630173042":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.8-dev.c71c1b9.1630173042","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\n   Accordingly, the plugin signs the user in at the native layer of the app.\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\n1. **Which platforms are supported?**  \n   Currently, only Android and iOS are supported.\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"c71c1b9b1a1c4d003897bcfe19ed9c4ca00b6e78","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.8-dev.c71c1b9.1630173042","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-FbqOfGtRkF3t1+MXYyMOx9NrrJhPpSToXbA3DAa7IkNzAWyI4EFTeLHRMhcMTOLg6apy70pn+SRWtKXkbWNNsQ==","shasum":"a6f3fee89c6ea113cb650bd1962c293524ff9b49","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.8-dev.c71c1b9.1630173042.tgz","fileCount":44,"unpackedSize":166658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKneNCRA9TVsSAnZWagAAT54QAIR6/EunU2IwkIXlavCV\nxHjp3+fCYNOEnfRJwusV31B/mqf+8D1Egh/KDVJl47NWRgHHe7YTypOM+XSW\nnUdj2Fz+mG+uiFVmiwKhiSw2/h/J88wpZJVA4/KrjO5sYMN1Z0NaGD30Uct+\n5f6q0fKZKqd1R7Anjkq94WPu3amcqTCYXjALDs3R1F04fX7KGKhDu7Fff1cX\nMQCq+t2Vt/TlJggU/gdnrBoIl7NyqDn/a9/goMPN5xYNkrOej5FsZdZjdMge\ngzzRIzCSAgUILt5gcN/plq5cgzKeRS1uJkHgHqXD177WZ753SZuEN0w+Uln1\nLGsNhXP2lwyOjZfnNvakOz/UczgZHnvPz/GoIG5XcrCUSQ73fQxf2ef5ge56\nJwYD8QSJVTJhVGOUjFJOcnJV26iWEXLLWKMV6qPmwhwewg26BErogOR0jv7T\n2+CDJrGBclG9C8aIdelBFB/d44PVHLLTOPwIlD+8Gua4+nMTmtVuA8kO7mYH\nBdu+r0mHs5bIpNg3oBktGQQE2+0WIeWU1rPJp15oUHpnAYRyZpNkvdz/8/bF\nbMvnx/YpuHtl+YSI4rC31HaFdsW8YMbSNTHJKoib6NvlgRzH5NCrW8yDhQSo\nQAUYWFmOZ3IueYbXV0QH6KURhM7poFJ33r/cDNYlLHUJ7ZPpuYq5/klXppp0\ncjVJ\r\n=U4Cx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIrmcgdeWLO+inmi/2J7/KFfS/ZLgnyYZhrHsfuOw26QIgB9DshwW5p5umGY4VNCeD573KWoe4w1I9N3Exw56Ntpk="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.8-dev.c71c1b9.1630173042_1630173069017_0.16468303220055502"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.8-dev.18cc320.1630177036":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.8-dev.18cc320.1630177036","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\r\n\r\nOnly available for Android and iOS.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\r\n\r\nOnly available for Android and iOS.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the native Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android) and [Swift](https://firebase.google.com/docs/reference/swift) (iOS).\r\n   Accordingly, the plugin signs the user in at the native layer of the app.\r\n   The [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) is not required, but can be used.\r\n1. **Which platforms are supported?**  \r\n   Currently, only Android and iOS are supported.\r\n   It is planned to support web soon as well (see [#20](https://github.com/robingenz/capacitor-firebase-authentication/issues/20)).\r\n   In the meantime, the [Firebase JavaScript SDK](https://firebase.google.com/docs/reference/js) can be used.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"18cc32050810b8f5d8e7d583a642a4632910f005","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.8-dev.18cc320.1630177036","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-1dQxWsWifH/BeYiiqRX46I/XIvq/OJbao7Dl5rudf7cTOB/uz3Zb+Z3Iow9DhymNxz3f7+aVlmIkNheoSrnp2Q==","shasum":"09ff0842fbe241849308087eb32bba743d3f3653","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.8-dev.18cc320.1630177036.tgz","fileCount":44,"unpackedSize":134725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKocpCRA9TVsSAnZWagAAkYQP/0JyeR+YPmrTJW4HW/3g\nIzXZOILA1PJMgA/ZYlJAfwGqGQ/ZON/qWNHM86DzBaD8dcOSFcXE+6LjTKWk\nBIX6zMr/VqudPGAYnO7OzqIO86XBW6t0h3KIjm0+G/42+Tk8UeVxXcfK4ThU\n/4zCMB7oFQkO6Q50+uQQhwQb2MrsZBY/B9eY4FlRVEUEAh9w0X2WfARjRlP5\nx0Jpjg7UelU9WoNdV3zpFRm/3oVgWnxNAoNw2VJAlbfyMywL09Y8+OkxVXye\nJ7x4VyQdOh2OSfP2QoH5wBXLpCzL+igzc2v4n/huV9Y4DvFKjT1OevtF7aaj\n5rjFXZPx4ows/9XyC9/jTA8q5wclMacic1eKf1yaTJtbXRJ0jp5x1wqE1qcn\nwqPvdP9WpjIFbGBJ4KV/kQm1A0hy4POzBVEge8GiEKwrdauloOXp2KKs9B36\ncbOQfgQjNDRJGI7lgzwcVPCJLLZwvOzw1LnygoRuFwRrOyoUpRr54PqhJcRV\npK5jCT1jea9zZDD1gTRG7Hbl72ahi4I2CjwXYPiMrPOGNgpOpB6sa6TMna77\ndM1WKIFxOIJSMKUG6qke1Ju2TaTA6Ojkduvybct+h0CSKBG1UOKdzZ3aCrPw\n8crYMzBqGg/1ecghHCFk3bSVoOtj4rdy0cTZ+XqyqVWNI4lsB2VleVhZYwPB\n6HQS\r\n=xJuN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVx49osUnZwbrmTtkrHmIGVHQFQxGghKWD7D9SxU8IiAiEAhuWurRjtHxgJ/GXduVNWtE0+JGwsrD8gVLZlDZffgsU="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.8-dev.18cc320.1630177036_1630177065212_0.27768978199691463"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.8-dev.9ca1711.1630177308":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.8-dev.9ca1711.1630177308","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                      |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                           |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**\r\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\r\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"9ca1711429ef03a03be1daa9732283b7057d82f0","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.8-dev.9ca1711.1630177308","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-eGko6ggoY4g0VTAKAsHBCFRVAe6XIiV5ho8FtFBweA4Z+FfrDvs90va8I5ctSCy0XDqfk+8FaiZA0yhCQ+l2LA==","shasum":"05a4fbb7a673b905f1e853ac6d0be263d6cf5f01","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.8-dev.9ca1711.1630177308.tgz","fileCount":44,"unpackedSize":166377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKog4CRA9TVsSAnZWagAA29sP/0nVGwucT1mHLWQiPBoa\nM9QQ1OdG8g3q4WtLE78mWbwvxw3sdJIVpcOhzVE4ir5ZjWXF4LeWgFMuIIXm\nhznK7NyjDgRoyk5/qhfy9G122Qjc+4iL9X1deBg7EOGzuX9Vvm91fUzzAPVO\n6m5fhpOisaL+bbZnRiLa+cdT++JGQS7Fz/XyI7P4BlG2Q+x0QEuzObhCDcLc\nXWk94sd19ciKcpBLSbPJKKoCqJJLIuk6APmH7p6Z8cu+mrGcwWzRTFaJwoL7\nC7wtMKiqLXEPX+7toRwsUBHdeaboO3HGNkAJG+e2hVSL/KFkMt8ft2cGRzvd\nU4mzN7aaSPwEbQWGzxkisTihMdi8v+3Gjo2yuNsJuB/9hWgI6pMU/nXpuJCQ\ntaUVFs/Cm+/zWlG3AwxmDZKFpg+BVNhY0+FFPhM8mE5M8I8IonnMGQvzrx1t\nBf9knm4kuE/p7Jiny4kaM04eMROp3nK/KPqfG8U1Fr3lLRjrIL5XBVocMj2q\nGZYG5Dhy0fzoLFaIM2FsTcUFhti6dpeao84Mt9EMLkTWb4nrOQ7HjL+HJAGy\nTYzVNh4s8odrOoA9g7JwBLgzfm7xe05zb89YJ3zNv2IDN26eUqp+9qS/qGjH\ngj3Rz6FTa03b9u5aq/1topJEVdUau7ycMQMdMYCpw+EGfoghv4FUZegBEJDZ\nYSKF\r\n=BTvF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5ig0X2Nq4N3XYHbCAvU1nLDaMLWOawLHcm0nV/wZozgIhAPogr4zQRe6o1ggUR6DTlwpB8fdIQjdWeiEY2ZW07KTo"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.8-dev.9ca1711.1630177308_1630177336353_0.5605043309866182"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.9":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.9","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.0","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"8f896833d22639184a5f002a10dbc467d6efce77","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.9","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-fdNymsi3EANsjVdJ5IptG/sigwclWBGEF0GB0Yj+KRVqE6azrhMrw87v5XQ45GO4e+KQar1ONZfZSoOZ1FSepA==","shasum":"f03f5839984b5df66e7aad3fcd15af6ae433d3e9","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.9.tgz","fileCount":44,"unpackedSize":166710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKpNQCRA9TVsSAnZWagAApUkP/AqmE2gaMUVZIpZk/fUn\n7GDn2dlk6VbNTNnRW4ukP3VFA5wQnRi5XKrzfAF+vmoqSjKmc5I2/hu1NTUf\nMNV44DiuM828ABT54/2zEgTL2wbS3pvbkflF3E0iGUVDvvSwMuHKqKHA8uhF\naGyDWt0o/RdeuwxreW53033raseUivyGRfSE6ncfBS+MW8NqrF9XMY/bqhQC\nt9hdZmEr2E4kivzUo0Mka2X8mjWIsDWKP9PL33fzIFZZkSuiqRKjgr3lABP/\nHmfjjaFYMOWG7HMaQc8jXRIB+aENMYHGovThDhXrpWhFkiiNj4z4UsDlwdEm\nzYpf2suNUeUyzmJ3Ur6j47Kp+iQqdl6xd9Lpe+bni/5ayj/UaO5UAqwqhrfo\nAUMh+tl65ZoEhwp+W8AyfXNGExDQZnyiPtfaHY03N4EK458HQ3WqxA7000GD\nF08RnxcvFBlTnu99jQXxyxt8e9yYhVVol7AcJr52FfNlqtACcV2JbywetwRp\nHdmJUXIQSAWXU8BPuraD1J5Puqi/fTMg44nO4EAUqVSBzbX5tmlHwV92v9LO\nUlquWPsg27CWh2hJYD9t88fdZ68n6/FeUwq8bcQvf6cS9/ki759MIf2o5WAR\nEPczJ1mlvlPYhpjATK9EfkxYtGt3AWFPkfyVl9gYfea811ENBox2j1rnTCkz\ni8xZ\r\n=9IHF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL3srWAPrS2CkLVhzhN99RQh+OqNEaMPCnW0y5+HcppAiEAqZI9tFkc7Idhh6Lo3Q7ZVSiQ7ENudAV7S7L1j+nedCY="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.9_1630180176354_0.6261634069260493"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.9-dev.85df3b7.1631040531":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.9-dev.85df3b7.1631040531","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Play Games Sign-In](docs/setup-play-games.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                             | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                     | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are initialized. If you do not configure any providers, they will be all initialized. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPlayGames = async () => {\n  await FirebaseAuthentication.signInWithPlayGames();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"85df3b7baa28db64d4506a0ec7b8aeac2529d772","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.9-dev.85df3b7.1631040531","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-GqkqZrvZVrvRrddAPAqgahR7HBZRY2FzEoa8VrM07HnzXgF5hOaB2tuhm7sUgWfEjn6JOUzqFEFs6+nzfkrNrg==","shasum":"074d6d3377e1c83e65781cb7be56d284cb46ee34","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.9-dev.85df3b7.1631040531.tgz","fileCount":45,"unpackedSize":171562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN7QxCRA9TVsSAnZWagAAkpsP/AvhxkUQtEfDINirnMsi\n7JiGBfKOWVsjCljfcdML0pMZY/Pvqu92dmG4UKc0XfexbbHGdLUpnvHpNSV1\nSe0nury7uF1+djNzkMWJ5cBmc6v6S82WtSYalks/eTQH5wYwqyQg4Ss1mYhf\nTFxPlhdImwzAebkHUgGq3ykjajeshZg6aKpV+QfWIJL+80hYEzY5qvwRP6CY\ncasG9hPtZGlKoS1HTvEwqFlt78fWjNT1OG286r6fUNt3PMqZMKMfQq94PWDG\nDwXDDjNlIqncHHHVyntkjDWT4yftMY66OAKzjSkzgctJPaWtmrcZcVpLq9S/\nRjBYHsOo61spsbD491w4tMjyo2JdQFbLJ6r09an958kav031SnrlY8UQssfP\ntnSm5TERvzvUgAPg9vnfgllnocASQSxPOL7/ifb/e+imf1ceY1DhGlAhO+4Y\n8FoXCNf6Dtu7exPr3RrofQmsqesO6EgRFq/uoVGWRgNjYR+FdvfbZCJxWblH\nWmVMBa61OdIA4qJkQrDU/s5Hvs7NhEcoXKP3FXGRE80pe0Kmqq3NEDgXqin6\ngs3p5aSKHjyRtkl0Xwdi2Kdu50okcUSa8b/fMGrWkjvJow7TH7axmo7Ls1XC\nUapl/Glf7Peh8MAKCnbZ7Q29ZfokXXZVFl33WjufyaZyu+n/EQ+KN4yySDDQ\ntCVY\r\n=+v3w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsJea7ByRb+XfClb7B3g2gEWVramuf2s3Ne1vwzZa7eAiBhENP2bLD6T1R8F2kPUIQrVh3w9l+gjoGIMyPN/RlRHw=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.9-dev.85df3b7.1631040531_1631040561537_0.10751125933521744"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.9-dev.92b2bf0.1631125438":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.9-dev.92b2bf0.1631125438","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication firebase\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Play Games Sign-In](docs/setup-play-games.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\r\nThese SDKs can initialize on their own and collect various data.\r\n[Here](docs/third-party-sdks.md) you can find more information.\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPlayGames = async () => {\r\n  await FirebaseAuthentication.signInWithPlayGames();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\r\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \r\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\r\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"92b2bf04b375030ecfddb249e6e854f13eb051d5","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.9-dev.92b2bf0.1631125438","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-URqiJTZJKQVAAPxcylqbyV/dKuvLgiGOiJnjsjMo0yzuTLjFbgEpRNPF5fdaytH86zo9olsT7bBwVUEzQ2jHxw==","shasum":"f143da55c5ab312b4626ce6caa5b1024e3902c6b","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.9-dev.92b2bf0.1631125438.tgz","fileCount":45,"unpackedSize":173821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOP/iCRA9TVsSAnZWagAADs8QAJZKNW1woM0Zdoqtg7Dr\nwhLbtDcNK7QJT3BAtAlK5aUqgP+b1DJ3mS7Oqm8JGWot/arBYzPEVqFznkTC\n0ERqyT8ebqlR/t8aUd7/IKG6xzxmOmYzbi02lCq5oQlE7PnMhibswkTgkU9Q\nWjFgpqe/PZJ/nf31mBNIvL6EDYo/ctXGEeMX+cMwmJuaVFlrOgdlDmujOMPZ\nmL0IuoVYj1sgJFfYiWceBxlJZaIC3TPr5cdFeww/9PUdOJJErmh34KCL6PNx\nv71ao/NKqZXhL+6JNW0ySRoWdksKFH5Y3RvbCA2nucNzkSciJmzso3M9881v\nGhXyI+hM6rjk0DTEfra0tBjJOUtkA+WWUIjAr4tjpMWctKIYlSU0qH8e86dP\n2q6uaT82G9WxLbAwML1hhiCp1sltg9163f3OBZeLm5te+Xb9J2IqkiXU6xlv\nT2nS5AZTw0zD+35hu/HNKwkvHq4lP518pq0QkJJS46+eulCbDIb9ItQeliif\nz/k1CaKsbDcVQIzekfq5ML89Mz9xWdFUPtJ8liafIRz2FVCxpbc+xlg0TnT/\nYhPF0JRYmUcPRlhFKHExrgIXvZuFcPXTg1bgWijtwMAMZsYxcJAokyFedYx4\nJ0OUurGSOjyxwpC9EDN3ftd1TrNci/XFctSTu8MqV1jftzQ1W+zKi/71eYw/\n/OxI\r\n=exX0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4a53hTMH0I9yL0plbSQ9QRvFbMsEcW18Rqbnjb6Y/QQIhAI2YxcYT44L9N5uL3zk7XIAXJ8yxn7omOnxWjCmWIWT8"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.9-dev.92b2bf0.1631125438_1631125473963_0.728327778025605"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.10":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.10","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"095da1a03395f596d644f779c48d2d7666e8c4a2","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.10","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-uL9gK+FUVzqUcAKRzfnHWl/6lCrJF27xQ6hOC1/aW4OQeRYy+6dIQpYkjYTOv6Ow4Mdfq7XCGCn8JkMcT9hL1g==","shasum":"72a1d5f9722b6e5c2f3a747bfb01a7526cb58197","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.10.tgz","fileCount":44,"unpackedSize":168079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOQgmCRA9TVsSAnZWagAAae4P/jGdi+6iQzaPlyRaun1p\nIL4DZQCJwDe5NuKyR2G81hoV7iLoXdhFyqWKy/xgfOqF5cM/K6JI60ydAcF2\nra1ElD+KI9V3gZ3qH95olXUNzQqJHi2UwCzbbA8rqhrUwlIwSca41ctNsx/H\nl4BnIZEAjlX8bAHbLblUDSUpAtqZaOxPdawF+QVRYg7DaucSwyq6BOzFgx4K\nquXPu8fLHmN6XiJO83uv50nPcXE68a0eXP6VhIhvwVxQeFVG/yUIYtq0yMC+\nkL/3dWrg917psLcP1VWf1r9s0YEV7sSzBM5+1euFATr0vCoMb/IQqCTpJ123\n06n1kpMmXAUDc+lYo3E3fc0v1CWb7Q8pDJHQwLPcGNowMEEWOPWuX27MegE9\nnr3TlS2yCpCUU0LTNwwHEKMJW2eeA0OBcggpeOKB1VSmeMjWdN60TNhJa9sY\nz4MsFloffZdbm749RhrxiJt/ppel1SYaMm714CTsvn7T4iC4lCH5e1og3U/R\nl/EVtOR+MUDWVS2B7kA8seIyQAJQpogOTx2ZivEgA01Kw07kbhvvSTTtvo3m\nW4z9v/0o2ZhduwAF41ETEsoAxaPrtVWNX6s2FtDZHYFPJRCFKMU+IkxJtfwI\njuQGr5j1oGuZLlC7E9XCsMsRRj8lGXB88C1JCuK3GXa14Qhv4QEhVN6cc4iA\nsing\r\n=EnL1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAQKDC931jJv3H/HvtfsWpoRt4OpXvt39SC1NcDl8kmAIgfWBjOqO2KjrLbgpg49kuda/N8ft3Tr/qSPHtonjCX9A="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.10_1631127590399_0.23603037784081105"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.10-dev.c7fd858.1631735238":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.10-dev.c7fd858.1631735238","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication firebase\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Play Games Sign-In](docs/setup-play-games.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\r\nThese SDKs can initialize on their own and collect various data.\r\n[Here](docs/third-party-sdks.md) you can find more information.\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPlayGames = async () => {\r\n  await FirebaseAuthentication.signInWithPlayGames();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\r\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \r\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\r\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"c7fd85830d77edeea10730a55ceffedaae8cedf3","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.10-dev.c7fd858.1631735238","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-IgX69llMpbhl6RyD3cf+cbdQQ/ciI2G5O3dsCmnM09m7PSqCf83zipPluAmFZiMH3vxXjFZDNoAx5i2aS2S9eA==","shasum":"a9d67cfe7efe941d9694e0ce2856a9cbea6bb4c3","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.10-dev.c7fd858.1631735238.tgz","fileCount":45,"unpackedSize":173650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQk3pCRA9TVsSAnZWagAA2bYP/Rz90WA79vieRwWcU8dF\n+k903jZndJ9wp/LqZ7NtRdLKeSFg1h30lSKDDEsiSobL6fH8EDpw4yv7f+A6\nnVaA25BztHrihxZPeqCDkhPqBfxISg55eKAj8ghPIkkDsXXal/SPknma/Q+5\no2BnlLllrursbvGSIOlaWtvueOK4DulMOi+1njkYMJbnVsrSKQO8YA3lJDn3\nEZZan8MyDHfiijJPU2SzngDrO91q6UJIelIs8yzc/GLxaEE4Y2Mx6xk3BzDC\nxODQoJIAfPbxl57X5cwTGP3LClVUxsRasizXXFqgMntvwW3b9CXQTLaRwWPS\neCCpYzu7nY59/6x/uCA4OGYMXXfJ4cl9/KuzUhejm517DNzVUfo0CiWWUb6B\nKyuNl/w7NJo4G7Xy+0Fivf99fBpzT1uO5HCrF4O2V13hmHstt7mBxSoILfdG\nNtoPhLV8D30l9tTmKDvrPi6KJ3zhD+MCSO2rGGy4/3TWiReIHG6PX35+2pt4\nquibd/ZpU/aWNqtJyIRznsHEzHWSdbydFfmdFHTMJrcQsL5aQuYHJPNaa6ta\nuvVJgSx9srAPtaroewQnDKQ+bhnLVxkT4exWSidOeSf0Aqe05y1ZDICeuwie\nTWJWSVJsAe2WpjztEP5Rmcsrq3I950JWYNFlsvvSvWRqdwZpbYgYFqcfX4lK\nW2Js\r\n=WyaK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQ4mli2gHjHtblfxyrGBdand5P/MAz7XpG4OVmx7vQqAiEA9gvXPRzIWsoXuEpJB8V0PYiKvuArc6IefS4ZVc6nGM4="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.10-dev.c7fd858.1631735238_1631735272994_0.28410922353822654"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.11":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.11","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"ae3ed78502935238b6f8c27b3b02b6c8cc8446bd","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.11","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-dgvB2kQdJWNTB6fJzQUSdStEzkDcnAgfQeQGMhRxejnvl+FtQa0LRxiQh9LXp4yHVwvqJaJloFdDxrAor2thQg==","shasum":"697c2b4db3176a9e1e1ec8df5ee481de4fc06379","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.11.tgz","fileCount":45,"unpackedSize":174543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQlWLCRA9TVsSAnZWagAAFAsQAJy0yCXDQJURRbF9hbWN\n1Q2CrUiKgmAMY68FtUUYV3OrGgPn9eqHib3cKbXp7hPKzFa52VEcJAuPCtYi\nYB7PshImQelJOGkHnIuZdpm6FtkYfItb54i5G9LsFvZ1hBL3AR0KWRP6aalM\nJrB0Q1RQ5TpL5+77JzMPRl2eEVVawCkHgI8PBmOemGveOEXsnovBg5JBKwSs\np1fxUsUL0ICPa8VaKiHry4PmQ9xadlpaYW458oHjxon5CiX3iOnTCbjG81q/\ngnoqmTyjxm1h3bJSFKzJIdvmrTNGczfc25vB6wo2vQuIxT7mNh4v4Uw5Gn2j\nqLa+IdQ8ULW/e6zfoI7z6WGfEpYkKKlJyGg8oaJ/3P1oxwNTZheE1hhizjQF\nEubGnKpymPrMlKRrDV8xOdoyFABQ0uwGbsKdoKKG4AkPdQKzWSBJbtlgPvCt\n4Elpot3Mh5yQcJVPlyFBcntIiLkbb66ZKeD4GLGrYDJKN51D6J0GMPMmVVzr\n5XuJp3246LztZNriirncCIsl4oAxMx6KX5RwSIjxIXjbhtI8IWrj4XP/EcaA\n6GTX82sHMT1T6FWQqFNLfeKqTPaaPVYLB5GtwIDnAsi/JyOy1uSf0SVdDbfL\nJHifQ0gOPMFlEWgDdNCi46enwah4lOffvKNqIbxNj1gsjysadEXCa0s0I4NG\nQgcE\r\n=F9vc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkjsPdKZCNYI164WWY2fPPNWC2sHXKvggkDj4M4Dv/aAIgDYJL4K2j40GQ5yfUZIttjueBsYGdGHutbJvEM+Zmrgg="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.11_1631737227209_0.2440560247227943"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.11-dev.6bac8eb.1633528448":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.11-dev.6bac8eb.1633528448","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication firebase\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Play Games Sign-In](docs/setup-play-games.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n\r\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\r\nThese SDKs can initialize on their own and collect various data.\r\n[Here](docs/third-party-sdks.md) you can find more information.\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPlayGames = async () => {\r\n  await FirebaseAuthentication.signInWithPlayGames();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\r\n\r\nEither the phone number or the verification code and verification ID must be provided.\r\n\r\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\r\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \r\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\r\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md","gitHead":"6bac8eb69e839e616273841df1ddc9c3c372b397","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.11-dev.6bac8eb.1633528448","_nodeVersion":"14.16.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-nQuXDfTtdemEsrjEp3eJlc7nn8rT4pz2oeQH9o4yX1yE6Vln1ldxjVuNtoYu3B8hL3j3RUHpUFPL2Yhlcr4VTQ==","shasum":"3d8965d924d8b552e7bc77e8f5cd689264d088f3","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.11-dev.6bac8eb.1633528448.tgz","fileCount":45,"unpackedSize":171297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOayKgE6BVT7zCfAJOFTbrskF7h+4pjk5kj6P9ucNojAiBU2pOtLTk2RApoqM4ZaDNcwLrJHotU6e/wZTwwxaD+2g=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.11-dev.6bac8eb.1633528448_1633528518899_0.07562364483898887"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.12":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.12","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"86733ec71dcc4518a27d4cd101ec93aaa357c7f0","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.12","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-2zJtna2StiKUIqdvriWFbLC+Z+//j9hLK/Xml052CpEknecvGYWRSv4bsz2DFBRoH2UY1Tosed79FS4FTYt2uA==","shasum":"897af4ad12b76f2282f4b69304e91f6eb6f82efe","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.12.tgz","fileCount":45,"unpackedSize":182728,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+ZQRWCNbGrjIyodGg4XYdKhvXJBfhvdeyACzFvpBO9AiEAuKeWLtHJSXc7JOCLAR2C5F2xZLjkpGHi36vNGUZVKGw="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.12_1636843446183_0.3881439964127513"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.12-dev.ea1768f.1638632963":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.12-dev.ea1768f.1638632963","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Play Games Sign-In](docs/setup-play-games.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n- [Custom Token Sign-In](docs/custom-token.md)\n\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\nThese SDKs can initialize on their own and collect various data.\n[Here](docs/third-party-sdks.md) you can find more information.\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPlayGames = async () => {\n  await FirebaseAuthentication.signInWithPlayGames();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithCustomToken(...)`](#signinwithcustomtoken)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithCustomToken(...)\n\n```typescript\nsignInWithCustomToken(options: SignInWithCustomTokenOptions) => Promise<SignInResult>\n```\n\nStarts the Custom Token sign-in flow.\n\nThis method cannot be used in combination with `skipNativeAuth` on Android and iOS.\nIn this case you have to use the `signInWithCustomToken` interface of the Firebase JS SDK directly.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithcustomtokenoptions\">SignInWithCustomTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### SignInWithCustomTokenOptions\n\n| Prop        | Type                | Description                       |\n| ----------- | ------------------- | --------------------------------- |\n| **`token`** | <code>string</code> | The custom token to sign in with. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"ea1768f769b78182c2e321cc511f0f47436cd40a","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.12-dev.ea1768f.1638632963","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-L8wjAp9ZXAG24rdhvuTxblUrAPYMROAqf6BRMe0bRxEtCphO1g5bC8THWH503EADuHkS9zGQZaJ1nelIX5+B5Q==","shasum":"5a81537aeb3d65a66c4dca2206f9696465348b98","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.12-dev.ea1768f.1638632963.tgz","fileCount":44,"unpackedSize":172330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhq47WCRA9TVsSAnZWagAAUlMQAJqKzdgN00k8htG3B93J\nPSUQlCf2p+mssr/9sRRlMo1iOykkohOLbXD5EcIvidXT/xq4roeC1HdAH+Ih\nZ6lJT4Q6ISBL744O+++Ug/Ly5dPea9KXl36KNlPgv9UWcyTGQ6psA8Is/nvz\nC+3hFy4R6M+u3Hx55kx96BSMe3KO2cuaA/oK2GBp1InZ6y7j28PIQPw3KqdG\nfF7q340ppXLNYPpbUj5Kc2agzdXDBm7z6JQB/JaBjvg8oJO95ySy+6ANUNTJ\nDHtMXyWMYxRwOl/xroIi6UVK2oMZb5akE9xSV+x9M9oYpc4JpodmMSgYpyLz\nZ5t35Ck1BGRcb+Telr9//SD4b8U5xTuAM43TWBqMj//9Mqr9TeuGO2l+dk1y\nQIrBOST5CIDI1dsoQo8t/eYo2+A1LNgHxQW5R9t+DdHT0ppZDyfZF0MvV+/V\ngraBQeO2eVMMKVyTQ5zBGIJ6gMtYzpdsgOAcHGE1dK9w/0ry9Ud+qcIXNwgs\n20Fob43gMJN2IFWz3g/4MLhOQL3jaat1aeAU6dWoXgUHEexgiFsQUPWfBMXB\nHeiLPXPSY6YsVXpcvUt9hFZ4AAutU8kGkIUYqoQG80hSpvzJeHjQURZEh2AK\nH72duN3XgBx66ZCuuE6JXZF+zyRTUOVUcBsesfNqAz/BsBZUB+GmC9xn4Tip\nTJmQ\r\n=iUv9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/EX+506b6+2SH+u5a68FczTMx7kH70kBHIU+lP+bTfAiB+3YUuaFxTONnrcJVAfyejzQr87m8nZl87eY2G8xtvPg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.12-dev.ea1768f.1638632963_1638633174589_0.832608324942034"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.12-dev.e6bd113.1638633866":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.12-dev.e6bd113.1638633866","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Play Games Sign-In](docs/setup-play-games.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n- [Custom Token Sign-In](docs/custom-token.md)\n\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\nThese SDKs can initialize on their own and collect various data.\n[Here](docs/third-party-sdks.md) you can find more information.\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPlayGames = async () => {\n  await FirebaseAuthentication.signInWithPlayGames();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithCustomToken(...)`](#signinwithcustomtoken)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithCustomToken(...)\n\n```typescript\nsignInWithCustomToken(options: SignInWithCustomTokenOptions) => Promise<SignInResult>\n```\n\nStarts the Custom Token sign-in flow.\n\nThis method cannot be used in combination with `skipNativeAuth` on Android and iOS.\nIn this case you have to use the `signInWithCustomToken` interface of the Firebase JS SDK directly.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithcustomtokenoptions\">SignInWithCustomTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### SignInWithCustomTokenOptions\n\n| Prop        | Type                | Description                       |\n| ----------- | ------------------- | --------------------------------- |\n| **`token`** | <code>string</code> | The custom token to sign in with. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"e6bd113e3fdca72b7b72b5f1bedfb263410360b9","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.12-dev.e6bd113.1638633866","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-tdwLbSr+Zao8ZLUWYsWrgRYnvhadP6uEpf56UFDxB5+v/ydLTml9yn7kATamGlDbHsYkMQ4rgxel6nBp3es+tw==","shasum":"910aebe64d92b4ac63264e453d24844d2feb17d1","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.12-dev.e6bd113.1638633866.tgz","fileCount":44,"unpackedSize":172318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhq5HHCRA9TVsSAnZWagAAwx4QAIDeQOB/lmOgWq5s7ST6\nMuHwQAhAnAQbDhEKzJz5rimg+2pxqHIP8XjxTx3/Huh9eBR+ANLgk5pdWck/\nucvrET6jd+b8IXiX9Cfj4INsW+BHuW7yy8DVbXCojwK/aJe4fT7uEadS9cSb\nt5AVRG240g+9lQncWTbAJfd2XeIoqHfcwcASB9DiPrlWPJK8pGYXyKbgLfgY\nJINChEf1h1BbfVfB/Siwbuo15znGBghCC4GR3E1W5g+/iHN3Gs75sYd1Ioe+\nghwmUw4gqF5/sBgxbh8Sc2UKI2Mq4IzGnozVN3utkVCgGB5IFwVU4YGsG6rC\nlpvJhzBugztvNmN5w5sBbkk62otOEWowMPgHi/nsDwjLOLcacR0o+efxdX4j\n85A4ChqsUqJrIwNJu/ASpS+cn0z9ya/l4tXpAfLc4Gi6DN5QsEwXbLqyFBFX\nocZZFzh5j+XGgusx1GtoSR30Fr6BEHHW219BXn6ahlsI7tnt6XuLKDQt8hVy\nXEEKcJN/UO7DxuXYMewlgCEjyXEBQSTUBXV2/WD+75UyLpSWl4koWq2JnvSu\nOZwOLMbkANXfaMF1VuGO/A6+LLwDK/nfR9TgEHJRwPgHDXruqe4qGWBSL0b9\nFn1lPggEM5dPXH/DmWaBKyYiYvNUNlfP9fQVaBxqEVtRYiXk4R9I6CW0UQlB\neCQk\r\n=77us\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmnL69XzZLU7sAD139eReo8z2K0qFp2IjslzjeGUazAgIhAPAKbNwas3ICzR1AtRUfBqAX/hL1teTfIwG/35cVM8HU"}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.12-dev.e6bd113.1638633866_1638633927444_0.09723814027183542"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.3.12-dev.d5f219f.1638652748":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.3.12-dev.d5f219f.1638652748","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Firebase Authentication</h3>\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\n<p align=\"center\">\n  Capacitor plugin for Firebase Authentication.\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2021?style=flat-square\" />\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Maintainers\n\n| Maintainer | GitHub                                    | Social                                        |\n| ---------- | ----------------------------------------- | --------------------------------------------- |\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\n\n## Installation\n\n```\nnpm install @robingenz/capacitor-firebase-authentication firebase\nnpx cap sync\n```\n\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\n\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\n\n```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\n}\n```\n\nThe further installation steps depend on the selected authentication method:\n\n- [Apple Sign-In](docs/setup-apple.md)\n- [Facebook Sign-In](docs/setup-facebook.md)\n- [GitHub Sign-In](docs/setup-github.md)\n- [Google Sign-In](docs/setup-google.md)\n- [Microsoft Sign-In](docs/setup-microsoft.md)\n- [Play Games Sign-In](docs/setup-play-games.md)\n- [Twitter Sign-In](docs/setup-twitter.md)\n- [Yahoo Sign-In](docs/setup-yahoo.md)\n- [Phone Number Sign-In](docs/setup-phone.md)\n- [Custom Token Sign-In](docs/custom-token.md)\n\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\nThese SDKs can initialize on their own and collect various data.\n[Here](docs/third-party-sdks.md) you can find more information.\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## Usage\n\n```typescript\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\n\nconst getCurrentUser = async () => {\n  const result = await FirebaseAuthentication.getCurrentUser();\n  return result.user;\n};\n\nconst getIdToken = async () => {\n  const result = await FirebaseAuthentication.getIdToken();\n  return result.token;\n};\n\nconst setLanguageCode = async () => {\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\n};\n\nconst signInWithApple = async () => {\n  await FirebaseAuthentication.signInWithApple();\n};\n\nconst signInWithFacebook = async () => {\n  await FirebaseAuthentication.signInWithFacebook();\n};\n\nconst signInWithGithub = async () => {\n  await FirebaseAuthentication.signInWithGithub();\n};\n\nconst signInWithGoogle = async () => {\n  await FirebaseAuthentication.signInWithGoogle();\n};\n\nconst signInWithMicrosoft = async () => {\n  await FirebaseAuthentication.signInWithMicrosoft();\n};\n\nconst signInWithPlayGames = async () => {\n  await FirebaseAuthentication.signInWithPlayGames();\n};\n\nconst signInWithPhoneNumber = async () => {\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\n    {\n      phoneNumber: '123456789',\n    },\n  );\n  const verificationCode = window.prompt(\n    'Please enter the verification code that was sent to your mobile device.',\n  );\n  await FirebaseAuthentication.signInWithPhoneNumber({\n    verificationId,\n    verificationCode,\n  });\n};\n\nconst signInWithTwitter = async () => {\n  await FirebaseAuthentication.signInWithTwitter();\n};\n\nconst signInWithYahoo = async () => {\n  await FirebaseAuthentication.signInWithYahoo();\n};\n\nconst signOut = async () => {\n  await FirebaseAuthentication.signOut();\n};\n\nconst useAppLanguage = async () => {\n  await FirebaseAuthentication.useAppLanguage();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithCustomToken(...)`](#signinwithcustomtoken)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithCustomToken(...)\n\n```typescript\nsignInWithCustomToken(options: SignInWithCustomTokenOptions) => Promise<SignInResult>\n```\n\nStarts the Custom Token sign-in flow.\n\nThis method cannot be used in combination with `skipNativeAuth` on Android and iOS.\nIn this case you have to use the `signInWithCustomToken` interface of the Firebase JS SDK directly.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithcustomtokenoptions\">SignInWithCustomTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### SignInWithCustomTokenOptions\n\n| Prop        | Type                | Description                       |\n| ----------- | ------------------- | --------------------------------- |\n| **`token`** | <code>string</code> | The custom token to sign in with. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\n\n## FAQ\n\n1. **What does this plugin do?**  \n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nSee [LICENSE](LICENSE).\n","readmeFilename":"README.md","gitHead":"d5f219fc5138ca9c8613bf4c4bfdc17d906edf55","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.3.12-dev.d5f219f.1638652748","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-kXY+TgEY+lr+rDXXmQS78aAiVd3syY51JeXbkDMBNxUKcKe3RYTCcKf3nlRCrzD3s1KuJL71+8mOz4+Mfn/opg==","shasum":"f5721b1b95766b1d21ad1265115163989f100052","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.3.12-dev.d5f219f.1638652748.tgz","fileCount":44,"unpackedSize":172782,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhq9tiCRA9TVsSAnZWagAAzbkQAI4vGv/XJn5vQ4fAt9NL\napPoQvJyDn7qAk0M8oZVqu1dYoD8UIUiX5PKuG6lPXlBH0wn9KHMl60dSM17\ndPD6+rKD02q9Anhl3XOff8ELre6FKU4a91U69gG3xap9HKD3VJrGd0Gef87D\nTRSCv+iOjhqXWe7Wl+XNzcBhSVrSpusKsOHHOm8uYGqGraUfU7Iofknwd0wa\nmQZRznah5kt4lksY7D9n1eSSUXWs3JhbvBfwZiwno7uFeWL+ZUcZyWGGIzu1\nVKDyKuCM0FLhg0al5ZQPwqDCh8/JqzZ+pk9eIf8v1nQndHtD9acmB2zB66wH\nqh5ZCyyBvTwpAs1cZ8o5wENteUSY2MfbNdQxzF6UDs4Qzi+tcde1IMhkhhqu\n8DlHnUi1N+UGMnUw9prSiDdld0MEMmAUe5JynU4Ytge8gAdut2XVmNihPZNw\nYZJyeJZhfhfh3OqVRIiTM8C6FruApcWtt1neYuEiCZ792AmnogrJZRhS8YYh\nDsdtcB6dAQoLfR6HBIrdtHrgtyyHvMK8RbUJwX8e8rVD/8M+qKdfnZYbzJZ7\nfWPnN3DAtUrv0s0xXhyJVDE0yv22+lWu4AomLrpDL3XcGqGYteyiOFykUi7C\nksnKMUHzdl4BK6xvZOKyklNB4gVAnJXyIrah0oQQlPZUbiKaFW1ArzSKywKe\nnmFO\r\n=rWfb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDz6RQ3h8+DCZM9xZQFuPn18yV6A8rZnX3KfqIr045EQAiEA3k1hxAv8ZZ1hlTnTOqeX3ZicIi7+n3cPRQD1lD9T874="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.3.12-dev.d5f219f.1638652748_1638652769979_0.07992493000829559"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.4.0":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.4.0","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.2.0","@capacitor/cli":"3.2.0","@capacitor/core":"3.2.0","@capacitor/docgen":"0.0.17","@capacitor/ios":"3.2.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.0.1","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"b236a8c2247d71c56ac3095fbb0c8a2f92eed2bc","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.4.0","_nodeVersion":"14.16.0","_npmVersion":"7.7.5","dist":{"integrity":"sha512-JoXvn9c9Ibs+ThBmDAYkeUTxkqEI5Pw0BB/RadDDdMqMcwwI56aLQ5sQrG5rGy09gnOgV74H3V/ddRoXMBymHw==","shasum":"dbd68a7f49bbfb7317779afb5a7d70027a4a60bd","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.4.0.tgz","fileCount":45,"unpackedSize":184422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhrIMQCRA9TVsSAnZWagAAIysQAKCpfJRpDkdwCYcGKlBA\nCb6mcZBorX+l4C3lZ0Pw7+O/BqYujCiX04Ayry4ASYux6Rfm8F1XPUuT/C7j\nhCaxr1FanQRaYsmkuY2znhpcVx9BzsKRxzWbJuvv0oiWMWk8DKh34cvpfndF\nKAkoTBI1mvxCkw53QPynxtQ0JmDxO35eJdD2h8ai4XgZy71Hzzn1buDdSi0F\n7vEpV/GZ3Kr/LOIGz4PLYViUMNZEEtfaTGlMtcuP8SuqvvbOmtcsySiJLQvS\nln1FEwYAbMvswWmhnjTtEwDo20srGfE26FZzCMjcVSXZuLtyiZIkk5iOPJkl\niVSzWko8sderCoSwcIzwbcaZCTtwGKQuVCIUYcR0F5wZGoUaU9W8VoP7AckF\ne7hStFLnQ6sUinCaMiBULI5bE1EuYvlZeUWTdkopkFpREO4R/M9BF9xnWzCP\n2bUhkLmaDn0ThqQufWF5h04l+aLMBdPiQwqoBVrQdSVSlpEsuwrTgNxW03wY\nD+1L2OgI7A8Go83GzMqSr85Ud0tfc+Fi3ZiWPX+GzXBwQG+W+4CP+PqEZSdH\nUqw+0L+kiUxz56FqVQU82xlyvavHo8tULDcwR9XWfGB0VPHus98mX918mevj\nIxhBcj0fUsruTMWGoP0N7pXjMmFBw1HUh1XeNbJbEqZxFfWBFFPWFb7Ov8zV\nFsKG\r\n=+6iF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2LeDsT5pWdBgMdQgR0RsU1+3iu9S9xtB1y2gvoVL4dAiEAy0C2jLs9wgsqJmWVzbF4kuEo7ctIBKReL+7bpvUyzog="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.4.0_1638695695927_0.616985071576841"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.4.1":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.4.1","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.4.0","@capacitor/cli":"3.4.0","@capacitor/core":"3.4.0","@capacitor/docgen":"0.0.18","@capacitor/ios":"3.4.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.6.4","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"743935511a650a7945150a332499468bf2121c24","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.4.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-saUWkxbUcVswaRB8wi03t3mR5PRPpIyPLRc9MZB0mKEI6kTSP7YeTRGvmzh/HynFnzJhg0dHHNaUN93GHsLJOA==","shasum":"2e334ea3d7229f8f72359345dfccb7e913d2d2a3","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.4.1.tgz","fileCount":44,"unpackedSize":188165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8bIiCRA9TVsSAnZWagAAQd0P/itm/o+CiK54Ldz6/Irt\n1ZOFqdhFyjOmR/okJVcAh72Bwh/cJtoDvciDosCHR3oP0b0HYpTzciS4zrGe\nfV93aYk4uo4BnyuAf9QzGSUo740b3DUEX345YGyfQ/2IACQvqehbK4Un/+Su\ndnUU/puN80C+bFN1mBnpvktl7SIXLN91t1wVd563VyYkrotZWjUHqsNbIkwL\ny853hkzh/f0agFTJ30GbZcSe1OT+JjMbZnd30FeQYsYjHEVGPLUduZ4pIGdv\nm30YqRIDvtJydObo+R92+1KwdVeFIxIqkertssq3img8Oe+oPVf/SGUC3Fxw\n9s9QROUi8JdpC3pnzezvZtp1L671IH3meWtJuHdkGWJnKxL62ZwrGVTaFuuh\ne8U0UrLub/GjE4Os18KWLibR9+fCWcwHe1Hd/DdAsyjsQA7oli5JG0fKde5r\n/TYh2KTbDHOoc0PyHFtw6/xMIDE5aLuCVAJuwUZyX5ZUfEeS6dW6asJhUtWT\niqhkOq7FpqjWDGqFIzN5qu0Q1i2j5cBW0S+W8Cm/9e9WK7Z5e4lq04pweHO7\n9o7E5vUMtHstf7rkYxBrY1d4rO/wHAu27JNARLlkWvca3KfHBmV1rwazNqCr\ng7SUkl3PXL7+cjA7cxRqwdQDeWxZvjrU74wom62qbEoC2RxoSgHNunRYjuBv\n6oFy\r\n=1SpE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwz0gFg4sreSUJJq/Rs8AgiC1ghhk77MzFSDvqlX5OxAiBvjMLkmzlRaKgPA9O/vlrLwHtDRKfDqXVnhJs779xOFg=="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.4.1_1643229729839_0.5086274208859491"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.4.2":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.4.2","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.4.0","@capacitor/cli":"3.4.0","@capacitor/core":"3.4.0","@capacitor/docgen":"0.0.18","@capacitor/ios":"3.4.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.6.4","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"7eec7078d1481ed5616cced09619d4680c52494f","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.4.2","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-wfgg/507W86LoNWVwWqG7Rq8LA9+sen/T4GmmiLfS1KXNwgml1aHCSndLKZ1ngQJbMZIRdST391djMySQlxbFw==","shasum":"4674ef86a59e23ab13fb2b9a1d9ba446b6561684","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.4.2.tgz","fileCount":45,"unpackedSize":197213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIxVTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqsXhAAhLv5ivwdmhWfyj4wQ/H1WkMVu6hcREBlA81EfpWP0jKI9ewU\r\n4DG0qtRAlQCApUqkWGEmKQrkAdemVWztOE7z+yvxjphqWrgdfwK88ohb2Y+U\r\n6VKlWdgqgoslhHlRr56hB27fWLcazcbsHHR7PyBL/YKs/dRS6R7gFbgpP/66\r\nK1FhSE26oRaFVTegPdgpXUZdRbVMCOdNW9gjnYTL/0dMZz025V/5x/g9hzEG\r\nrg018z7uC7RezGeV8X9YpI+9pBxp5HR0yuad2PPPtKCIkRAT9Pzq3ARtR6EA\r\ni7ptm75i8vUk4XwjD5MH3f/+y5r6n2P5MZ2Ug8SCPmOG1x6GcSagMGaNT7RB\r\nkR2zjENUNTOuBCQNvY/jzhpMIk6pY4+qHGBUYeHazzLOFklmEV44up1klITM\r\nMvips6yp70jSXD8dbmYDKAVpF35kV1nOZjRFuz3LefAJdPIdM4WogI8MRnbS\r\ngeRziwc7w4zMgDXkYJ2nRXV61hrHpfRiks96/xLnVA7GROJI0IH5UQhKBVo7\r\n7DHuZxvz3r2H8NnUSUnux6loG8MpD2KMb9qj2kRIRIrsJYIBy80wCiepUz06\r\n/8IbHhSkdlwBlNNssVOZgr/GK7+2FrcxnDkRXMLBO3OQWbaSDpPBlspFQii9\r\nhoqXkIesYxTc6vHf7T7hEhOwxItKxhaBMCU=\r\n=FX2r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5OmVri+YiWK42ZxSuSETHzkx/OFXu4AAg6N88lsGfHAiEAzGgudbH8O8DCTwCtBy7WPST0CQgNbDrzzmYY1TrxNhw="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.4.2_1646466387743_0.8744842855693495"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."},"0.4.3":{"name":"@robingenz/capacitor-firebase-authentication","version":"0.4.3","description":"Capacitor plugin for Firebase Authentication.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -sdk iphoneos && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api FirebaseAuthenticationPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"standard-version"},"devDependencies":{"@capacitor/android":"3.4.0","@capacitor/cli":"3.4.0","@capacitor/core":"3.4.0","@capacitor/docgen":"0.0.18","@capacitor/ios":"3.4.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"1.0.1","@ionic/swiftlint-config":"1.1.2","eslint":"7.11.0","firebase":"9.6.4","prettier":"2.2.0","prettier-plugin-java":"1.0.0","rimraf":"3.0.2","rollup":"2.32.0","standard-version":"9.3.1","swiftlint":"1.0.1","typescript":"4.0.3"},"peerDependencies":{"@capacitor/core":"^3.2.0","firebase":"^9.0.1"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"gitHead":"9d0cc7fb3a066a9d1ebecdd0df977d41297f6e2f","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","_id":"@robingenz/capacitor-firebase-authentication@0.4.3","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-Qyhhl5QuKuibpEz7hQ3ro4MDLNUUbSIrKhhVMBZ63hX+rCl38fEe1IbyiFUSptMVeUwo+3Qkt7dWva32EGUCAA==","shasum":"10f1079a3fb6f7b2802bbd868bacebd287cde864","tarball":"https://registry.npmjs.org/@robingenz/capacitor-firebase-authentication/-/capacitor-firebase-authentication-0.4.3.tgz","fileCount":45,"unpackedSize":197213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ3AJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3ZRAAnmPXk4KJONH9rQnkgWXjaCZrcMRmWggTqkqMPNUbJK1Z/F0M\r\nzM8YiOQMzjY8obT5SjPORD7IAiF4s/YbTz+Ib5DkI3eHkkwakXdxXD+lzng6\r\nn1vx6nmw8i6TMFmasjWIvTDRzKytmFbeFmYkXfTxt9nLuIeEgzwxijbQJKu1\r\nkjG4qY81mXYOsI5YdAYeOBLU27OM5XmyAfBDHVwTE2vuM6EAyU0BdxVqyjRM\r\nClGK6UgEkRUug6BTxiVudY07ad/q7aI6Qaufc8E9PSKDfAO76Iq4BYB+EHqZ\r\nNg4nV2TDQATNf2U09XmmYPZ4YEK7Q8LFD0Fc09Sdq/S0kN2x1YBo3A5kBpOP\r\n8tiLc3mRkJDJBeN1UEnFzQRShl8LAN7md9xEYSGdpnuO0U1+gDsnsD0LdrmR\r\nuIVu+N7tJ7LOPI3k07AiNjqzb03/apTVZ6p6c9Dq5ZpcVaULPxdELqUSqMLj\r\nqubcIt4Gi0wHDw0AG64Wi4G8YVv/KpdbzTRUflUedCQ3MUsVceKde8727BbC\r\n4+XBoi08BFSwTvexc1gHpEue5faFhVEJXaofBwuI+Owr36eAfUlthcBvlk0J\r\nDZWJPiUfa0DUWuIp2TPvZQSF0dK00M9zdRmAyIdFE5+Bqg7uSx/1iyXA0rFf\r\n9vtHjMQzsYs09aQRaHYSU6uQ85wIFuD3eJg=\r\n=51Q/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICG2uUDHkyjnwoBVnvkFFswSWXXSOI8GP8VNcQNI58VVAiEArrcRJ4qxFdO37bueUinqwIsG+ID41YsorvPqn4Odjx0="}]},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-firebase-authentication_0.4.3_1646751753647_0.6928201346705098"},"_hasShrinkwrap":false,"deprecated":"This project has been renamed to @capacitor-firebase/authentication. Please visit the package page of @capacitor-firebase/authentication."}},"time":{"created":"2021-05-23T08:19:00.488Z","0.0.1-dev.1621757254":"2021-05-23T08:19:00.701Z","modified":"2022-04-06T20:22:10.542Z","0.0.1-dev.1621782161":"2021-05-23T15:03:03.200Z","0.0.1-dev.1621796121":"2021-05-23T18:55:47.221Z","0.0.1-dev.1621934948":"2021-05-25T09:30:03.979Z","0.0.1-dev.1621935402":"2021-05-25T09:37:06.435Z","0.0.1-dev.1622010234":"2021-05-26T06:25:22.293Z","0.0.1-dev.1622042182":"2021-05-26T15:17:22.087Z","0.0.1-dev.1622105275":"2021-05-27T08:48:23.433Z","0.0.1-dev.1622113732":"2021-05-27T11:09:14.967Z","0.0.1-dev.1622533645":"2021-06-01T07:47:57.112Z","0.0.1-dev.1622534720":"2021-06-01T08:07:01.434Z","0.0.1-dev.1623067273":"2021-06-07T12:01:37.234Z","0.1.0":"2021-06-10T16:48:29.278Z","0.1.0-dev.cbeca04.1624699938":"2021-06-26T09:33:53.485Z","0.1.0-dev.c21dcca.1624712570":"2021-06-26T13:03:27.313Z","0.1.0-dev.f190390.1625259763":"2021-07-02T21:03:38.019Z","0.2.0":"2021-07-03T07:47:51.471Z","0.2.0-dev.d372e31.1625412517":"2021-07-04T15:29:04.904Z","0.3.0":"2021-07-04T16:42:45.672Z","0.3.1":"2021-07-05T15:49:20.013Z","0.3.1-dev.3c36055.1626263506":"2021-07-14T11:52:26.559Z","0.3.2":"2021-07-14T12:37:32.073Z","0.3.2-dev.f560006.1627229804":"2021-07-25T16:17:22.221Z","0.3.3":"2021-07-30T12:39:58.415Z","0.3.3-dev.afe01ae.1628764520":"2021-08-12T10:36:05.499Z","0.3.3-dev.7f33131.1628768814":"2021-08-12T11:47:13.740Z","0.3.3-dev.13a646c.1628779349":"2021-08-12T14:42:54.985Z","0.3.4":"2021-08-12T18:49:31.816Z","0.3.4-dev.edaab67.1629555998":"2021-08-21T14:27:08.217Z","0.3.4-dev.8c0aad0.1629582163":"2021-08-21T21:43:19.462Z","0.3.4-dev.ed65c88.1629584305":"2021-08-21T22:18:49.122Z","0.3.4-dev.4b2bd84.1629635344":"2021-08-22T12:32:38.202Z","0.3.4-dev.4d9ee9c.1629635676":"2021-08-22T12:34:57.377Z","0.3.5":"2021-08-22T18:17:04.149Z","0.3.5-dev.a2ffe82.1629706357":"2021-08-23T08:13:04.066Z","0.3.6":"2021-08-23T13:14:06.170Z","0.3.6-dev.73f39ea.1629985658":"2021-08-26T13:48:11.127Z","0.3.7":"2021-08-26T15:56:12.287Z","0.3.7-dev.0f9a9a7.1630158028":"2021-08-28T13:40:56.935Z","0.3.8":"2021-08-28T15:10:45.998Z","0.3.8-dev.c71c1b9.1630172955":"2021-08-28T17:49:56.979Z","0.3.8-dev.c71c1b9.1630173042":"2021-08-28T17:51:09.205Z","0.3.8-dev.18cc320.1630177036":"2021-08-28T18:57:45.364Z","0.3.8-dev.9ca1711.1630177308":"2021-08-28T19:02:16.492Z","0.3.9":"2021-08-28T19:49:36.497Z","0.3.9-dev.85df3b7.1631040531":"2021-09-07T18:49:21.705Z","0.3.9-dev.92b2bf0.1631125438":"2021-09-08T18:24:34.194Z","0.3.10":"2021-09-08T18:59:50.516Z","0.3.10-dev.c7fd858.1631735238":"2021-09-15T19:47:53.185Z","0.3.11":"2021-09-15T20:20:27.412Z","0.3.11-dev.6bac8eb.1633528448":"2021-10-06T13:55:19.087Z","0.3.12":"2021-11-13T22:44:06.313Z","0.3.12-dev.ea1768f.1638632963":"2021-12-04T15:52:54.761Z","0.3.12-dev.e6bd113.1638633866":"2021-12-04T16:05:27.646Z","0.3.12-dev.d5f219f.1638652748":"2021-12-04T21:19:30.162Z","0.4.0":"2021-12-05T09:14:56.066Z","0.4.1":"2022-01-26T20:42:10.243Z","0.4.2":"2022-03-05T07:46:27.935Z","0.4.3":"2022-03-08T15:02:33.778Z"},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"description":"Capacitor plugin for Firebase Authentication.","homepage":"https://github.com/robingenz/capacitor-firebase-authentication#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/robingenz/capacitor-firebase-authentication.git"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"bugs":{"url":"https://github.com/robingenz/capacitor-firebase-authentication/issues"},"license":"MIT","readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\r\n<h3 align=\"center\">Firebase Authentication</h3>\r\n<p align=\"center\"><strong><code>@robingenz/capacitor-firebase-authentication</code></strong></p>\r\n<p align=\"center\">\r\n  Capacitor plugin for Firebase Authentication.\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://img.shields.io/maintenance/yes/2022?style=flat-square\" />\r\n  <a href=\"https://github.com/robingenz/capacitor-firebase-authentication/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/robingenz/capacitor-firebase-authentication/CI/main?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/l/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<br>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/dw/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n  <a href=\"https://www.npmjs.com/package/@robingenz/capacitor-firebase-authentication\"><img src=\"https://img.shields.io/npm/v/@robingenz/capacitor-firebase-authentication?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\r\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\r\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\r\n</p>\r\n\r\n## Maintainers\r\n\r\n| Maintainer | GitHub                                    | Social                                        |\r\n| ---------- | ----------------------------------------- | --------------------------------------------- |\r\n| Robin Genz | [robingenz](https://github.com/robingenz) | [@robin_genz](https://twitter.com/robin_genz) |\r\n\r\n## Installation\r\n\r\n```\r\nnpm install @robingenz/capacitor-firebase-authentication firebase\r\nnpx cap sync\r\n```\r\n\r\nAdd Firebase to your project if you haven't already ([Android](https://firebase.google.com/docs/android/setup) / [iOS](https://firebase.google.com/docs/ios/setup) / [Web](https://firebase.google.com/docs/web/setup)).\r\n\r\nOn **iOS**, verify that this function is included in your app's `AppDelegate.swift`:\r\n\r\n```swift\r\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\r\n  return ApplicationDelegateProxy.shared.application(app, open: url, options: options)\r\n}\r\n```\r\n\r\nThe further installation steps depend on the selected authentication method:\r\n\r\n- [Apple Sign-In](docs/setup-apple.md)\r\n- [Facebook Sign-In](docs/setup-facebook.md)\r\n- [GitHub Sign-In](docs/setup-github.md)\r\n- [Google Sign-In](docs/setup-google.md)\r\n- [Microsoft Sign-In](docs/setup-microsoft.md)\r\n- [Play Games Sign-In](docs/setup-play-games.md)\r\n- [Twitter Sign-In](docs/setup-twitter.md)\r\n- [Yahoo Sign-In](docs/setup-yahoo.md)\r\n- [Phone Number Sign-In](docs/setup-phone.md)\r\n- [Custom Token Sign-In](docs/custom-token.md)\r\n\r\n**Attention**: Please note that this plugin uses third-party SDKs to offer native sign-in.\r\nThese SDKs can initialize on their own and collect various data.\r\n[Here](docs/third-party-sdks.md) you can find more information.\r\n\r\n## Configuration\r\n\r\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                  | Description                                                                                                                                                                                                                                                                                            | Default                                                                                                                                              |\n| -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`skipNativeAuth`** | <code>boolean</code>  | Configure whether the plugin should skip the native authentication. Only needed if you want to use the Firebase JavaScript SDK. Only available for Android and iOS.                                                                                                                                    | <code>false</code>                                                                                                                                   |\n| **`providers`**      | <code>string[]</code> | Configure which providers you want to use so that only the providers you need are fully initialized. If you do not configure any providers, they will be all initialized. Please note that this does not prevent the automatic initialization of third-party SDKs. Only available for Android and iOS. | <code>[\"apple.com\", \"facebook.com\", \"github.com\", \"google.com\", \"microsoft.com\", \"playgames.google.com\", \"twitter.com\", \"yahoo.com\", \"phone\"]</code> |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"FirebaseAuthentication\": {\n      \"skipNativeAuth\": false,\n      \"providers\": [\"apple.com\", \"google.com\"]\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor/firebase-authentication\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    FirebaseAuthentication: {\n      skipNativeAuth: false,\n      providers: [\"apple.com\", \"google.com\"],\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\r\n\r\n## Demo\r\n\r\nA working example can be found here: [robingenz/capacitor-firebase-authentication-demo](https://github.com/robingenz/capacitor-firebase-authentication-demo)\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';\r\n\r\nconst getCurrentUser = async () => {\r\n  const result = await FirebaseAuthentication.getCurrentUser();\r\n  return result.user;\r\n};\r\n\r\nconst getIdToken = async () => {\r\n  const result = await FirebaseAuthentication.getIdToken();\r\n  return result.token;\r\n};\r\n\r\nconst setLanguageCode = async () => {\r\n  await FirebaseAuthentication.setLanguageCode({ languageCode: 'en-US' });\r\n};\r\n\r\nconst signInWithApple = async () => {\r\n  await FirebaseAuthentication.signInWithApple();\r\n};\r\n\r\nconst signInWithFacebook = async () => {\r\n  await FirebaseAuthentication.signInWithFacebook();\r\n};\r\n\r\nconst signInWithGithub = async () => {\r\n  await FirebaseAuthentication.signInWithGithub();\r\n};\r\n\r\nconst signInWithGoogle = async () => {\r\n  await FirebaseAuthentication.signInWithGoogle();\r\n};\r\n\r\nconst signInWithMicrosoft = async () => {\r\n  await FirebaseAuthentication.signInWithMicrosoft();\r\n};\r\n\r\nconst signInWithPlayGames = async () => {\r\n  await FirebaseAuthentication.signInWithPlayGames();\r\n};\r\n\r\nconst signInWithPhoneNumber = async () => {\r\n  const { verificationId } = await FirebaseAuthentication.signInWithPhoneNumber(\r\n    {\r\n      phoneNumber: '123456789',\r\n    },\r\n  );\r\n  const verificationCode = window.prompt(\r\n    'Please enter the verification code that was sent to your mobile device.',\r\n  );\r\n  await FirebaseAuthentication.signInWithPhoneNumber({\r\n    verificationId,\r\n    verificationCode,\r\n  });\r\n};\r\n\r\nconst signInWithTwitter = async () => {\r\n  await FirebaseAuthentication.signInWithTwitter();\r\n};\r\n\r\nconst signInWithYahoo = async () => {\r\n  await FirebaseAuthentication.signInWithYahoo();\r\n};\r\n\r\nconst signOut = async () => {\r\n  await FirebaseAuthentication.signOut();\r\n};\r\n\r\nconst useAppLanguage = async () => {\r\n  await FirebaseAuthentication.useAppLanguage();\r\n};\r\n```\r\n\r\n## API\r\n\r\n<docgen-index>\n\n* [`getCurrentUser()`](#getcurrentuser)\n* [`getIdToken(...)`](#getidtoken)\n* [`setLanguageCode(...)`](#setlanguagecode)\n* [`signInWithApple(...)`](#signinwithapple)\n* [`signInWithFacebook(...)`](#signinwithfacebook)\n* [`signInWithGithub(...)`](#signinwithgithub)\n* [`signInWithGoogle(...)`](#signinwithgoogle)\n* [`signInWithMicrosoft(...)`](#signinwithmicrosoft)\n* [`signInWithPlayGames(...)`](#signinwithplaygames)\n* [`signInWithTwitter(...)`](#signinwithtwitter)\n* [`signInWithYahoo(...)`](#signinwithyahoo)\n* [`signInWithPhoneNumber(...)`](#signinwithphonenumber)\n* [`signInWithCustomToken(...)`](#signinwithcustomtoken)\n* [`signOut()`](#signout)\n* [`useAppLanguage()`](#useapplanguage)\n* [`addListener('authStateChange', ...)`](#addlistenerauthstatechange)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\r\n\r\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getCurrentUser()\n\n```typescript\ngetCurrentUser() => Promise<GetCurrentUserResult>\n```\n\nFetches the currently signed-in user.\n\n**Returns:** <code>Promise&lt;<a href=\"#getcurrentuserresult\">GetCurrentUserResult</a>&gt;</code>\n\n--------------------\n\n\n### getIdToken(...)\n\n```typescript\ngetIdToken(options?: GetIdTokenOptions | undefined) => Promise<GetIdTokenResult>\n```\n\nFetches the Firebase Auth ID Token for the currently signed-in user.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#getidtokenoptions\">GetIdTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#getidtokenresult\">GetIdTokenResult</a>&gt;</code>\n\n--------------------\n\n\n### setLanguageCode(...)\n\n```typescript\nsetLanguageCode(options: SetLanguageCodeOptions) => Promise<void>\n```\n\nSets the user-facing language code for auth operations.\n\n| Param         | Type                                                                      |\n| ------------- | ------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#setlanguagecodeoptions\">SetLanguageCodeOptions</a></code> |\n\n--------------------\n\n\n### signInWithApple(...)\n\n```typescript\nsignInWithApple(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Apple sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithFacebook(...)\n\n```typescript\nsignInWithFacebook(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Facebook sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGithub(...)\n\n```typescript\nsignInWithGithub(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the GitHub sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithGoogle(...)\n\n```typescript\nsignInWithGoogle(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Google sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithMicrosoft(...)\n\n```typescript\nsignInWithMicrosoft(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Microsoft sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPlayGames(...)\n\n```typescript\nsignInWithPlayGames(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Play Games sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithTwitter(...)\n\n```typescript\nsignInWithTwitter(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Twitter sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithYahoo(...)\n\n```typescript\nsignInWithYahoo(options?: SignInOptions | undefined) => Promise<SignInResult>\n```\n\nStarts the Yahoo sign-in flow.\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinoptions\">SignInOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithPhoneNumber(...)\n\n```typescript\nsignInWithPhoneNumber(options: SignInWithPhoneNumberOptions) => Promise<SignInWithPhoneNumberResult>\n```\n\nStarts the sign-in flow using a phone number.\n\nEither the phone number or the verification code and verification ID must be provided.\n\nOnly available for Android and iOS.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithphonenumberoptions\">SignInWithPhoneNumberOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinwithphonenumberresult\">SignInWithPhoneNumberResult</a>&gt;</code>\n\n--------------------\n\n\n### signInWithCustomToken(...)\n\n```typescript\nsignInWithCustomToken(options: SignInWithCustomTokenOptions) => Promise<SignInResult>\n```\n\nStarts the Custom Token sign-in flow.\n\nThis method cannot be used in combination with `skipNativeAuth` on Android and iOS.\nIn this case you have to use the `signInWithCustomToken` interface of the Firebase JS SDK directly.\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#signinwithcustomtokenoptions\">SignInWithCustomTokenOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#signinresult\">SignInResult</a>&gt;</code>\n\n--------------------\n\n\n### signOut()\n\n```typescript\nsignOut() => Promise<void>\n```\n\nStarts the sign-out flow.\n\n--------------------\n\n\n### useAppLanguage()\n\n```typescript\nuseAppLanguage() => Promise<void>\n```\n\nSets the user-facing language code to be the default app language.\n\n--------------------\n\n\n### addListener('authStateChange', ...)\n\n```typescript\naddListener(eventName: 'authStateChange', listenerFunc: AuthStateChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle\n```\n\nListen for the user's sign-in state changes.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'authStateChange'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#authstatechangelistener\">AuthStateChangeListener</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt; & <a href=\"#pluginlistenerhandle\">PluginListenerHandle</a></code>\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetCurrentUserResult\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n#### User\n\n| Prop                | Type                        |\n| ------------------- | --------------------------- |\n| **`displayName`**   | <code>string \\| null</code> |\n| **`email`**         | <code>string \\| null</code> |\n| **`emailVerified`** | <code>boolean</code>        |\n| **`isAnonymous`**   | <code>boolean</code>        |\n| **`phoneNumber`**   | <code>string \\| null</code> |\n| **`photoUrl`**      | <code>string \\| null</code> |\n| **`providerId`**    | <code>string</code>         |\n| **`tenantId`**      | <code>string \\| null</code> |\n| **`uid`**           | <code>string</code>         |\n\n\n#### GetIdTokenResult\n\n| Prop        | Type                | Description                            |\n| ----------- | ------------------- | -------------------------------------- |\n| **`token`** | <code>string</code> | The Firebase Auth ID token JWT string. |\n\n\n#### GetIdTokenOptions\n\n| Prop               | Type                 | Description                                   |\n| ------------------ | -------------------- | --------------------------------------------- |\n| **`forceRefresh`** | <code>boolean</code> | Force refresh regardless of token expiration. |\n\n\n#### SetLanguageCodeOptions\n\n| Prop               | Type                | Description                             |\n| ------------------ | ------------------- | --------------------------------------- |\n| **`languageCode`** | <code>string</code> | BCP 47 language code. Example: `en-US`. |\n\n\n#### SignInResult\n\n| Prop             | Type                                                              | Description                                               |\n| ---------------- | ----------------------------------------------------------------- | --------------------------------------------------------- |\n| **`user`**       | <code><a href=\"#user\">User</a> \\| null</code>                     | The currently signed-in user, or null if there isn't any. |\n| **`credential`** | <code><a href=\"#authcredential\">AuthCredential</a> \\| null</code> | Credentials returned by an auth provider.                 |\n\n\n#### AuthCredential\n\n| Prop              | Type                | Description                                                                                                                              |\n| ----------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| **`providerId`**  | <code>string</code> | The authentication provider ID for the credential. Example: `google.com`.                                                                |\n| **`accessToken`** | <code>string</code> | The OAuth access token associated with the credential if it belongs to an OAuth provider.                                                |\n| **`idToken`**     | <code>string</code> | The OAuth ID token associated with the credential if it belongs to an OIDC provider.                                                     |\n| **`secret`**      | <code>string</code> | The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider.                                     |\n| **`nonce`**       | <code>string</code> | The random string used to make sure that the ID token you get was granted specifically in response to your app's authentication request. |\n\n\n#### SignInOptions\n\n| Prop                   | Type                                 | Description                                                                                       |\n| ---------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------- |\n| **`customParameters`** | <code>SignInCustomParameter[]</code> | Configures custom parameters to be passed to the identity provider during the OAuth sign-in flow. |\n\n\n#### SignInCustomParameter\n\n| Prop        | Type                | Description                                                        |\n| ----------- | ------------------- | ------------------------------------------------------------------ |\n| **`key`**   | <code>string</code> | The custom parameter key (e.g. `login_hint`).                      |\n| **`value`** | <code>string</code> | The custom parameter value (e.g. `user@firstadd.onmicrosoft.com`). |\n\n\n#### SignInWithPhoneNumberResult\n\n| Prop                 | Type                | Description                                                             |\n| -------------------- | ------------------- | ----------------------------------------------------------------------- |\n| **`verificationId`** | <code>string</code> | The verification ID, which is needed to identify the verification code. |\n\n\n#### SignInWithPhoneNumberOptions\n\n| Prop                   | Type                | Description                                                                                                                                         |\n| ---------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`phoneNumber`**      | <code>string</code> | The phone number to be verified.                                                                                                                    |\n| **`verificationId`**   | <code>string</code> | The verification ID which will be returned when `signInWithPhoneNumber` is called for the first time. The `verificationCode` must also be provided. |\n| **`verificationCode`** | <code>string</code> | The verification code from the SMS message. The `verificationId` must also be provided.                                                             |\n\n\n#### SignInWithCustomTokenOptions\n\n| Prop        | Type                | Description                       |\n| ----------- | ------------------- | --------------------------------- |\n| **`token`** | <code>string</code> | The custom token to sign in with. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### AuthStateChange\n\n| Prop       | Type                                          | Description                                               |\n| ---------- | --------------------------------------------- | --------------------------------------------------------- |\n| **`user`** | <code><a href=\"#user\">User</a> \\| null</code> | The currently signed-in user, or null if there isn't any. |\n\n\n### Type Aliases\n\n\n#### AuthStateChangeListener\n\nCallback to receive the user's sign-in state change notifications.\n\n<code>(change: <a href=\"#authstatechange\">AuthStateChange</a>): void</code>\n\n</docgen-api>\r\n\r\n## FAQ\r\n\r\n1. **What does this plugin do?**  \r\n   This plugin enables the use of [Firebase Authentication](https://firebase.google.com/docs/auth) in a Capacitor app.\r\n   It uses the Firebase SDK for [Java](https://firebase.google.com/docs/reference/android) (Android), [Swift](https://firebase.google.com/docs/reference/swift) (iOS) and [JavaScript](https://firebase.google.com/docs/reference/js).\r\n1. **What is the difference between the web implementation of this plugin and the Firebase JS SDK?**  \r\n   The web implementation of this plugin encapsulates the Firebase JS SDK and enables a consistent interface across all platforms.\r\n   You can decide if you prefer to use the web implementation or the Firebase JS SDK.\r\n1. **What is the difference between the native and web authentication?**  \r\n   For web authentication, the Firebase JS SDK is used. This only works to a limited extent on Android and iOS in the WebViews (see [here](https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html)).\r\n   For native authentication, the native SDKs from Firebase, Google, etc. are used. \r\n   These offer all the functionalities that the Firebase JS SDK also offers on the web. \r\n   However, after a login with the native SDK, the user is only logged in on the native layer of the app. \r\n   If the user should also be logged in on the web layer, additional steps are required (see [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md)).\r\n1. **How can I use this plugin with the Firebase JavaScript SDK?**  \r\n   See [here](https://github.com/robingenz/capacitor-firebase-authentication/blob/main/docs/firebase-js-sdk.md).\r\n\r\n## Changelog\r\n\r\nSee [CHANGELOG.md](CHANGELOG.md).\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE).\r\n","readmeFilename":"README.md"}