Sirikata
|
#include <NullAuthenticator.hpp>
Public Member Functions | |
NullAuthenticator (SpaceContext *ctx) | |
virtual | ~NullAuthenticator () |
virtual void | authenticate (const UUID &obj_id, MemoryReference auth, Callback cb) |
Try to authenticate a user given the requested object ID and associated authentication information. | |
Private Attributes | |
SpaceContext * | mContext |
Sirikata::NullAuthenticator::NullAuthenticator | ( | SpaceContext * | ctx | ) |
References mContext.
virtual Sirikata::NullAuthenticator::~NullAuthenticator | ( | ) | [inline, virtual] |
void Sirikata::NullAuthenticator::authenticate | ( | const UUID & | obj_id, |
MemoryReference | auth, | ||
Callback | cb | ||
) | [virtual] |
Try to authenticate a user given the requested object ID and associated authentication information.
The callback is invoked to provide the result, including failure due to timeout.
Implements Sirikata::Authenticator.
References Sirikata::Context::mainStrand, mContext, and Sirikata::Network::IOStrand::post().
Referenced by authenticate(), and NullAuthenticator().