Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

deercal-oauth

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deercal-oauth

登录中心

latest
npmnpm
Version
1.0.27
Version published
Maintainers
1
Created
Source

业务端登录 vue3.x,node 18.x

业务端

  • 禄鸣超管(复制文件,升级后改为库调用)
  • 禄费超管(复制文件,升级后改为库调用)
  • 福禄兽超管
  • 用户中心超管

使用方式

<OAuth 
  :config="{
      idName: 'target',
      env: import.meta.env.VITE_APP_API_BASEURL, // 业务端接口域名
      client_id: 'f6bf96b8a278821f2ce91037fec5f428',
      redirect_uri: import.meta.env.VITE_APP_REDIRECT_URI,
      response_type: 'code'
  }"
  @error="e => {
    
  }"
  @success="token => {
    // 拿到token后走登录逻辑
  }"
/>

FAQs

Package last updated on 23 Apr 2023

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