awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
vvo avatar

vvo/iron-session

0
View on GitHub↗
4,130 星标·255 分支·TypeScript·MIT·5 次浏览get-iron-session.vercel.app↗

Iron Session

iron-session 是一个用于 JavaScript 的无状态会话管理库,将加密和签名后的会话数据直接存储在浏览器 Cookie 中。它作为身份验证中间件,无需服务器端数据库或网络查找即可验证用户身份。

该项目提供了一个支持版本化密码轮换的对称密钥加密工具。这允许在不使现有用户会话失效的情况下更新系统中的加密密钥。

除了会话管理外,该库还包含将任意数据对象密封为安全签名字符串并解封的实用程序,以确保内容未被篡改。这些功能支持生成安全令牌和魔术登录链接。

Features

  • Cookie-Based Session Management - Implements session management by storing encrypted and signed data directly in browser cookies.
  • Stateless Session Management - Implements a stateless session system that stores encrypted data in cookies to eliminate server-side database lookups.
  • Cookie-Based Stores - Uses cookies as stores for encrypted application state to prevent client-side tampering.
  • Cryptographic Signing Methods - Provides cryptographic signing to ensure the integrity and authenticity of session data.
  • Digital Message Signing - Produces cryptographic signatures for session data to prevent tampering.
  • Cookie-Based Session Storage - Provides a storage mechanism that persists application state in the browser using symmetric encryption and signing.
  • Session & Cookie Handlers - Handles the reading and setting of encrypted browser cookies to persist user state.
  • Session Cookie Authentications - Uses encrypted browser cookies as a secure storage mechanism to maintain user sessions.
  • Symmetric Encryption - Uses symmetric encryption with a shared secret to maintain session data confidentiality.
  • Stateless Architectures - Enables request processing without server-side session state by decoding data from cookies.
  • Authentication Middlewares - Provides authentication middleware for JavaScript applications to verify identity via cryptographically sealed cookies.
  • Cryptographic Data Sealing - Combines encryption and signing to seal arbitrary data objects into secure strings for tokens.
  • Cryptographic Unsealing - Verifies signed strings to decode original data and ensure it has not been tampered with.
  • Versioned Password Rotation - Supports versioned password rotation to update encryption keys without forcing active users to re-authenticate.
  • Versioned Key Rotations - Supports updating encryption keys using a versioned history to avoid invalidating active sessions.
  • Session Lifecycle Management - Manages the creation, rotation, and expiration of cryptographically secured sessions.
  • User Session Termination - Provides the ability to programmatically terminate user sessions by removing the session cookie.
  • Token Generation - Generates cryptographically secure encrypted strings for use in magic links and access tokens.
  • Authentication Workflows - Provides a secure authentication and state persistence workflow specifically for Next.js applications.

Star 历史

vvo/iron-session 的 Star 历史图表vvo/iron-session 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Iron Session 的精选搜索

收录 Iron Session 的精选合集。
  • an open source password manager for accounts

Iron Session 的开源替代方案

相似的开源项目,按与 Iron Session 的功能重合度排序。
  • vvo/next-iron-sessionvvo 的头像

    vvo/next-iron-session

    4,125在 GitHub 上查看↗

    next-iron-session is a session management library for Next.js applications that stores encrypted user state in secure browser cookies. This system enables stateless session management, allowing applications to maintain user identity without requiring a server-side database for session tracking. The project provides utilities for securing data payloads through symmetric-key encryption and signing, including support for versioned encryption key rotation. It includes tools for implementing passwordless authentication via secure one-time magic links and integrating external identity providers thr

    TypeScript
    在 GitHub 上查看↗4,125
  • teamhanko/hankoteamhanko 的头像

    teamhanko/hanko

    8,801在 GitHub 上查看↗

    Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey authentication service and an OAuth and SAML SSO gateway, allowing applications to authenticate users and issue tokens via standard identity protocols. The project distinguishes itself through a strong focus on passwordless access using WebAuthn-based passkeys and email-based passcodes. It provides framework-agnostic authentication interfaces as customizable web components that can be embedded directly into web applications to handle login, registration, and profile management.

    Go2faauthenticationciam
    在 GitHub 上查看↗8,801
  • lipp/login-withlipp 的头像

    lipp/login-with

    2,340在 GitHub 上查看↗

    Login-with is a centralized authentication gateway designed to decouple identity verification from individual application services. It functions as a stateless microservice that orchestrates user login and logout flows by integrating with external identity providers. The project distinguishes itself through its ability to manage user sessions across multiple subdomains. By issuing encrypted, domain-wide cookies, it maintains consistent user state and profile information as users navigate between different parts of a distributed web architecture. The service handles the full lifecycle of user

    JavaScriptdockerfacebookgoogle
    在 GitHub 上查看↗2,340
  • binarylogic/authlogicbinarylogic 的头像

    binarylogic/authlogic

    4,343在 GitHub 上查看↗

    Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure password hashing. It provides a system for verifying user credentials against stored records using configurable identity fields. The framework distinguishes itself through its provider-based identity integration, allowing applications to connect authentication flows to external services including OAuth, OpenID Connect, LDAP, and various social media platforms. It also includes an extensibility model that executes custom user-defined code via hooks and callbacks during identity veri

    Ruby
    在 GitHub 上查看↗4,343
查看 Iron Session 的所有 30 个替代方案→

常见问题解答

vvo/iron-session 是做什么的?

iron-session 是一个用于 JavaScript 的无状态会话管理库,将加密和签名后的会话数据直接存储在浏览器 Cookie 中。它作为身份验证中间件,无需服务器端数据库或网络查找即可验证用户身份。

vvo/iron-session 的主要功能有哪些?

vvo/iron-session 的主要功能包括:Cookie-Based Session Management, Stateless Session Management, Cookie-Based Stores, Cryptographic Signing Methods, Digital Message Signing, Cookie-Based Session Storage, Session & Cookie Handlers, Session Cookie Authentications。

vvo/iron-session 有哪些开源替代品?

vvo/iron-session 的开源替代品包括: vvo/next-iron-session — next-iron-session is a session management library for Next.js applications that stores encrypted user state in secure… teamhanko/hanko — Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey… lipp/login-with — Login-with is a centralized authentication gateway designed to decouple identity verification from individual… netlify/gotrue — GoTrue is a JWT identity provider and user management API. It functions as an OAuth 2.0 compliant server that handles… fpereiro/backendlore — Backendlore is a collection of architectural guides and patterns for building stateless JSON HTTP APIs using Node.js.… binarylogic/authlogic — Authlogic is a Ruby authentication framework designed to manage user identities, session persistence, and secure…