| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-02-19 | Util + OAuth: Delete internal OAuth implementation | jwijenbergh | |
| Preparing to move to github.com/jwijenbergh/eduoauth-go | |||
| 2023-09-25 | OAuth: Implement the Public() method for tokens | jwijenbergh | |
| 2023-09-25 | OAuth: Pass a context around | jwijenbergh | |
| 2023-04-18 | OAuth Token: Set previous refresh token if new refresh token is empty | jwijenbergh | |
| This is for 2.x servers that return an empty refresh token after refreshing | |||
| 2023-03-01 | Format: Run black and gofumpt | jwijenbergh | |
| 2023-02-28 | API + OAuth: Add some debug logging for tokens | jwijenbergh | |
| 2023-01-03 | Format: Run gofumpt | jwijenbergh | |
| 2022-12-21 | Exports + OAuth + Server: Forward tokens to getting a config | jwijenbergh | |
| 2022-12-21 | OAuth: Use a mutex to protect the token structure | jwijenbergh | |
| 2022-12-12 | OAuth: Minor style changes | jwijenbergh | |
| 2022-11-28 | Formatting: Run gofumpt -w | jwijenbergh | |
| 2022-11-28 | Refactor: Fix revive linter errors by deleting redundant prefixes | jwijenbergh | |
| 2022-11-28 | OAuth: Refactor Token getting and do not save them in the config | jwijenbergh | |
| This commit refactors getting the tokens into receiver methods. This means that functions do not have to call the cryptic "EnsureTokens" method. The receiver getter then already verifier whether or not the tokens could be obtained (and refreshes too). The downside is that some things are now private, so testing for invalid tokens needs to be done somewhere else. This needs another patch such that clients can save the tokens themselves using a keyring. | |||
