Finished implementing, now for the testing phase.
This commit is contained in:
@@ -18,7 +18,7 @@ namespace ehs
|
||||
}
|
||||
|
||||
Spotify::Spotify(Str_8 clientId, Str_8 secret, Str_8 redURI, Array<Str_8> scopes, const bool forceVerify)
|
||||
: client(AddrType::IPV4), clientId((Str_8 &&)clientId), secret((Str_8 &&)secret), redURI((Str_8 &&)redURI),
|
||||
: client(IP::V4), clientId((Str_8 &&)clientId), secret((Str_8 &&)secret), redURI((Str_8 &&)redURI),
|
||||
scopes((Array<Str_8> &&)scopes), forceVerify(forceVerify)
|
||||
{
|
||||
}
|
||||
@@ -41,7 +41,7 @@ namespace ehs
|
||||
"&response_type=code&show_dialog=" + (forceVerify ? "true" : "false") + "&scope=" +
|
||||
scopesFinal;
|
||||
|
||||
TCP server(AddrType::IPV4);
|
||||
TCP server(IP::V4);
|
||||
server.Initialize();
|
||||
server.Bind("", 65534);
|
||||
server.Listen();
|
||||
@@ -73,7 +73,7 @@ namespace ehs
|
||||
|
||||
server.Release();
|
||||
|
||||
SSL accounts(AddrType::IPV4);
|
||||
SSL accounts(IP::V4);
|
||||
accounts.Initialize();
|
||||
accounts.Connect("accounts.spotify.com", SSL::HTTPS_Port);
|
||||
|
||||
@@ -588,7 +588,7 @@ namespace ehs
|
||||
|
||||
bool Spotify::ReAuthorize()
|
||||
{
|
||||
SSL accounts(AddrType::IPV4);
|
||||
SSL accounts(IP::V4);
|
||||
accounts.Initialize();
|
||||
accounts.Connect("accounts.spotify.com", SSL::HTTPS_Port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user