Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);

?>
```