Delicious PHP wrapper for https://doceboapi.docebosaas.com/api/docs
Ruby wrapper: https://github.com/huynhquancam/docebo_ruby
Docebo LMS eLearning Platform Integration: https://github.com/wp-plugins/docebo-lms-elearning-platform-integration
User transactions and Course transactions are completed with the Docboe numeric ID. All authentication transactions user the username, the login to the system using the email address.
$doceboId = phocebo::getdoceboId ( array ('email' => $email) );
phocebo::addUser( array ( 'email' => $email, 'firstName' => $firstName, 'lastName' => $lastName );
phocebo::enrollUserInCourse( 'doceboId' => $doceboId, 'courseCode' => $courseCode );
This is a pre-flighted request which requires the sender to fist send an HTTP OPTIONS request. The server checks this to know whether the call is coming from a trusted source.
As a parameter it added to the header of the request. This header is used to authenticate to the Docebo API.
$action = '/user/checkUsername';
$params = array ('userid', 'also_check_as_email' );
KEY = Docebo Public Key
SCRECT = Docebo Private Key
-
$cypher_sha = implode( ',', $params) . ',' . SECRET ;
-
$cypher_base64 = base64_encode ( KEY . ':' . cypher_sha] );
-
'X-Authorization: Docebo '. cypher_base64