A newer version of this page is available. Switch to the current version.

AuthenticationBase.SetLogonParameters(Object) Method

Initializes the Logon Parameters.

Namespace: DevExpress.ExpressApp.Security

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


public virtual void SetLogonParameters(
    object logonParameters


Name Type Description
logonParameters Object

The Logon Parameters object.


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