* AB40660 - untangle the preview cookie from the auth cookie * Clean up * Allow anonymous to end preview sessions * Some refinements * update OpenApi.json * Fix enter preview test * correct tests to match new expectations of the preview cookie * sync preview tests with correct expectations of access level --------- Co-authored-by: Sven Geusens <sge@umbraco.dk> Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
8 lines
194 B
C#
8 lines
194 B
C#
namespace Umbraco.Cms.Core.Preview;
|
|
|
|
public interface IPreviewTokenGenerator
|
|
{
|
|
Task<Attempt<string?>> GenerateTokenAsync(Guid userKey);
|
|
Task<Attempt<Guid?>> VerifyAsync(string token);
|
|
}
|