Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

miaoda-auth-taro

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

miaoda-auth-taro

小程序登录组件

latest
npmnpm
Version
0.0.8
Version published
Weekly downloads
20
122.22%
Maintainers
1
Weekly downloads
 
Created
Source

源码小程序应用登录插件

核心功能

  • 统一封装登录面板组件,封装内置登录与第三方登录(微信)逻辑
  • 拦截全部页面需登录或者自定义页面才能访问
  • 全局状态共享(当前用户、是否认证)
  • 登录完成后跳转回原页面或继续操作
  • 刷新时自动检测用户 token 是否有效
  • 屏蔽 supabase client 的细节,提供通用的 API

开发

npm run dev

FAQs

Package last updated on 29 Sep 2025

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