Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@datafire/6_dot_authentiqio_appspot

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datafire/6_dot_authentiqio_appspot

DataFire integration for Authentiq

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
Maintainers
1
Weekly downloads
 
Created
Source

@datafire/6_dot_authentiqio_appspot

Client library for Authentiq

Installation and Usage

npm install --save datafire @datafire/6_dot_authentiqio_appspot
let datafire = require('datafire');
let dot_authentiqio_appspot = require('@datafire/6_dot_authentiqio_appspot').create();

dot_authentiqio_appspot.key_revoke_nosecret({}).then(data => {
  console.log(data);
})

Description

Strong authentication, without the passwords.

Actions

key_revoke_nosecret

Revoke an Authentiq ID using email & phone.

If called with email and phone only, a verification code will be sent by email. Do a second call adding code to complete the revocation.

dot_authentiqio_appspot.key_revoke_nosecret({
  "email": "",
  "phone": ""
}, context)
Parameters
  • email (string) required - primary email associated to Key (ID)
  • phone (string) required - primary phone number, international representation
  • code (string) - verification code sent by email

key_register

Register a new ID JWT(sub, devtoken)

v5: JWT(sub, pk, devtoken, ...)

See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.key_register({
  "body": null
}, context)
Parameters
  • body (undefined) required - Authentiq ID in JWT format, self-signed.

key_revoke

Revoke an Identity (Key) with a revocation secret

dot_authentiqio_appspot.key_revoke({
  "PK": "",
  "secret": ""
}, context)
Parameters
  • PK (string) required - Public Signing Key - Authentiq ID (43 chars)
  • secret (string) required - revokation secret

key.PK.get

Get public details of an Authentiq ID.

dot_authentiqio_appspot.key.PK.get({
  "PK": ""
}, context)
Parameters
  • PK (string) required - Public Signing Key - Authentiq ID (43 chars)

key.PK.head

HEAD info on Authentiq ID

dot_authentiqio_appspot.key.PK.head({
  "PK": ""
}, context)
Parameters
  • PK (string) required - Public Signing Key - Authentiq ID (43 chars)

key_update

update properties of an Authentiq ID. (not operational in v4; use PUT for now)

v5: POST issuer-signed email & phone scopes in a self-signed JWT

See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.key_update({
  "PK": "",
  "body": null
}, context)
Parameters
  • PK (string) required - Public Signing Key - Authentiq ID (43 chars)
  • body (undefined) required - Authentiq ID in JWT format, self-signed.

key_bind

Update Authentiq ID by replacing the object.

v4: JWT(sub,email,phone) to bind email/phone hash;

v5: POST issuer-signed email & phone scopes and PUT to update registration JWT(sub, pk, devtoken, ...)

See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.key_bind({
  "PK": "",
  "body": null
}, context)
Parameters
  • PK (string) required - Public Signing Key - Authentiq ID (43 chars)
  • body (undefined) required - Authentiq ID in JWT format, self-signed.

push_login_request

push sign-in request See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.push_login_request({
  "body": null,
  "callback": ""
}, context)
Parameters
  • body (undefined) required - PushToken in JWT format, self-signed.
  • callback (string) required - URI App will connect to

sign_request

scope verification request See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.sign_request({
  "body": null
}, context)
Parameters
  • body (undefined) required - Claim in JWT format, self- or issuer-signed.
  • test (integer) - test only mode, using test issuer

sign_delete

delete a verification job

dot_authentiqio_appspot.sign_delete({
  "job": ""
}, context)
Parameters
  • job (string) required - Job ID (20 chars)

sign_retrieve

get the status / current content of a verification job

dot_authentiqio_appspot.sign_retrieve({
  "job": ""
}, context)
Parameters
  • job (string) required - Job ID (20 chars)

sign_retrieve_head

HEAD to get the status of a verification job

dot_authentiqio_appspot.sign_retrieve_head({
  "job": ""
}, context)
Parameters
  • job (string) required - Job ID (20 chars)

sign_confirm

this is a scope confirmation

dot_authentiqio_appspot.sign_confirm({
  "job": ""
}, context)
Parameters
  • job (string) required - Job ID (20 chars)

sign_update

authority updates a JWT with its signature See: https://github.com/skion/authentiq/wiki/JWT-Examples

dot_authentiqio_appspot.sign_update({
  "job": ""
}, context)
Parameters
  • job (string) required - Job ID (20 chars)

FAQs

Package last updated on 10 Nov 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc