From ff6f3bb5d6705ce323d1b27570eff87f3adc0697 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sun, 4 Feb 2024 11:24:46 +0100 Subject: [PATCH] Remove deprecated web.auth.oauth.Token --- ChangeLog.md | 4 ++++ src/main/php/web/auth/oauth/Token.class.php | 17 ----------------- 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100755 src/main/php/web/auth/oauth/Token.class.php diff --git a/ChangeLog.md b/ChangeLog.md index 0b30271..d79ce07 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,6 +3,10 @@ Web Authentication change log ## ?.?.? / ????-??-?? +* **Heads up**: Removed deprecated *Token* class which has been replaced + by `web.auth.oauth.BySecret` + (@thekid) + ## 3.8.0 / 2024-01-30 * Added PHP 8.4 to the test matrix - @thekid diff --git a/src/main/php/web/auth/oauth/Token.class.php b/src/main/php/web/auth/oauth/Token.class.php deleted file mode 100755 index c8d743a..0000000 --- a/src/main/php/web/auth/oauth/Token.class.php +++ /dev/null @@ -1,17 +0,0 @@ -key= $key instanceof Secret ? $key : new Secret($key); - $this->secret= $secret instanceof Secret ? $secret : new Secret($secret); - } - - public function key() { return $this->key; } - - public function secret() { return $this->secret; } -} \ No newline at end of file