.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

AuthenticationBase.ClearSecuredLogonParameters() Method

Resets values exposed by the Logon Parameters object that should not be accessible after logon (e.g., password).

Namespace: DevExpress.ExpressApp.Security

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

Declaration

public virtual void ClearSecuredLogonParameters()

Remarks

The logon parameters specified in the Logon Window can be accessed via the SecuritySystem.LogonParameters property. You can clear the logon parameters, so they are not accessible in the application. For instance, a password can be hidden. For this purpose, clear these logon parameters when overriding the ClearSecuredLogonParameters method, as it is demonstrated in the How to: Use Custom Logon Parameters and Authentication topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClearSecuredLogonParameters() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also