MiddleTierClientBuilder<TDbContext>.UsePasswordAuthentication(Action<IAuthenticationStandardLogonParameters>) Method
Configures the client to use authentication with login and password specified in a delegate.
Namespace: DevExpress.ExpressApp.ApplicationBuilder
Assembly: DevExpress.EntityFrameworkCore.Security.v25.2.dll
NuGet Package: DevExpress.ExpressApp.EFCore
Declaration
public MiddleTierClientBuilder<TDbContext> UsePasswordAuthentication(
Action<IAuthenticationStandardLogonParameters> populateLogonParameters
)
Parameters
| Name | Type | Description |
|---|---|---|
| populateLogonParameters | Action<DevExpress.ExpressApp.Security.IAuthenticationStandardLogonParameters> | A delegate invoked to obtain client authentication credentials. It should write the login and password to the delegate parameter that implements the |
Returns
| Type | Description |
|---|---|
| MiddleTierClientBuilder<TDbContext> | The builder that allows you to further configure the Middle Tier client. |
See Also