suth / laravel-sift Goto Github PK
View Code? Open in Web Editor NEWA Laravel 5 package for Sift Science. Still a work in progress.
License: MIT License
A Laravel 5 package for Sift Science. Still a work in progress.
License: MIT License
The config file should determine if (and possibly which) auth events should be tracked by default.
I'd like to implement an easy way to queue requests to the SiftClient class. Laravel makes queuing easy but it might be even better to have something like a shouldQueue method.
The RecordLoginSuccess
and RecordLoginFailure
listeners don't have access to the session when using async queues, so they fail.
Hi there,
When user is trying to login with incorrect credentials the package is observing this with Suth\LaravelSift\Listeners\RecordLoginFailure
But $sift->getUserId($event->user)
is causes an exception:
Call to a member function getAuthIdentifier() on null
in SiftScience.php (line 44)
This is because user is not authenticated at the point and $event->user == null
Please fix
Right now the Sift user ID the package uses for tracking purposes is the user's email address. There should be a way to customize this behavior.
I'm just wondering, is there any reason that the project is not using the 2.* SiftScience library? Is there any incompatibility that you may be aware of?
Thank you very much for your time and for the project.
Jan.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.