Files
BeWoPlaner/Service/Attributes/RequireApiAuthorizationAttribute.cs
Rene Evertz 78360c91c8 Refactor: Attribute
Weniger Unklarheit bzgl Abfragen bei jeweiligen Service Endpunkten
2025-06-17 15:46:04 +02:00

23 lines
591 B
C#

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;
}
}