From f67f167af7143668ef38cf13d194c076639ed43a Mon Sep 17 00:00:00 2001 From: FoskyM Date: Fri, 29 Sep 2023 14:49:12 +0800 Subject: [PATCH] chore: copyright --- .../2023_09_28_create_oauth_access_tokens_table.php | 8 ++++++++ ...2023_09_28_create_oauth_authorization_codes_table.php | 8 ++++++++ migrations/2023_09_28_create_oauth_clients_table.php | 8 ++++++++ migrations/2023_09_28_create_oauth_jwt_table.php | 8 ++++++++ .../2023_09_28_create_oauth_refresh_tokens_table.php | 8 ++++++++ migrations/2023_09_28_create_oauth_scopes_table.php | 8 ++++++++ src/Controllers/AuthorizeController.php | 8 ++++++++ src/Middlewares/ResourceScopeMiddleware.php | 1 + src/Models/AccessToken.php | 8 ++++++++ src/Models/AuthorizationCode.php | 8 ++++++++ src/Models/Client.php | 8 ++++++++ src/Models/Jwt.php | 8 ++++++++ src/Models/RefreshToken.php | 8 ++++++++ src/Models/Scope.php | 8 ++++++++ src/OAuth.php | 9 +++++++++ src/Storage.php | 8 ++++++++ 16 files changed, 122 insertions(+) diff --git a/migrations/2023_09_28_create_oauth_access_tokens_table.php b/migrations/2023_09_28_create_oauth_access_tokens_table.php index c5f00ba..72f92e8 100644 --- a/migrations/2023_09_28_create_oauth_access_tokens_table.php +++ b/migrations/2023_09_28_create_oauth_access_tokens_table.php @@ -1,5 +1,13 @@ true, + 'enforce_state' => false )); $server->addGrantType(new AuthorizationCode($storage)); $server->addGrantType(new ClientCredentials($storage)); diff --git a/src/Storage.php b/src/Storage.php index 8399b6d..e99fea1 100644 --- a/src/Storage.php +++ b/src/Storage.php @@ -1,5 +1,13 @@