1.0.3 • Published 3 years ago

did-login-helper v1.0.3

Weekly downloads
172
License
MIT
Repository
github
Last release
3 years ago

DIDLoginHelper

There are tool to help you to login with your DID credentials (currently only in Ethereum or Sovrin). To use it you also should install our docker image.

Installing

npm i did-login-helper or yarn add did-login-helper

Usage

import { DIDLoginHelper } from 'did-login-helper';
const loginHelper = new DIDLoginHelper({
	publicKeyEncType: *enc_type_in_your_DID*,
	backendURI: "backend_url",
});
const loginResult = await loginHelper.login(body);

loginResult is a response from backend. With {result: boolean}

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago