Skip to content

pliancy/duo-sdk

Repository files navigation

@pliancy/duo-sdk

Usage

import { Duo } from '@pliancy/duo-sdk'

const duo = new Duo({
    apiHost: 'apihost.duo.com',
    integrationKey: '123',
    secretKey: 'abc',
})

const accounts = await duo.accounts.getAll()

const account = await duo.accounts.create({
    name: 'Account Name'
})

Test

yarn test