@lucid-softworks/http-auth-bearer
v0.1.0
Published
HTTP Bearer token parsing and authentication challenges.
Maintainers
Readme
@lucid-softworks/http-auth-bearer
Bearer token parsing and RFC-compatible challenges.
import { parseBearerAuthorization } from "@lucid-softworks/http-auth-bearer";
const token = parseBearerAuthorization(request.headers.get("authorization"));Challenge fields support realm, scope, OAuth error, and error description values. Credential verification remains the caller's responsibility.
