![]() Optional, a function that takes a $request and $response and return a string for sessionId. Optional, a function that takes a $request and $response and return a string for companyId. Moesif automatically obtains end userId via $request->user(), In case you use a non standard way of injecting user into $request or want to override userId, you can do so with identifyUserId. Optional, a function that takes a $request and $response and return a string for userId. You can define any of the following hooks: identifyUserId Set the path to this class using the configClass option. Return Configuration classīecause configuration hooks and functions cannot be placed in the config/moesif.php file, these reside in a PHP class that you create. ![]() The class can reside in any namespace, as long as the full namespace is provided. Optional, a string for the full path (including namespaces) to a class containing additional functions. Optional, a string to specify an API Version such as 1.0.1, allowing easier filters. Optional, Default true, Set to false to remove logging request and response body to Moesif. Optional, If true, will print debug messages using Illuminate\Support\Facades\Log logBody However, this requires your PHP environment to not have exec disabled via disable_functions. For the best performance, the SDK forks a process to send events by default. Optional, If true, this will disable forking. Required, a string that identifies your application. You can define Moesif configuration options in the config/moesif.php file. To support Laravel configuration caching, some configuration options have moved into a separate config class for v2. Into the Moesif Portal, click on the top right menu,įor other configuration options, see below. You can always find your Moesif Application Id at any time by logging Your Moesif Application Id can be found in the Moesif Portal.Īfter signing up for a Moesif account, your Moesif Application Id will be displayed during the onboarding steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |