Skip to content

taobig/apple-id-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apple-id-login

A tool set for PHP projects

Latest Stable Version Latest Unstable Version Total Downloads License Build Status Coverage Status

INSTALLATION

Install via Composer

>= PHP 7.1
composer require taobig/apple-id-login

Usage

/** @var taobig\apple\model\Token $obj */
$obj = IdentityTokenChecker::checkAppleIdentityToken($token);
$obj->email;
{
    "iss": "https://appleid.apple.com",
    "aud": "com.xxxxx.ios",
    "exp": 1583465255,
    "iat": 1583464655,
    "sub": "001271.2d8d01e20a41430aa46cc6a4ed5b6dfb.0317",
    "c_hash": "iyWz98oBS5_uNWljBEevdQ",
    "email": "8qgax65eti@privaterelay.appleid.com",
    "email_verified": "true",
    "is_private_email": "true",
    "auth_time": 1583464655,
    "nonce_supported": true
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages