Use when configuring authentication in reinhardt-web applications - covers auth backends (JWT, Session, Token, OAuth2/Social), user models, password hashing, and session management
How this skill is triggered — by the user, by Claude, or both
Slash command
/reinhardt-agents-plugin:authenticationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide developers through authentication setup using reinhardt-auth, including backend configuration, user models, password hashing, and session management.
Guide developers through authentication setup using reinhardt-auth, including backend configuration, user models, password hashing, and session management.
references/auth-backends.md for backend comparisonCargo.toml#[injectable_factory] — read DI skill for patternsreferences/user-models.md for trait hierarchy and field requirements#[model] and #[user] attributesBaseUser trait (or use #[user] macro for auto-implementation)../authorization/references/extractors.md for AuthInfo and AuthUser<T>AuthInfo for lightweight access (no DB query)AuthUser<T> when the full user model is needed#[inject] in handler parametersreferences/social-auth.md for provider setupProviderConfig for each provider (Google, GitHub, Apple, Microsoft)SocialAuthBackend with PKCE and state validationUserMapperreferences/session-management.md for backend optionsargon2-hasher feature for production password hashingAuthInfo is lightweight (reads from request extensions) — use when you only need user IDAuthUser<T> loads the full user model from DB — use when you need user fieldsCurrentUser<T> is DEPRECATED — use AuthUser<T> insteadauth-jwt, auth-session, auth-token, auth-oauth, argon2-hasher, socialHttpOnly, SameSite, and Secure (in production)../dependency-injection/references/di-patterns.md../authorization/SKILL.md../api-development/references/auth-config.md#[model]: ../macros/references/attribute-macros.mdFor the latest auth API:
reinhardt/crates/reinhardt-auth/src/lib.rs for module structure and re-exportsreinhardt/crates/reinhardt-auth/src/core/base_user.rs for BaseUser traitreinhardt/crates/reinhardt-auth/src/jwt.rs for JWT typesreinhardt/crates/reinhardt-auth/src/rest_authentication.rs for REST auth backendsreinhardt/crates/reinhardt-auth/src/social.rs for social auth modulereinhardt/crates/reinhardt-auth/src/sessions/ for session backends#[user] in reinhardt/tests/ for real user model examplesnpx claudepluginhub kent8192/reinhardt-agents-plugin --plugin reinhardt-agents-pluginProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.