AuthenticationStandard.Authenticate(IObjectSpace) Method
Returns an authenticated user.
Namespace: DevExpress.ExpressApp.Security
Assembly: DevExpress.ExpressApp.Security.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Security
Declaration
Parameters
Name | Type | Description |
---|---|---|
objectSpace | IObjectSpace | An IObjectSpace object which is an object space used to find a user by logon parameters. |
Returns
Type | Description |
---|---|
Object | An object which is the authenticated user. |
Remarks
This method attempts to find a user object by the AuthenticationStandard.LogonParameters value and to compare the user’s stored password with a password specified in logon parameters. On success, returns the found user object; otherwise - throws an authentication exception.
See Also