Right now, if no access token exists and a method of ConcourseAPI is called that requires it it returns an Err.
We must make use of the expires_in field of the Token struct. When that duration has passed we must first renew the token and then proceed with the request.
Right now, if no access token exists and a method of ConcourseAPI is called that requires it it returns an
Err
. We must make use of theexpires_in
field of theToken
struct. When that duration has passed we must first renew the token and then proceed with the request.