import { DeviceAuthorizationGrant } from "https://github.com/fdionisi/device-authorization-grant/blob/0.2.0/device-authorization-grant.ts";
const deviceAuthorizationGrant = new DeviceAuthorizationGrant(
myStorage,
config,
);
// ES Module
import { DeviceAuthorizationGrant } from "@fdionisi/device-authorization-grant";
// Common.js
const { DeviceAuthorizationGrant } = require(
"@fdionisi/device-authorization-grant",
);
const deviceAuthorizationGrant = new DeviceAuthorizationGrant(
myStorage,
config,
);
This library is distributed under the terms the MIT license.
See LICENSE for details.