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.
Arguments
- token
The access token string as issued by the authorization server.
- user
The username (optional).
- expires_in
The lifetime in seconds of the access token (optional).
Author
Khaled Al-Shamaa, k.el-shamaa@cgiar.org