boyaa/sign_in_with_apple_code

Apple authorization code login

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/boyaa/sign_in_with_apple_code

v1.0.0 2020-04-13 10:32 UTC

This package is auto-updated.

Last update: 2025-11-28 15:37:08 UTC


README

Install

{
    "require": {
        "boyaa/sign_in_with_apple_code": "1.0.0"
    }
}

Example

<?php
	require('vendor/autoload.php');
	use AppleSignIn\AppleAuth;

	# Save your private key from Apple in a file called `key.txt`
	$key = '' ;

	# Your 10-character Team ID
	$teamId = '';

	# Your Services ID, e.g. com.aaronparecki.services
	$clientId = '';

	# Find the 10-char Key ID value from the portal
	$keyId = '';

	$clientSecret = AppleAuth::createClientSecret($teamId, $clientId, $key, $keyId);
	var_dump($clientSecret);