RESTfulAPI_TokenAuthenticator::getOwner
Returns the DataObject related to the token that sent the authenticated request
Signature
public function getOwner(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest- HTTP API request
Returns
- null|DataObject
- null if failed or the DataObject token owner related to the request