namespace Kreta.Naplo.Infrastructure { /// /// Global constants /// public static class Constants { /// /// The empty string /// public const string EmptyString = ""; /// /// Unknown institute /// public const string UnknownInstitute = "unknown_institute"; /// /// The secret log value /// public const string SecretLogValue = "***"; /// /// Minimum primary key value /// public const int MinimumPrimaryKeyValue = 1; /// /// Http /// public static class Http { /// /// Media type names /// public static class MediaTypeName { /// /// Application json type /// public const string ApplicationJson = "application/json"; } /// /// Headers /// public static class Headers { /// /// User agent /// public const string UserAgent = "User-Agent"; } } /// /// Service context parameters /// public static class ServiceContextParameters { /// /// The institute code. /// public const string InstituteCode = nameof(InstituteCode); /// /// The user identifier. /// public const string UserId = nameof(UserId); /// /// The tutelary identifier. /// public const string TutelaryId = nameof(TutelaryId); /// /// User roles /// public const string UserRoles = nameof(UserRoles); /// /// The base URL. /// public const string BaseUrl = nameof(BaseUrl); /// /// The API key. /// public const string ApiKey = nameof(ApiKey); /// /// The user agent. /// public const string UsertAgent = nameof(UsertAgent); } } }