Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPreviewTokenGenerator

    Namespace: Umbraco.Cms.Core.Preview
    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>>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GenerateTokenAsync(Guid)
      • VerifyAsync(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX