kudze/access-token-validator

Library for validating access tokens from auth.kudze.lt

Maintainers

Package info

git.kudze.lt/kudze/access-token-validator

pkg:composer/kudze/access-token-validator

Statistics

Installs: 120

Dependents: 1

Suggesters: 0

1.1.0 2026-02-27 03:11 UTC

This package is auto-updated.

Last update: 2026-02-27 03:26:41 UTC


README

Description

This is a very small utility to validate access tokens that are emitted from: https://auth.kudze.lt

How to use

  1. Configure enviroment variable JWT_PUBLIC_KEY to be public key from: https://auth.kudze.lt (We may introduce rotating keys in future)
  2. Use AccessTokenValidator service to decode access token.

Unit tests

In order to run unit tests you need to:

  1. Install composer dependencies: composer install
  2. Run phpunit tests: ./vendor/bin/phpunit