br-auth-middleware

Community

Wire the right auth middleware flow.

AuthorLonsdale201
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Protects WordPress REST routes and endpoints by selecting and chaining authentication middlewares to secure access.

Core Features & Use Cases

  • Supports JWT with Hs256JwtVerifier for server-issued tokens.
  • Supports custom bearer tokens via BearerTokenAuthMiddleware and your own verifier.
  • Supports native WordPress application passwords and browser-based CookieNonce authentication.
  • Provides user mapping with WpClaimsUserMapper and route-level protection with ->protectedByMiddleware().

Quick Start

Apply authentication at the route level using ->protectedByMiddleware() to defer to the middleware pipeline.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: br-auth-middleware
Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#br-auth-middleware

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.