Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

    MiddleTierAuthenticationBuilderExtensions.AddPasswordAuthentication(IMiddleTierAuthenticationBuilder, Action<MiddleTierPasswordAuthenticationOptions>) Method

    Enables standard authentication (with a login and password) in your application.

    Namespace: DevExpress.ExpressApp.Win.ApplicationBuilder

    Assembly: DevExpress.ExpressApp.Win.v25.1.dll

    NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

    Declaration

    public static IMiddleTierAuthenticationBuilder AddPasswordAuthentication(
        this IMiddleTierAuthenticationBuilder builder,
        Action<MiddleTierPasswordAuthenticationOptions> configureOptions = null
    )

    Parameters

    Name Type Description
    builder IMiddleTierAuthenticationBuilder

    Allows you to enable and configure the Security System in your application, and chain further configuration.

    Optional Parameters

    Name Type Default Description
    configureOptions Action<DevExpress.ExpressApp.ApplicationBuilder.MiddleTierPasswordAuthenticationOptions> null

    Options that you can use to configure standard authentication (with a login and password).

    Returns

    Type Description
    IMiddleTierAuthenticationBuilder

    Allows you to enable and configure the Security System in your application, and chain further configuration.

    See Also