Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AuthenticationBase.SetLogonParameters(Object) Method

Initializes the Logon Parameters.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v24.2.dll

#Declaration

public virtual void SetLogonParameters(
    object logonParameters
)

#Parameters

Name Type Description
logonParameters Object

The Logon Parameters object.

#Remarks

In the AuthenticationBase class, the SetLogonParameters method does nothing. In the client-server security configuration with custom logon parameters, it is required to override this method in the following manner:

public override void SetLogonParameters(object logonParameters) {
     this.logonParameters = (CustomLogonParameters)logonParameters;
}

Here, logonParameters is a private value holder of the AuthenticationBase.LogonParameters property, and CustomLogonParameters is a type of your custom Logon Parameters object.

See Also