Files
Umbraco-CMS/src/Umbraco.Core/IBackofficeSecurityFactory.cs
Bjarke Berg 96facc4d35 Netcore: Introduce BackofficeSecurityAccessor (#8871)
* Introduced IWebSecurityAccessor

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Fixed tests

Signed-off-by: Bjarke Berg <mail@bergmania.dk>

* Renamed WebSecurity to BackofficeSecurity and all related names

* Fixes typos

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-09-22 10:01:00 +02:00

16 lines
392 B
C#

using Umbraco.Web.Security;
namespace Umbraco.Core
{
/// <summary>
/// Creates and manages <see cref="IBackofficeSecurity"/> instances.
/// </summary>
public interface IBackofficeSecurityFactory
{
/// <summary>
/// Ensures that a current <see cref="IBackofficeSecurity"/> exists.
/// </summary>
void EnsureBackofficeSecurity();
}
}