Back to all

clerk-rs-sdk

by ArthurDEV44

00Feb 6, 2026Visit Source
clerk-rs Rust SDK for Clerk authentication: client setup, typed API calls, JWT validation, and framework middleware (Axum, Actix, Rocket, Poem). Use when writing, reviewing, or refactoring Rust code using clerk-rs: (1) Setting up ClerkConfiguration and Clerk client, (2) Calling Clerk Backend API endpoints (users, organizations, sessions, invitations, etc.), (3) Adding JWT authentication middleware to Axum, Actix-web, Rocket, or Poem, (4) Validating JWTs with ClerkAuthorizer and JwksProvider, (5) Working with ClerkJwt claims, ActiveOrganization permissions, or Actor tokens, (6) Configuring JWKS caching with MemoryCacheJwksProvider, (7) Using clerk_rs::apis or clerk_rs::models types, (8) Adding clerk-rs feature flags to Cargo.toml, (9) Protecting routes with ClerkLayer, ClerkMiddleware, ClerkGuard, or ClerkPoemMiddleware.