·securing-authentication
!

securing-authentication

ancoleman/ai-design-components

身份验证、授权和 API 安全实施。在构建用户系统、保护 API 或实施访问控制时使用。涵盖 OAuth 2.1/OIDC、JWT 模式、会话、Passkeys/WebAuthn、RBAC/ABAC/ReBAC、策略引擎(OPA、Casbin、SpiceDB)、托管身份验证(Clerk、Auth0)、自托管(Keycloak、Ory)和 API 安全最佳实践。

17安装·0热度·@ancoleman

安装

$npx skills add https://github.com/ancoleman/ai-design-components --skill securing-authentication

SKILL.md

Implement modern authentication, authorization, and API security across Python, Rust, Go, and TypeScript.

Critical: PKCE is now mandatory for ALL OAuth flows, not just public clients.

Refresh token rotation: Each refresh generates new access AND refresh tokens, invalidating the old refresh token.

身份验证、授权和 API 安全实施。在构建用户系统、保护 API 或实施访问控制时使用。涵盖 OAuth 2.1/OIDC、JWT 模式、会话、Passkeys/WebAuthn、RBAC/ABAC/ReBAC、策略引擎(OPA、Casbin、SpiceDB)、托管身份验证(Clerk、Auth0)、自托管(Keycloak、Ory)和 API 安全最佳实践。 来源:ancoleman/ai-design-components。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ancoleman/ai-design-components --skill securing-authentication
分类
!安全工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 securing-authentication?

身份验证、授权和 API 安全实施。在构建用户系统、保护 API 或实施访问控制时使用。涵盖 OAuth 2.1/OIDC、JWT 模式、会话、Passkeys/WebAuthn、RBAC/ABAC/ReBAC、策略引擎(OPA、Casbin、SpiceDB)、托管身份验证(Clerk、Auth0)、自托管(Keycloak、Ory)和 API 安全最佳实践。 来源:ancoleman/ai-design-components。

如何安装 securing-authentication?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ancoleman/ai-design-components --skill securing-authentication 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/ancoleman/ai-design-components