using System;
using Microsoft.Owin.Security;
using Umbraco.Core;
namespace Umbraco.Web.Security
{
///
/// This is used so that we can retrieve the auth ticket protector from an IOwinContext
///
internal class UmbracoAuthTicketDataProtector : DisposableObjectSlim
{
public UmbracoAuthTicketDataProtector(ISecureDataFormat protector)
{
Protector = protector ?? throw new ArgumentNullException(nameof(protector));
}
public ISecureDataFormat Protector { get; }
}
}