Skip to content

IvanGordeyev/node-red-contrib-auth-google

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"# 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);
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%