Skip to content

Releases: chr15k/php-auth-generator

0.2.1

27 Jun 15:28

Choose a tag to compare

[v0.2.1] - 2025-06-27

Fixed

  • Fix bug with claim validation logic

0.2.0

27 Jun 14:40

Choose a tag to compare

[v0.2.0] - 2025-06-27

Changed

  • Enhanced JWT header validation to enforce scalar types only (strings, numbers, booleans) for RFC 7515 compliance
  • Improved JWT claim validation with better error messages for non-JSON-serializable data
  • Updated null header handling - null values are now explicitly ignored rather than converted to empty strings
  • Enhanced documentation with comprehensive JWT validation rules and RFC compliance guidelines
  • Added detailed explanations of data type requirements for JWT headers vs claims

0.1.3

21 Jun 12:36

Choose a tag to compare

[v0.1.3] - 2025-06-21

Changed

  • Readme and main.yml updated

0.1.2

16 Jun 13:12

Choose a tag to compare

[v0.1.2] - 2025-06-16

Added

  • Added Digest Authentication support with MD5, MD5-sess, SHA-256, and SHA-256-sess algorithms
  • Added DigestAuthBuilder with fluent API for generating Digest Auth tokens

0.1.1

15 Jun 03:27

Choose a tag to compare

[v0.1.1] - 2025-06-14

Added

  • Added #[SensitiveParameter] attribute to enhance security for password and secret parameters

Changed

  • Enhanced type safety by making DTOs readonly
  • Updated documentation in README for clearer usage instructions
  • Added libsodium suggestion in composer.json for improved cryptographic operations (required for EdDSA support)

0.1.0

15 Jun 02:30

Choose a tag to compare

[v0.1.0] - 2025-06-13

Added

  • Initial release of the HTTP Auth Generator library
  • Fluent API for generating authentication tokens
  • Support for Basic Authentication tokens
  • Support for Bearer tokens with customizable length and prefix
  • Support for JWT (JSON Web Tokens) with extensive claim and header options
  • Support for multiple JWT signing algorithms (HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES256K, EdDSA)
  • Helper methods for formatting tokens for HTTP headers: toString(), toArray(), and toHeader()
  • Comprehensive documentation in README, API cheatsheet, and user guide
  • Integration examples for popular HTTP clients (Guzzle, Symfony HTTP, Laravel HTTP)
  • Extensive test suite with high code coverage