forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoogleauth.ts
More file actions
20 lines (19 loc) · 754 Bytes
/
Copy pathgoogleauth.ts
File metadata and controls
20 lines (19 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Red } from "node-red";
import * as googleauth from "./googleauth_nodes";
export = function (RED: Red) {
RED.nodes.registerType("googleauth credentials", googleauth.googleauth_credentials, {
credentials: {
clientid: { type: "text" },
clientsecret: { type: "password" },
scopes: { type: "text" },
redirecturi: { type: "text" },
code: { type: "password" },
tokens: { type: "password" },
serviceaccount: { type: "password" },
apikey: { type: "password" },
username: { type: "text" },
password: { type: "password" }
}
});
RED.nodes.registerType("googleauth request", googleauth.googleauth_request);
}