0.1.3 • Published 3 years ago

@authefy/web-client v0.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Authefy Web Client SDK

An Authefy Web Client runs only in browser. It simplifies the use of Authefy endpoints by providing set of libraries that are familiar for javascript developers.

  import Client from '@authefy/web-client';

  const authefyWebClient =  new Client({
      appAccessKey: process.env.AUTHEFY_APP_ACCESS_KEY
  });

Installation

This is a Node.js module available through the npm registry.

Installation is done using the npm install command::

$ npm install @authefy/web-client

Features

  • Register user to Authefy
  • Update user with user id
  • Delete user with user id
  • Get user information with user id
  • Login using password, refreshToken, & bitclout identity
  • Revoke refresh token

Docs & Community

Entities

Object: User

```
  {
    id: string;
    externalId?: string;
    username: string;
    groups: string[];
    isEmailVerified: boolean;
    isVerified: boolean;
    details: Record<string, any>;
  }
```
0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago