Imported Upstream version 1.2.0
[platform/upstream/iotivity.git] / cloud / interface / src / main / java / org / iotivity / cloud / ciserver / Constants.java
1 /*
2  * //******************************************************************
3  * //
4  * // Copyright 2016 Samsung Electronics All Rights Reserved.
5  * //
6  * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7  * //
8  * // Licensed under the Apache License, Version 2.0 (the "License");
9  * // you may not use this file except in compliance with the License.
10  * // You may obtain a copy of the License at
11  * //
12  * //      http://www.apache.org/licenses/LICENSE-2.0
13  * //
14  * // Unless required by applicable law or agreed to in writing, software
15  * // distributed under the License is distributed on an "AS IS" BASIS,
16  * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * // See the License for the specific language governing permissions and
18  * // limitations under the License.
19  * //
20  * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21  */
22 package org.iotivity.cloud.ciserver;
23
24 import org.iotivity.cloud.base.OICConstants;
25
26 public class Constants extends OICConstants {
27
28     public static final int    MIN_TO_LIVE         = 10;
29
30     public static final String USER_ID             = "uid";
31     public static final String DEVICE_ID           = "di";
32     public static final String PRESENCE_STATE      = "state";
33
34     public static final String REQ_LOGIN           = "login";
35
36     public static final String ACCESS_TOKEN        = "accesstoken";
37     public static final String REFRESH_TOKEN       = "refreshtoken";
38     public static final String AUTH_CODE           = "authcode";
39     public static final String AUTH_PROVIDER       = "authprovider";
40     public static final String EXPIRES_IN          = "expiresin";
41
42     public static final String REQ_GROUP_MASTER_ID = "gmid";
43     public static final String REQ_MEMBER_ID       = "mid";
44     public static final String REQ_MEMBER_LIST     = "midlist";
45     public static final String REQ_DEVICE_ID       = "di";
46     public static final String REQ_DEVICE_LIST     = "dilist";
47     public static final String REQ_INVITE          = "invite";
48     public static final String REQ_PING_ARRAY      = "inarray";
49     public static final String REQ_PING            = "in";
50
51     public static final String REQ_LINKS           = "links";
52     public static final String REQ_HREF            = "href";
53     public static final String REQ_CRL             = "crl";
54 }