7 lines
312 B
JavaScript
7 lines
312 B
JavaScript
|
|
// 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)
|