Returns a link to access an organization portal bypassing any other login step.
Request
- HTTP Verb: GET
- URI: /user/{id}/authentication
Query Parameters
- id: user identifier. It could be either user id or user email.
Response Properties
accessLink | link that may be used to access the portal |
---|---|
token | hash that performs the authentication |
expiration | time limit for the authentication token. After that time the token becomes invalid |
This endpoint is also used to obtain direct authenticated links to E-learning items. See E-Learning - Link to e-learning.
Request example
$API->getUserAuthentication('adrian.perez@wcea.education');
Output Example
array( "accessLink" => "http://dmc.wcea.education/auth?login_token=feb815ad2906bce7d85d38bdf8a3928f", "token" => "feb815ad2906bce7d85d38bdf8a3928f", "expiration" => "2013-11-21 14:42:43" )