Search Results for

    Show / Hide Table of Contents
    View Source

    Class HtmlHelperBackOfficeExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public static class HtmlHelperBackOfficeExtensions

    Methods

    View Source

    AngularValueExternalLoginInfoScriptAsync(IHtmlHelper, IBackOfficeExternalLoginProviders, BackOfficeExternalLoginProviderErrors)

    Used to render the script that will pass in the angular "externalLoginInfo" service/value on page load

    Declaration
    public static async Task<IHtmlContent> AngularValueExternalLoginInfoScriptAsync(this IHtmlHelper html, IBackOfficeExternalLoginProviders externalLogins, BackOfficeExternalLoginProviderErrors externalLoginErrors)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper html
    IBackOfficeExternalLoginProviders externalLogins
    BackOfficeExternalLoginProviderErrors externalLoginErrors
    Returns
    Type Description
    Task<Microsoft.AspNetCore.Html.IHtmlContent>
    View Source

    AngularValueResetPasswordCodeInfoScript(IHtmlHelper, Object)

    Used to render the script that will pass in the angular "resetPasswordCodeInfo" service/value on page load

    Declaration
    public static IHtmlContent AngularValueResetPasswordCodeInfoScript(this IHtmlHelper html, object val)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper html
    System.Object val
    Returns
    Type Description
    Microsoft.AspNetCore.Html.IHtmlContent
    View Source

    AngularValueTinyMceAssetsAsync(IHtmlHelper, IRuntimeMinifier)

    Declaration
    public static async Task<IHtmlContent> AngularValueTinyMceAssetsAsync(this IHtmlHelper html, IRuntimeMinifier runtimeMinifier)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper html
    IRuntimeMinifier runtimeMinifier
    Returns
    Type Description
    Task<Microsoft.AspNetCore.Html.IHtmlContent>
    View Source

    BareMinimumServerVariablesScriptAsync(IHtmlHelper, BackOfficeServerVariables)

    Outputs a script tag containing the bare minimum (non secure) server vars for use with the angular app

    Declaration
    public static async Task<IHtmlContent> BareMinimumServerVariablesScriptAsync(this IHtmlHelper html, BackOfficeServerVariables backOfficeServerVariables)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper html
    BackOfficeServerVariables backOfficeServerVariables
    Returns
    Type Description
    Task<Microsoft.AspNetCore.Html.IHtmlContent>
    Remarks

    These are the bare minimal server variables that are required for the application to start without being authenticated, we will load the rest of the server vars after the user is authenticated.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • AngularValueExternalLoginInfoScriptAsync(IHtmlHelper, IBackOfficeExternalLoginProviders, BackOfficeExternalLoginProviderErrors)
      • AngularValueResetPasswordCodeInfoScript(IHtmlHelper, Object)
      • AngularValueTinyMceAssetsAsync(IHtmlHelper, IRuntimeMinifier)
      • BareMinimumServerVariablesScriptAsync(IHtmlHelper, BackOfficeServerVariables)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX