inveniosoftware/invenio — pull request #2432 by jirikuncar (2014-10-20 11:36:48+00:00)
Title: oauth2server: fix token expiration and refresh

* Sets access tokens to expire after a given time interval.

* Ensures only confidential clients can refresh an expired access token.

* Adds tests for token expiry to ensure correct behavior. (closes #2112)

Co-authored-by: Lars Holm Nielsen
Signed-off-by: Jiri Kuncar