1.0.4 • Published 5 years ago

node-red-contrib-auth-google v1.0.4

Weekly downloads
3
License
MPL-2.0
Repository
github
Last release
5 years ago

"# node-red-contrib-auth-google"

Install using npm

npm i node-red-contrib-auth-google

declare module using either

var googleauth = require("node-red-contrib-auth-google");

or using typescript

import * as googleauth from "node-red-contrib-auth-google";

then initilize

settings.adminAuth = new googleauth.noderedcontribauthgoogle("http://localhost:1880/", "blahblah.apps.googleusercontent.com", "secret", 
(profile:string | any, done:any)=> {
    profile.permissions = "read";
    profile.permissions = "*";
    done(profile);
});
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago