From 05a75c3c791e532ac7d42fcf26f5eda68a1d9b57 Mon Sep 17 00:00:00 2001 From: Hergen Dillema Date: Wed, 8 Jul 2020 14:22:40 +0200 Subject: [PATCH] alpha1 --- .gitignore | 1 + composer.json | 3 ++- src/Models/jwk.php | 11 +++++++++++ src/jwtfusionauth.php | 2 +- src/jwtfusionauthServiceProvider.php | 4 ++-- 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 src/Models/jwk.php diff --git a/.gitignore b/.gitignore index 61ead86..5049f84 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vendor +/.idea diff --git a/composer.json b/composer.json index a21e73a..2b69828 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "werk365/jwtfusionauth", - "description": ":package_description", + "description": "Use JWT to auth users in Laravel" + "version": "1.0.0-alpha", "license": "MIT", "authors": [ { diff --git a/src/Models/jwk.php b/src/Models/jwk.php new file mode 100644 index 0000000..0c36ef0 --- /dev/null +++ b/src/Models/jwk.php @@ -0,0 +1,11 @@ +app->databasePath().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR) ->flatMap(function ($path) use ($filesystem) { - return $filesystem->glob($path.'*_create_jwks_tables.php'); - })->push($this->app->databasePath()."/migrations/{$timestamp}_create_permission_tables.php") + return $filesystem->glob($path.'*_create_jwks_table.php'); + })->push($this->app->databasePath()."/migrations/{$timestamp}_create_jwks_table.php") ->first(); } }