Skip to contents

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.

Usage

set_token(token, user = "", expires_in = NULL)

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).

Value

No return value.

Author

Khaled Al-Shamaa, k.el-shamaa@cgiar.org