0.0.15 • Published 2 years ago

0auth-sdk v0.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

0auth-sdk

NPM version Type License Downloads

Client Side JavaScript toolkit for 0Auth.

Installation

With npm:

npm install 0auth-sdk

With yarn:

yarn add 0auth-sdk

Usage

With react

Initializing

import Auth from '0auth-sdk';
Auth.initialize({ 
  brand: 'test'
});
optionstyperequiredescription
brandstringtrueset login page link as brand.0auth.kr

getOptions

Auth.getOptions()

login

// if initialized, push to 0auth login page
Auth.login()

getProfile

// if access token is verified
Auth.getProfile()
0.0.14

2 years ago

0.0.15

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago