Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
example
lib
src
test
.babelrc
.editorconfig
.eslintignore
.eslintrc.json feat(cleanup): clean frontend configs Apr 23, 2019
.gitignore
.huskyrc feat(setup): update repo setup Apr 22, 2019
.npmignore feat(cleanup): clean frontend configs Apr 23, 2019
.nvmrc
.prettierignore
.prettierrc.json
LICENSE Update LICENSE Sep 13, 2018
README.md
commitlint.config.js
jest.config.js
package.json 1.0.0-beta.6 May 17, 2019
yarn.lock

README.md

selfkey-lib

SelfKey Javascript Library

Install

$ npm install selfkey.js

Usage

	newJWT(publicKey)
	handleChallengeResponse(challenge, signature, publicKey)
	serviceAuthMiddleware
	jwtAuthMiddleware
	createSignature(challenge, privateKey)
	verifySignature(challenge, signature, publicKey)
	denormalizeDocumentsSchema(typeSchema, value, documents, maxDepth)

SelfKey Marketplace

The SelfKey Marketplace integration requires the signature verification function to prove ownership of an ethereum address.

Login with SelfKey

The Login with SelfKey strategy authenticates users using a challenge, signature and public key.

For more detailed usage for Login with SelfKey integration with PassportJS authentication please refer to the passport-selfkey library

License

The GPL-3.0 License

Copyright (c) 2018 SelfKey Foundation https://selfkey.org/

You can’t perform that action at this time.