                 if let secret = json["client_secret"].string {
                     clientSecret = secret
                 }
+                if let url = json["token_swap_url"].string {
+                    tokenSwapUrl = url
+                }
+                if let url = json["token_refresh_url"].string {
+                    tokenRefreshUrl = url
+                }
             }
         }
     }

        auth.clientID               = clientId
        auth.requestedScopes        = scopes
        auth.redirectURL            = URL(string: "io.kumabook.musicfav.spotify-auth://callback")!
        auth.sessionUserDefaultsKey = "SpotifySession"
        shared.auth                 = auth
        let player                  = SPTAudioStreamingController.sharedInstance() as SPTAudioStreamingController

        SPTAuthUserFollowReadScope
    ]
    static var shared       = SpotifyAPIClient()
    static var clientId        = ""
    static var clientSecret    = ""
    static var tokenSwapUrl    = ""
    static var tokenRefreshUrl = ""
    public fileprivate(set) var auth: SPTAuth!
    var player: SPTAudioStreamingController!
    var authViewController: UIViewController?
