Socket
Socket
Sign inDemoInstall

@remote.it/services

Package Overview
Dependencies
4
Maintainers
5
Versions
118
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @remote.it/services

## Install


Version published
Weekly downloads
2
decreased by-71.43%
Maintainers
5
Install size
25.8 MB
Created
Weekly downloads
 

Readme

Source

@remote.it/services

Install

npm i @remote.it/services

Usage

import { CognitoService } from '@remote.it/services'
import 'isomorphic-fetch' // needed if using in node and not browser

// Optional config:
const config = {
  /* ...see type definition for options... */
}

const cognito = new CognitoService(config)

async function signInUser() {
  const username = 'someuser@company.com'
  const password = 'sup3rsekret!'
  const [challenge, user] = await cognito.signIn(username, password)
  console.log('challenge:', challenge)
  console.log('user:', user)
}

signInUser()

Keywords

FAQs

Last updated on 11 Feb 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc