IERXRestAuthenticationDelegate Interface Reference

Inherited by ERXUnsafeRestAuthenticationDelegate.

List of all members.

Public Member Functions

boolean authenticate (ERXRestContext context)


Detailed Description

IERXRestAuthenticationDelegate provides a hook for you to authenticate users for the purposes of a restful request. ERXRestContext provides access to the WOContext if you want to create a session and access users through the session. Alternatively, you can work without a session by using the ERXRestContext as a dictionary and simply attaching the current user to the context.

Author:
mschrag

Member Function Documentation

boolean authenticate ( ERXRestContext  context  ) 

Attempt to authenticate the user with the given context. The context provides access to things like the WOContext, which you can traverse to get the WORequest and access form variables if need be.

Parameters:
context the rest context
Returns:
whether or not authentication was successful

Implemented in ERXUnsafeRestAuthenticationDelegate.


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:28 2012 for Project Wonder by  doxygen 1.5.8