$ npm install selfkey.js
newJWT(publicKey) handleChallengeResponse(challenge, signature, publicKey) serviceAuthMiddleware jwtAuthMiddleware createSignature(challenge, privateKey) verifySignature(challenge, signature, publicKey) denormalizeDocumentsSchema(typeSchema, value, documents, maxDepth)
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
Copyright (c) 2018 SelfKey Foundation https://selfkey.org/