         var urlRequest = URLRequest(url: buildURL(for: endpoint, withParameters: parameters))
         urlRequest.httpMethod = method.rawValue
 
-        self.urlSession.dataTask(with: urlRequest) { (data, _, error) in
+        urlSession.dataTask(with: urlRequest) { (data, _, error) in
             if let data = data {
                 DispatchQueue.global(qos: .utility).async {
                     do {


        var items = [URLQueryItem]()

        let accessToken = self.keychain.get("accessToken")
        items.append(URLQueryItem(name: "access_token", value: accessToken ?? ""))

        parameters?.forEach({ parameter in


    @discardableResult
    public func logout() -> Bool {
        return keychain.delete("accessToken")
    }

    // MARK: -
