feat: add JWK support for JWT validation and update dependencies (#20)
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m4s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m59s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m29s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 4m2s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m48s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m49s

Reviewed-on: #20
Co-authored-by: Ron Rise <ron@siteworxpro.com>
Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #20.
This commit is contained in:
2025-11-17 23:22:53 +00:00
committed by Siteworx Pro Gitea
parent 7aa14c0db3
commit 9b736eb879
8 changed files with 596 additions and 15 deletions

View File

@@ -10,7 +10,9 @@ use Attribute;
readonly class Scope
{
public function __construct(
private array $scopes = []
private array $scopes = [],
private string $claim = 'scope',
private string $separator = ' ',
) {
}
@@ -18,4 +20,14 @@ readonly class Scope
{
return $this->scopes;
}
public function getClaim(): string
{
return $this->claim;
}
public function getSeparator(): string
{
return $this->separator;
}
}