0.0.15 • Published 4 years ago

0auth-sdk v0.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

0.0.15

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago