kauth-sdk-node
TypeScript icon, indicating that this package has built-in type declarations

2.0.13-alpha.2 • Public • Published

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

/kauth-sdk-node/

    Package Sidebar

    Install

    npm i kauth-sdk-node

    Weekly Downloads

    13

    Version

    2.0.13-alpha.2

    License

    ISC

    Unpacked Size

    85.9 kB

    Total Files

    44

    Last publish

    Collaborators

    • marmot.antgroup
    • xingxia
    • gxkl
    • zyhack
    • shaytang
    • kobe990