Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GriffinLedingham/php-apple-signin
🗝 Decode Apple Sign In client tokens in PHP
https://github.com/GriffinLedingham/php-apple-signin
Last synced: 3 months ago
JSON representation
🗝 Decode Apple Sign In client tokens in PHP
- Host: GitHub
- URL: https://github.com/GriffinLedingham/php-apple-signin
- Owner: GriffinLedingham
- License: bsd-3-clause
- Created: 2019-08-01T06:28:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T20:06:10.000Z (over 3 years ago)
- Last Synced: 2024-07-05T12:34:32.937Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 36.1 KB
- Stars: 199
- Watchers: 9
- Forks: 86
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
php-apple-signin
=======
PHP library to manage Sign In with Apple identifier tokens, and validate them server side passed through by the iOS client.Installation
------------Use composer to manage your dependencies and download php-apple-signin:
```bash
composer require griffinledingham/php-apple-signin
```Example
-------
```php
getEmail();
$user = $appleSignInPayload->getUser();/**
* Determine whether the client-provided user is valid.
*/
$isValid = $appleSignInPayload->verifyUser($clientUser);?>
```