GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - continuousauth/node-client: Node.js Client for CFA

This repository was archived by the owner on Aug 2, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.prettierrc.json
.prettierrc.json
 
 
.releaserc.json
.releaserc.json
 
 
README.md
README.md
 
 
jest.config.js
jest.config.js
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

@continuous-auth/client

GitHub Workflow Status GitHub Workflow Status npm version

This module expects to be run in a Supported CI Environment. It infers a lot of variables from environment variables, these config variables are outlined below.

Config

  • CFA_PROJECT_ID - The ID of your project on CFA
  • CFA_SECRET - The secret assoicated with your project on CFA, you get this from the CFA Dashboard

API

getOtp()

Returns Promise<string>.

This promise eventually resolves with a valid OTP code, please be aware that this code is user provided and therefore may have been entered incorrectly. You also need to use OTP codes quite quickly as they typically expire within 30 seconds.

validateConfiguration()

Returns Promise<void>.

This promise will resolve if your project ID and secret are a valid combination for the current CI provider. It will be rejected if they are deemed invalid by the CFA service.

Example

// Publish the package in the CWD with an OTP code from CFA
import { getOtp } from '@continuous-auth/client';
import { spawnSync } from 'child_process';

spawnSync('npm', ['publish', '--otp', await getOtp()])

About

Node.js Client for CFA

npmjs.com/@continuous-auth/client

Resources

Readme
Activity
Custom properties

Stars

8 stars

Watchers

6 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.