Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeExternalLoginProviderErrorMiddleware

    Used to handle errors registered by external login providers

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.BackOffice.Middleware
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class BackOfficeExternalLoginProviderErrorMiddleware : IMiddleware
    Remarks

    When an external login provider registers an error with during the OAuth process, this middleware will detect that, store the errors into cookie data and redirect to the back office login so we can read the errors back out.

    Methods

    View Source

    InvokeAsync(HttpContext, RequestDelegate)

    Declaration
    public async Task InvokeAsync(HttpContext context, RequestDelegate next)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Http.HttpContext context
    Microsoft.AspNetCore.Http.RequestDelegate next
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX