2017 © Pedro Peláez
 

package gamecenter-identity-verifier

image

cretueusebiu/gamecenter-identity-verifier

  • Thursday, July 28, 2016
  • by cretueusebiu
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6,384 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 78 % Grown

The README.md

gamecenter-identity-verifier

Verify the identity of Apple GameCenter local player in PHP., (*1)

Installation

composer require cretueusebiu/gamecenter-identity-verifier, (*2)

Usage

use Eusebiu\GameCenterIdentity\Verifier;

$playerId = 'G:1111111111';
$timestamp = 1469626352131;
$bundleId = 'com.myapp.dev';
$publicKeyURL = 'https://static.gc.apple.com/public-key/gc-prod-2.cer';
$salt = '...';
$signature = '...';

$verifier = new Verifier($signature, $publicKeyURL);

var_dump($verifier->verify($playerId, $bundleId, $timestamp, $salt));

The Versions

28/07 2016

dev-master

9999999-dev

  Sources   Download

MIT

28/07 2016

0.0.1

0.0.1.0

  Sources   Download

MIT