Colymba\RESTfulAPI\Authenticators\TokenAuthenticator::login
Login a user into the Framework and generates API token Only works if the token owner is a Member
Signature
public function login(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest- HTTP request containing 'email' & 'pwd' vars
Returns
- array
- login result with token