Started on the CredentialsManager
Merge branch 'master' of github.com:damiankil1999/DLauncher
Started on the authoritation manager
Implemented /refresh
Extracted interface from CredentialsManager & made the connection to mojang servers more generalized
Added AuthorizationException & subclasses of it
Added missing Content-Type: application/json
Added support for the 204 HTTP response + reformatted parts of the file
Fixed makeRequest connecting to the wrong URL
Added parameter ignore errors to makeRequest
Moved actions on auth tokens to the main credentials class for better management
Renamed variables to give the variables the same name as inside launcher_profiles.json from vanila
Implemented removeInvalidAccessTokens
added .invalidate
Implemented ValidateAndRefreshTokens
Implemented addAccessToken
Implemented save()
Fixed formatting errors
Fixed formatting mistake in twitchAccessToken
Writer wasn't using the correct encoding, this commit fixes this problem