Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created February 9, 2023 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/0598897735cc61f0ec0e06428c41dad3 to your computer and use it in GitHub Desktop.
Save trnktms/0598897735cc61f0ec0e06428c41dad3 to your computer and use it in GitHub Desktop.
namespace Feature.Providers.ItemAccessibility
{
public class CustomAuthorizationProvider : BucketAuthorizationProvider
{
[Obsolete]
public CustomAuthorizationProvider() : base()
{
ItemHelper = (ItemAuthorizationHelper)ServiceLocator.ServiceProvider.GetService(typeof(ItemAuthorizationHelper));
}
public CustomAuthorizationProvider(SqlServerDataApi api) : base(api)
{
ItemHelper = (ItemAuthorizationHelper)ServiceLocator.ServiceProvider.GetService(typeof(ItemAuthorizationHelper));
}
protected sealed override ItemAuthorizationHelper ItemHelper { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment