If the request for an access token is valid, the authorization server needs to generate an access token and return these to the client, typically along with some additional properties about the authorization.
set_token(token, user = "", expires_in = NULL)
No return value.
The access token string as issued by the authorization server.
The username (optional).
The lifetime in seconds of the access token (optional).
Khaled Al-Shamaa, k.el-shamaa@cgiar.org