View Source
Interface IPreviewTokenGenerator
Assembly: Umbraco.Core.dll
Syntax
public interface IPreviewTokenGenerator
Methods
View Source
GenerateTokenAsync(Guid)
Declaration
Task<Attempt<string>> GenerateTokenAsync(Guid userKey)
Parameters
Type |
Name |
Description |
Guid |
userKey |
|
Returns
Type |
Description |
Task<Attempt<System.String>> |
|
View Source
VerifyAsync(String)
Declaration
Task<Attempt<Guid?>> VerifyAsync(string token)
Parameters
Type |
Name |
Description |
System.String |
token |
|
Returns
Type |
Description |
Task<Attempt<System.Nullable<Guid>>> |
|