@authefy/web-client
v0.1.3
Published
Authefy Web SDK
Downloads
12
Readme
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
- Documentation - WIP
Entities
Object: User
```
{
id: string;
externalId?: string;
username: string;
groups: string[];
isEmailVerified: boolean;
isVerified: boolean;
details: Record<string, any>;
}
```