OnAuthenticate Method

MCManager API

Gets called on a authenication request. This method should check sessions or simmilar to verify that the user has access to the backend. This method should return true if the current request is authenicated or false if it's not.

Namespace:  Moxiecode.Manager
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public virtual bool OnAuthenticate(
	ManagerEngine man
)
Visual Basic (Declaration)
Public Overridable Function OnAuthenticate ( _
	man As ManagerEngine _
) As Boolean
Visual C++
public:
virtual bool OnAuthenticate(
	ManagerEngine^ man
)

Parameters

man
Type: Moxiecode.Manager..::.ManagerEngine
ManagerEngine reference that the plugin is assigned to.

Return Value

true/false if the user is authenticated

Implements

IPlugin..::.OnAuthenticate(ManagerEngine)

See Also