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

@epilot/auth

Package Overview
Dependencies
Maintainers
13
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epilot/auth

Authenticate with epilot APIs

  • 0.2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
249
decreased by-22.67%
Maintainers
13
Weekly downloads
 
Created
Source

@epilot/auth

CI npm version bundle size License

Authenticate with epilot APIs

Quick Start

npm install --save @epilot/auth
import { authenticate } from '@epilot/auth';
import entityClient from '@epilot/entity-client';

const credentials = await authenticate({
  username: 'email@example.com',
  password: 'xxx',
});
credentials.configureClient(entityClient);

await entityClient.createEntity('contact', { fist_name: 'Example', last_name: 'Contact' });

// entityClient will be authorized using epilot OAuth tokens

CLI Usage

For convenience, you can quickly obtain a token for testing via the CLI

$ npx @epilot/auth

? Email email@example.com
? Password [hidden]

# <access token printed here>

Documentation

https://docs.epilot.io/docs/auth/authentication

Keywords

FAQs

Package last updated on 14 Feb 2022

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