@theswing/sso
v1.0.17
Published
The Swing 공용 SSO 모듈
Downloads
32
Readme
@theswing/cdn
The Swing 공용 SSO 모듈
Installing
Using npm:
$ npm install -D @theswing/sso
Example
const { SSO, getQuery } = require("@theswing/sso");
// or
import { SSO, getQuery } from "@theswing/sso";
API
new SSO(config)
- 객체 생성자
config
: 설정domain
: String 사이트의 domain 코드 (없으면default
)store
: Boolean localStorage 사용여부
get token: String
- 프로퍼티
- API용 토큰
get domain: String
- 프로퍼티
- 지정한 도메인 코드