Socket
Book a DemoInstallSign in
Socket

@authefy/web-client

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authefy/web-client

Authefy Web SDK

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
2
Created
Source

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>;
  }
```

FAQs

Package last updated on 02 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts