Commit Graph

4 Commits

Author SHA1 Message Date
Daniel A. Wozniak
80651d3030
Fix linter 2019-09-03 20:47:10 +00:00
Wayne Werner
982ed3d793
Delete bad API token files
Under the following conditions and API token should be considered
invalid:

- The file is empty.
- We cannot deserialize the token from the file.
- The token exists but has no expiration date.
- The token exists but has expired.

All of these conditions necessitate deleting the token file. Otherwise
we should simply return an empty token.
2019-09-03 20:46:04 +00:00
Daniel A. Wozniak
0b28c6059b
Fix linter complaints 2019-09-03 16:59:31 +00:00
Daniel A. Wozniak
8e33343f67
Move tokens in place with an atomic operation 2019-09-02 00:03:27 +00:00