/* Options: Date: 2024-12-01 03:43:00 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: AuthorizeUser.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Norkart.Api.Authorization.ServiceModel; namespace Norkart.Api.Authorization.ServiceModel { public partial class AuthorizeBaseResponse { public AuthorizeBaseResponse() { Settings = new List{}; } public virtual bool IsAuthorized { get; set; } public virtual List Settings { get; set; } public virtual int SuggestedStatusCode { get; set; } public virtual string SuggestedResponseMessage { get; set; } public virtual string Reason { get; set; } public virtual Guid? CustomerId { get; set; } } [Route("/authorizeuser/{Service}/{Profile}", "GET,POST")] public partial class AuthorizeUser : IReturn, IAuthorizeUser { [ApiMember(IsRequired=true)] public virtual string BearerToken { get; set; } [ApiMember(IsRequired=true, ParameterType="path")] public virtual string Profile { get; set; } [ApiMember(IsRequired=true, ParameterType="path")] public virtual string Service { get; set; } [ApiMember(Name="X-WAAPI-CONTEXT", ParameterType="header")] public virtual string CustomerContext { get; set; } } public partial class AuthorizeUserResponse : AuthorizeBaseResponse, IAuthorizeUserResponse { public virtual Guid? UserObjectId { get; set; } public virtual string UserTenant { get; set; } public virtual string UserTenantId { get; set; } } public partial interface IAuthorizeBaseResponse { bool IsAuthorized { get; set; } int SuggestedStatusCode { get; set; } string SuggestedResponseMessage { get; set; } string Reason { get; set; } Guid? CustomerId { get; set; } } public partial interface IAuthorizeUser { string BearerToken { get; set; } string Profile { get; set; } string Service { get; set; } } public partial interface IAuthorizeUserResponse : IAuthorizeBaseResponse { Guid? UserObjectId { get; set; } string UserTenant { get; set; } string UserTenantId { get; set; } } public partial class Setting { public virtual string Name { get; set; } public virtual string StringValue { get; set; } public virtual bool BooleanValue { get; set; } public virtual string DataType { get; set; } } }