- 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)
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
import Connection from "./Connection";
|
|
import RefreshableConnection from "./RefreshableConnection";
|
|
|
|
export class ConnectionStore {
|
|
public static connections: Map<string, Connection | RefreshableConnection> =
|
|
new Map();
|
|
}
|