By Dyami on Thursday, 02 April 2015
Likes 0
Views 3.9K
Votes 0
Hi there,

So I am trying to Create an API key for user from code. Was wondering if you had any advice.

currently I am logging the user on with

$credentials = array (
'username' => $username,
'password' => $password
);

$options = array();
$auth = & JAuthentication::getInstance();
$response = $auth->authenticate($credentials, $options);

not sure where in com_api the key creation takes place but was wondering if you off hand knew where I should start to look.
View Full Post