text: /*
   * Copyright (C) 2019 HERE Europe B.V.
   *
   * 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.
   *
   * SPDX-License-Identifier: Apache-2.0
   * License-Filename: LICENSE
   */
  
  #pragma once
  
  #include <string>
  
  namespace olp {
  namespace authentication {
  class Constants {
   public:
    // Error strings
    static const std::string ERROR_HTTP_NO_CONTENT;
    static const std::string ERROR_HTTP_NOT_FOUND;
    static const std::string ERROR_HTTP_SERVICE_UNAVAILABLE;
  
    static const unsigned int INVALID_DATA_ERROR_CODE;
  
    // JSON strings
    static const char* ACCESS_TOKEN;
    static const char* EXPIRES_IN;
    static const char* REFRESH_TOKEN;
  
    // introspect app strings
    static const char* CLIENT_ID;
    static const char* NAME;
    static const char* DESCRIPTION;
    static const char* REDIRECT_URIS;
    static const char* ALLOWED_SCOPES;
    static const char* TOKEN_ENDPOINT_AUTH_METHOD;
    static const char* TOKEN_ENDPOINT_AUTH_METHOD_REASON;
    static const char* DOB_REQUIRED;
    static const char* TOKEN_DURATION;
    static const char* REFERRERS;
    static const char* STATUS;
    static const char* APP_CODE_ENABLED;
    static const char* CREATED_TIME;
    static const char* REALM;
    static const char* TYPE;
    static const char* RESPONSE_TYPES;
    static const char* TIER;
    static const char* HRN;
    static const char* MESSAGE;
  
    // decision api strings
    static const char* ERROR_CODE;
    static const char* IDENTITY;
    static const char* USER_ID;
    static const char* DECISION;
    static const char* ACTION;
    static const char* RESOURCE;
    static const char* PERMISSIONS;
    static const char* DIAGNOSTICS;
  };
  
  }  // namespace authentication
  }  // namespace olp
  