|
Refreshable connections, refactoring, access-token endpoint
- Aded /users/@me/connections/:connection_name/:connection_id/access-token - Replaced `access_token` property on ConnectedAccount with `token_data` object for refreshing tokens - Made a common interface for connection things like ComonOAuthTokenResponse - Added `RefreshableConnection` class - Added token refresh to Spotify connection (disabled) |
|---|
|
|
| src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts 0 → 100644 |
|---|
| src/api/routes/users/@me/connections/index.ts |
|---|
| src/connections/BattleNet/index.ts |
|---|
| src/connections/Discord/index.ts |
|---|
| src/connections/EpicGames/index.ts |
|---|
| src/connections/Facebook/index.ts |
|---|
| src/connections/GitHub/index.ts |
|---|
| src/connections/Reddit/index.ts |
|---|
| src/connections/Spotify/index.ts |
|---|
| src/util/connections/Connection.ts |
|---|
| src/util/connections/ConnectionStore.ts |
|---|
| src/util/connections/RefreshableConnection.ts 0 → 100644 |
|---|
| src/util/connections/index.ts |
|---|
| src/util/dtos/ConnectedAccountDTO.ts |
|---|
| src/util/entities/ConnectedAccount.ts |
|---|
| src/util/interfaces/ConnectedAccount.ts 0 → 100644 |
|---|
| src/util/interfaces/index.ts |
|---|
| src/util/schemas/ConnectedAccountSchema.ts |
|---|