AuthenticationStandard.Authenticate(IObjectSpace) Method

Returns an authenticated user.

Namespace: DevExpress.ExpressApp.Security

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

Syntax

public override object Authenticate(
    IObjectSpace objectSpace
)

Parameters

Type Name Description
IObjectSpace objectSpace

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.

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.