-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure_remove_user_from_app.html
More file actions
77 lines (73 loc) · 2.99 KB
/
azure_remove_user_from_app.html
File metadata and controls
77 lines (73 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<script type="text/javascript">
RED.nodes.registerType('azure_remove_user_from_app',{
category: 'authomize_azure',
color: '#a6bbcf',
defaults: {
name: {value:"Azure - Remove user from app"},
auth: { type: 'azure_config', required: true },
appObjectId: { value: '', required: true },
appObjectIdType: {value: ''},
principalId: { value: '', required: true },
principalIdType: {value: ''},
appRoleAssignedToId: { value: '', required: true },
appRoleAssignedToIdType: {value: ''},
},
inputs:3,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"azure_remove_user_from_app";
},
oneditprepare: function () {
$("#node-input-appObjectId").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-appObjectIdType"
});
$("#node-input-principalId").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-principalIdType"
});
$("#node-input-appRoleAssignedToId").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-appRoleAssignedToIdType"
});
},
});
</script>
<script type="text/html" data-template-name="azure_remove_user_from_app">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-auth"><i class="fa fa-cogs"></i> AzureAD Credentials</label>
<input type="text" id="node-input-auth" placeholder="auth">
</div>
<div class="form-row">
<label for="node-input-appObjectId">
<i class="fa fa-user"></i> App Object Id
</label>
<input type="text" id="node-input-appObjectId" placeholder="Enter the azure app object id">
<input type="hidden" id="node-input-appObjectIdType" />
</div>
<div class="form-row">
<label for="node-input-principalId">
<i class="fa fa-user"></i> principal Id
</label>
<input type="text" id="node-input-principalId" placeholder="Enter the principle id">
<input type="hidden" id="node-input-principalIdType" />
</div>
<div class="form-row">
<label for="node-input-appRoleAssignedToId">
<i class="fa fa-user"></i> App Role Id
</label>
<input type="text" id="node-input-appRoleAssignedToId" placeholder="Enter the app role id">
<input type="hidden" id="node-input-appRoleAssignedToIdType" />
</div>
</script>
<script type="text/html" data-help-name="azure_remove_user_from_app">
<p>Removes a user from a specific Azure application</p>
</script>