google-dwd
v0.10.8
Published
Google Domain Wide Delegation Client
Downloads
35
Readme
google-dwd
Google Domain Wide Delegation Client
Install
npm install google-dwd
Usage
const { GoogleAuth } = require('google-auth-library');
const dwd = require('google-dwd');
const auth = new GoogleAuth();
const client = await auth.getClient();
const dwdClient = await dwd(client, '[email protected]', [ 'https://www.googleapis.com/auth/gmail.readonly' ]);