eplace/src/utils/auth.js

7 lines
312 B
JavaScript
Raw Normal View History

2026-05-15 11:08:23 +02:00
// FIXME: This file should handle the authentication
// Functions may include:
// - getToken (exchanges the code for a token)
// - refreshToken (refreshes the token using the refresh_token)
// - authenticate (checks if the user is authenticated)
// - authedAPIRequest (makes an authenticated request to the API)