anboo/apple-sign-bundle

A simple library to decode and parse Apple Sign In client tokens.

Installs: 1 132

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/anboo/apple-sign-bundle

dev-master 2021-01-31 20:01 UTC

This package is auto-updated.

Last update: 2025-09-29 02:09:34 UTC


README

Install:

composer require anboo/apple-sign-bundle:dev-master

Add bundle to config/bundles.php:

Anboo\AppleSign\AnbooAppleSignBundle::class => ['all' => true],

Usage:

    /** @var ASDecoder */
    private $appleDecoder;

    /**
     * @param ASDecoder $appleDecoder
     */
    public function __construct(ASDecoder $appleDecoder)
    {
        $this->appleDecoder = $appleDecoder;
    }

    public function foo()
    {
        $payload = $this->appleDecoder->decodeIdentityToken($idToken);
        dump($payload);
    }