SDK for 单点登录
Authing SSO SDK 用于发起 SSO 登录、查询 SSO 登录状态、单点登出。
安装
通过 NPM 安装
$ npm install @authing/sso --saveimport AuthingSSO from "@authing/sso";通过 CDN 安装
<script src="https://cdn.jsdelivr.net/npm/@authing/sso/dist/AuthingSSO.umd.min.js"></script>
<script>
console.log(AuthingSSO);
</script>开始使用
发起登录
跳转登录
窗口登录
查询登录状态
登出
API
AuthingSSO.prototype.constructor
AuthingSSO.prototype.login
AuthingSSO.prototype.trackSession
AuthingSSO.prototype.logout
获取帮助
Last updated
Was this helpful?