Changes for version v0.0.5 - 2026-08-20

  • IMPROVEMENTS
    • Added configurable 'realm' option to HTTPBearer and OAuth2::PasswordBearer constructors (defaults to 'Restricted').
    • Updated WWW-Authenticate header generation in HTTPBearer and HTTPBasic to include the 'realm' parameter in compliance with RFC 9110 / RFC 6750.
    • Updated test suite (t/01-http_bearer.t, t/04-oauth2_password_bearer.t) to assert WWW-Authenticate realm headers.
    • Added helper method challenge_header() in the following packages:
      • PAGI::FastAPI::Security::Base
      • PAGI::FastAPI::Security::HTTPBearer
    • Updated requirement to PAGI::FastAPI v1.2.2.
  • POD
    • Removed redundant CPAN Ratings link from the pod.

Documentation

Modules

Authentication scheme building blocks for PAGI::FastAPI
API key authentication scheme for PAGI::FastAPI
Internal base class for PAGI::FastAPI::Security schemes
HTTP Basic authentication scheme for PAGI::FastAPI
HTTP Bearer token scheme for PAGI::FastAPI
OAuth2 password-bearer scheme for PAGI::FastAPI