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