     public let endpoint : String
     public var basicUsername : String
     public var basicPassword : String
+    public var CSRFToken : String
     public var signRequestsBasic : Bool = false
+    public var signCSRFToken : Bool = false
     
     // MARK: - Main
     

    // MARK: - Typelias definitions

    public typealias completion = (success:Bool, response:Response<AnyObject, NSError>?, json:SwiftyJSON.JSON?, error:NSError!) -> Void
    public typealias paramType = [String: AnyObject]?

    // MARK: - Properties

            let base64String = credentialData.base64EncodedStringWithOptions(NSDataBase64EncodingOptions([]))
            
            headers["Authorization"] = "Basic \(base64String)"
        }
        if (diosManager.signCSRFToken == true) {
            headers["X-CSRF-Token"] = diosManager.CSRFToken
        }
        Alamofire.request(method, urlString, parameters: params, encoding:.JSON, headers:headers).validate().responseSwiftyJSON({ (request, response, json, error) in
            switch response!.result {
