summaryrefslogtreecommitdiff
path: root/internal/api/api.go
AgeCommit message (Collapse)Author
2024-05-24API Test: Mock Transport by passing it aroundjwijenbergh
2024-05-24API Connect: Move errors.New to varsJeroen Wijenbergh
2024-05-24API auth: Return if err is not invalid tokensJeroen Wijenbergh
E.g. if refreshing fails here with a 500 or something else
2024-05-24API: Remove unused field SetAuthorizeTimeJeroen Wijenbergh
2024-03-06API: Replace error wrapping from %v to %wjwijenbergh
Otherwise we cannot unwrap these
2024-03-01API: Implement a 10 minute well-known endpoint cachejwijenbergh
2024-02-28API: Remove unused apiURL in structjwijenbergh
2024-02-28API: Update to latest eduoauth-go for better fetching of well-knownjwijenbergh
2024-02-19API: Switch back to wireguard+tcp instead of wireguard+proxyjwijenbergh
2024-02-19API: Set accept header to application/x-wireguard+proxy-profilejwijenbergh
2024-02-19WireGuard: Latest proxyguard server API changesjwijenbergh
wireguard+proxy profile and ProxyEndpoint instead of TCPEndpoint as proxyguard now uses HTTP for the initial packet
2024-02-19All: Document everything to pass revive lintjwijenbergh
2024-02-19API: Include regular wireguard profile even when prefer TCP is truejwijenbergh
Otherwise breaks servers that only have wireguard support and we pass prefer tcp
2024-02-19Server: Refactor internal server package to use new state filejwijenbergh
This completely rewrites the internal server package. Some advantages: - Caches less - Uses a callback interface so that the client package does not get so convoluted - Introduce a new API package that only deals with the server API and uses github.com/jwijenbergh/eduoauth-go