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