/*
 * Copyright 2014 Open mHealth
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.openmhealth.dsu.configuration;

/**
 * An interface containing shared properties for OAuth2 configurations.
 *
 * @author Emerson Farrugia
 */
public interface OAuth2Properties {

    public static final String CLIENT_ROLE = "ROLE_CLIENT";
    public static final String END_USER_ROLE = "ROLE_END_USER";
    public static final String DATA_POINT_RESOURCE_ID = "dataPoint";
    public static final String DATA_POINT_READ_SCOPE = "read";
    public static final String DATA_POINT_WRITE_SCOPE = "write";
    public static final String DATA_POINT_DELETE_SCOPE = "delete";
}

@@ -1035,16 +1035,28 @@
  = %22read
+_data_points
 %22;%0A    p
@@ -1112,16 +1112,28 @@
 = %22write
+_data_points
 %22;%0A    p
@@ -1191,13 +1191,25 @@
  %22delete
+_data_points
 %22;%0A%7D%0A

Clarify scope names.