Socket
Socket
Sign inDemoInstall

@roshan-labs/auth

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roshan-labs/auth

Nuxt3 auth module


Version published
Maintainers
0
Created
Source

@roshan-labs/auth

npm version npm downloads License Nuxt

Nuxt3 身份验证模块,统一处理应用中权限相关的功能

  • 📖 文档:计划中...

功能

  • 开箱即用,几乎零配置就可以完成身份验证
  • 支持本地策略:token 和 refresh 两种场景
  • API 简单,不同策略公用相同接口
  • 完备的 Typescript 类型支持
  • 只用于 Nuxt3

安装

  1. 添加 @roshan-labs/auth 依赖
# 可以使用 npm、yarn 和 pnpm 来安装
pnpm add @roshan-labs/auth
  1. 添加 @roshan-labs/authnuxt.config.tsmodules 列表
export default defineNuxtConfig({
  modules: [
    '@roshan-labs/auth',
  ],
  auth: {
    // 选项配置
  },
})

许可

MIT

Keywords

FAQs

Package last updated on 14 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc