{"_id":"@anfo/apple-sign-in","_rev":"2-e02cee62715f04e96ddbf7a0d26bdd90","name":"@anfo/apple-sign-in","dist-tags":{"latest":"8.0.1"},"versions":{"8.0.0":{"name":"@anfo/apple-sign-in","version":"8.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Max Lynch","email":"max@ionic.io"},"license":"MIT","_id":"@anfo/apple-sign-in@8.0.0","maintainers":[{"name":"longjiahui","email":"longjiahui@hotmail.com"}],"homepage":"https://github.com/capacitor-community/apple-sign-in#readme","bugs":{"url":"https://github.com/capacitor-community/apple-sign-in/issues"},"dist":{"shasum":"7a47e2c8fe6a6cb5090a4cbf05093a1b5a6dd0ca","tarball":"https://registry.npmjs.org/@anfo/apple-sign-in/-/apple-sign-in-8.0.0.tgz","fileCount":34,"integrity":"sha512-OtrKriXNL2xl0yaFFKX9It0TJ3+NcqDsAG5lTGk/QYR/d9dxxoCqAbujyLA1J10TCpd1TsUXY8jH7zHYQ4+JKg==","signatures":[{"sig":"MEQCHxcaXifRkycrem2G5BpIVCbfjDRrDS1mjOUw3psGGx4CIQCPyOjGV6gIXN0+xb1asSL1EXuaHL4A965/B8QEShGPMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102035},"main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api SignInWithApplePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","release":"np --any-branch --yolo","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorCommunityAppleSignIn -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"longjiahui","email":"longjiahui@hotmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/capacitor-community/apple-sign-in.git","type":"git"},"_npmVersion":"11.6.2","description":"Capacitor Sign in with Apple","directories":{},"_nodeVersion":"24.12.0","dependencies":{"scriptjs":"^2.5.9","@types/scriptjs":"0.0.2"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"np":"^10.2.0","eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.9.3","@capacitor/cli":"^8.0.0","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/android":"^8.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apple-sign-in_8.0.0_1768382027284_0.9718483148693389","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@anfo/apple-sign-in","version":"8.0.1","description":"Capacitor Sign in with Apple","main":"dist/esm/index.js","types":"dist/esm/index.d.ts","scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"xcodebuild -scheme CapacitorCommunityAppleSignIn -destination generic/platform=iOS","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}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api SignInWithApplePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","release":"np --any-branch --yolo"},"author":{"name":"Max Lynch","email":"max@ionic.io"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","license":"MIT","dependencies":{"@types/scriptjs":"0.0.2","scriptjs":"^2.5.9"},"devDependencies":{"@capacitor/android":"^8.0.0","@capacitor/cli":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/ios":"^8.0.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.1","np":"^10.2.0","prettier":"^3.6.2","prettier-plugin-java":"^2.7.7","rimraf":"^6.1.0","rollup":"^4.53.2","swiftlint":"^2.0.0","typescript":"^5.9.3"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"type":"git","url":"git+https://github.com/capacitor-community/apple-sign-in.git"},"bugs":{"url":"https://github.com/capacitor-community/apple-sign-in/issues"},"gitHead":"c920b5b1a349031f3a4de7b71d5d75a541f196b7","_id":"@anfo/apple-sign-in@8.0.1","homepage":"https://github.com/capacitor-community/apple-sign-in#readme","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-P+ZvGIxK5t2qoqTNqszypgmjrZ3YyOo78kSUJFxepO7ToOPNiqbyPKEfUfgTjrE44t/tTuxa8kIgawJAoP/ukA==","shasum":"1ccd5b7d03bce2a18f332ca6a3c0a5a6df8ed7f9","tarball":"https://registry.npmjs.org/@anfo/apple-sign-in/-/apple-sign-in-8.0.1.tgz","fileCount":34,"unpackedSize":100580,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChCN0sd/ME2C9B8c5YV3+baq+JFqtdjqlieH89J8QsuAIhAPJUyu5qDm3aRwItIYbe64b14pMO08pG5sNaDDckpzGC"}]},"_npmUser":{"name":"longjiahui","email":"longjiahui@hotmail.com"},"directories":{},"maintainers":[{"name":"longjiahui","email":"longjiahui@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apple-sign-in_8.0.1_1768468941053_0.0523252456058223"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-14T09:13:47.206Z","modified":"2026-01-15T09:22:21.315Z","8.0.0":"2026-01-14T09:13:47.421Z","8.0.1":"2026-01-15T09:22:21.194Z"},"bugs":{"url":"https://github.com/capacitor-community/apple-sign-in/issues"},"author":{"name":"Max Lynch","email":"max@ionic.io"},"license":"MIT","homepage":"https://github.com/capacitor-community/apple-sign-in#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/capacitor-community/apple-sign-in.git"},"description":"Capacitor Sign in with Apple","maintainers":[{"name":"longjiahui","email":"longjiahui@hotmail.com"}],"readme":"# Capacitor Sign in With Apple\n\nCapacitor plugin to support [Sign in With Apple](https://developer.apple.com/sign-in-with-apple/get-started/)\n\n<!-- Badges -->\n<a href=\"https://npmjs.com/package/@capacitor-community/apple-sign-in\">\n  <img src=\"https://img.shields.io/npm/v/@capacitor-community/apple-sign-in.svg\">\n</a>\n<a href=\"https://npmjs.com/package/@capacitor-community/apple-sign-in\">\n  <img src=\"https://img.shields.io/npm/l/@capacitor-community/apple-sign-in.svg\">\n</a>\n\n## Installation\n\n- `npm i @capacitor-community/apple-sign-in`\n- `npx cap update`\n\n## Usage (iOS, Web)\n\n```ts\nimport {\n  SignInWithApple,\n  SignInWithAppleResponse,\n  SignInWithAppleOptions,\n} from '@capacitor-community/apple-sign-in';\n\nconst options: SignInWithAppleOptions = {\n  clientId: 'com.your.webservice',\n  redirectURI: 'https://www.yourfrontend.com/login',\n  scopes: 'email name',\n  state: '12345',\n  nonce: 'nonce',\n};\n\nSignInWithApple.authorize(options)\n  .then((result: SignInWithAppleResponse) => {\n    // Handle user information\n    // Validate token with server and create new session\n  })\n  .catch(error => {\n    // Handle error\n  });\n```\n\n###\n\n## Instructions (Android)\n\nNot supported.\n","readmeFilename":"README.md"}