kauth-sdk-node
v2.0.13-alpha.2
Published
Kauth-sdk-node, as base stone of series of concrete SDK for egg or any other nodejs web framework.
Downloads
145
Keywords
Readme
kauth-sdk-node
Kauth-sdk-node, as base stone of series of concrete SDK for egg or any other nodejs web framework.
It provides authentications like BUC authentication, alipay miniprogram authentication, and some other authentication abilities.
kauthApi
You can use it to request kauth
import { KauthApi } from 'kauth-sdk-node';
KflowApi
You can use it to request kflow
import { KflowApi } from 'kauth-sdk-node';
GoogleAuthenticator
You can use it to authenticate user info by Google oauth2
import { GoogleAuthenticator } from 'kauth-sdk-node';
MoziAUthenticator
You can use it to authenticate user info by Mozi oauth2
import { MoziAuthenticator } from 'kauth-sdk-node';
JsonWebTokenAuthenticationProvider
You can use it to verify jwt or create a jwt by authentication information
import { JsonWebTokenAuthenticationProvider } from 'kauth-sdk-node';
Publish
# 1. update version
$ npm version minor
> Or you can update version by patch
$ npm version patch
# 2. build and publish
$ npm publish