/* Options: Date: 2024-12-01 03:40:59 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: AuthorizeUserFast.* //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 AuthorizeFastBaseResponse { public AuthorizeFastBaseResponse() { Settings = new Dictionary{}; } public virtual bool IsAuthorized { get; set; } public virtual Dictionary 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("/authorizeuserfast/{Service}/{Profile}", "POST")] public partial class AuthorizeUserFast : IReturn, IAuthorizeUser { public virtual string BearerToken { get; set; } public virtual string CustomerContext { get; set; } [ApiMember(ExcludeInSchema=true, IsRequired=true, ParameterType="path")] public virtual string Profile { get; set; } [ApiMember(ExcludeInSchema=true, IsRequired=true, ParameterType="path")] public virtual string Service { get; set; } } public partial class AuthorizeUserFastResponse : AuthorizeFastBaseResponse, 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; } } }