Blame view

node_modules/loopback/common/models/application.json 2.77 KB
f7563de62   Palak Handa   first commit
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
  {
    "name": "Application",
    "properties": {
      "id": {
        "type": "string",
        "id": true
      },
      "realm": {
        "type": "string"
      },
      "name": {
        "type": "string",
        "required": true
      },
      "description": "string",
      "icon": {
        "type": "string",
        "description": "The icon image url"
      },
  
      "owner": {
        "type": "string",
        "description": "The user id of the developer who registers the application"
      },
      "collaborators": {
        "type": ["string"],
        "description": "A list of users ids who have permissions to work on this app"
      },
  
      "email": "string",
      "emailVerified": "boolean",
  
      "url": {
        "type": "string",
        "description": "The application URL for OAuth 2.0"
      },
      "callbackUrls": {
        "type": ["string"],
        "description": "OAuth 2.0 code/token callback URLs"
      },
      "permissions": {
        "type": ["string"],
        "description": "A list of permissions required by the application"
      },
  
      "clientKey": "string",
      "javaScriptKey": "string",
      "restApiKey": "string",
      "windowsKey": "string",
      "masterKey": "string",
  
      "pushSettings": {
        "apns": {
          "production": {
            "type": "boolean",
            "description": [
              "Production or development mode. It denotes what default APNS",
              "servers to be used to send notifications.",
              "See API documentation for more details."
            ]
          },
  
          "certData": {
            "type": "string",
            "description": "The certificate data loaded from the cert.pem file"
          },
          "keyData": {
            "type": "string",
            "description": "The key data loaded from the key.pem file"
          },
  
          "pushOptions": {
            "type": {
              "gateway": "string",
              "port": "number"
            }
          },
  
          "feedbackOptions": {
            "type": {
              "gateway": "string",
              "port": "number",
              "batchFeedback": "boolean",
              "interval": "number"
            }
          }
        },
  
        "gcm": {
          "serverApiKey": "string"
        }
      },
  
      "authenticationEnabled": {
        "type": "boolean",
        "default": true
      },
      "anonymousAllowed": {
        "type": "boolean",
        "default": true
      },
      "authenticationSchemes": [
        {
          "scheme": {
            "type": "string",
            "description": "See the API docs for the list of supported values."
          },
          "credential": {
            "type": "object",
            "description": "Scheme-specific credentials"
          }
        }
      ],
  
      "status": {
        "type": "string",
        "default": "sandbox",
        "description": "Status of the application, production/sandbox/disabled"
      },
  
      "created": "date",
      "modified": "date"
    }
  }