/// <summary> /// Generates a secured and public API Key from a query parameters and an optional user token identifying the current user /// </summary> /// <param name="privateApiKey">Your private API Key</param> /// <param name="query">The query parameters applied to the query (used as security)</param> /// <param name="userToken">An optional token identifying the current user</param> /// <returns></returns> public string GenerateSecuredApiKey(String privateApiKey, Query query, String userToken = null) { return GenerateSecuredApiKey(privateApiKey, query.ToString(), userToken); }