From 8fbedcc5cec190daca2b52e9b79edc05dccae417 Mon Sep 17 00:00:00 2001 From: Easy Date: Mon, 28 Feb 2022 12:59:57 +0800 Subject: [PATCH] add "firebase/php-jwt": "^6.0" --- api/composer.json | 1 + api/composer.lock | 61 +++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/api/composer.json b/api/composer.json index 10a1adf..87cebbd 100644 --- a/api/composer.json +++ b/api/composer.json @@ -6,6 +6,7 @@ "license": "MIT", "require": { "php": "^7.3|^8.0", + "firebase/php-jwt": "^6.0", "fruitcake/laravel-cors": "^2.0", "griffinledingham/php-apple-signin": "^1.1", "guzzlehttp/guzzle": "^7.4", diff --git a/api/composer.lock b/api/composer.lock index c21e981..9649ea8 100644 --- a/api/composer.lock +++ b/api/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0f637f60000aed6893b5527dc426032b", + "content-hash": "f1c684ce2a67b02da748765a2cc25aeb", "packages": [ { "name": "asm89/stack-cors", @@ -497,6 +497,63 @@ ], "time": "2020-12-29T14:50:06+00:00" }, + { + "name": "firebase/php-jwt", + "version": "v6.0.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "0541cba75ab108ef901985e68055a92646c73534" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/0541cba75ab108ef901985e68055a92646c73534", + "reference": "0541cba75ab108ef901985e68055a92646c73534", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4.8 <=9" + }, + "suggest": { + "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "keywords": [ + "jwt", + "php" + ], + "support": { + "issues": "https://github.com/firebase/php-jwt/issues", + "source": "https://github.com/firebase/php-jwt/tree/v6.0.0" + }, + "time": "2022-01-24T15:18:34+00:00" + }, { "name": "fruitcake/laravel-cors", "version": "v2.0.5", @@ -7995,5 +8052,5 @@ "php": "^7.3|^8.0" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" }