summaryrefslogtreecommitdiffstats
path: root/Http/Authentication
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Authentication')
-rw-r--r--Http/Authentication/AuthenticationFailureHandlerInterface.php11
-rw-r--r--Http/Authentication/AuthenticationSuccessHandlerInterface.php12
2 files changed, 23 insertions, 0 deletions
diff --git a/Http/Authentication/AuthenticationFailureHandlerInterface.php b/Http/Authentication/AuthenticationFailureHandlerInterface.php
new file mode 100644
index 0000000..4957edf
--- /dev/null
+++ b/Http/Authentication/AuthenticationFailureHandlerInterface.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace Symfony\Component\Security\Http\Authentication;
+
+use Symfony\Component\EventDispatcher\EventInterface;
+use Symfony\Component\HttpFoundation\Request;
+
+interface AuthenticationFailureHandlerInterface
+{
+ function onAuthenticationFailure(EventInterface $event, Request $request, \Exception $exception);
+} \ No newline at end of file
diff --git a/Http/Authentication/AuthenticationSuccessHandlerInterface.php b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
new file mode 100644
index 0000000..6efa309
--- /dev/null
+++ b/Http/Authentication/AuthenticationSuccessHandlerInterface.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace Symfony\Component\Security\Http\Authentication;
+
+use Symfony\Component\EventDispatcher\EventInterface;
+use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
+use Symfony\Component\HttpFoundation\Request;
+
+interface AuthenticationSuccessHandlerInterface
+{
+ function onAuthenticationSuccess(EventInterface $event, Request $request, TokenInterface $token);
+} \ No newline at end of file