New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

yz-model-user-ccb

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yz-model-user-ccb

yz-model-user-ccb

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

options

  • loginLevel: 登陆级别,
  • path: 第三方登陆重定向地址path
  • resultPropertyKey: axios 返回数据取哪个字段
  • axios: 系统axios
  • system_source: 系统来源(受理:1,后台:2,大厅:3)
  • axios: 系统axios
  • extranet 是否启用外网的回调地址
  • extranetUrl 外网的回调地址

methods

  • configure: (option) => userModule 配置userModule
  • login: (account, pwd) => Promise(result) 登陆
  • loginOut: () => null 注销
  • otherLogin: (type) => null 第三方登陆
  • getAccessToken: () => result 获取访问令牌
  • checkCode: () => Promise(Boolean) 检查第三方登陆
  • getUserInfo: () => Promise(userInfo) 获取用户信息

Port

result

{
  ok: Boolean,
  data: Obj,
  err: {
    msg: String
  }
}

Keywords

yz-model-user-ccb

FAQs

Package last updated on 24 Jul 2020

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