using BS.Shared; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeWo.Service.Attributes { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, Inherited = true)] public class RequireApiAuthorizationAttribute : Attribute { public RequireApiAuthorizationAttribute() { } public WebSecretConfigSetting ApiKeyName { get; set; } = WebSecretConfigSetting.None; public IPAddressList IPAddressList { get; set; } = IPAddressList.None; public bool IgnoreTenant { get; set; } = false; } }