Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@remote.it/services

Package Overview
Dependencies
Maintainers
4
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remote.it/services

## Install

latest
Source
npmnpm
Version
0.9.16
Version published
Weekly downloads
721
17925%
Maintainers
4
Weekly downloads
 
Created
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

remoteit

FAQs

Package last updated on 28 Jul 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