diff options
author | Tobias Schultze <webmaster@tubo-world.de> | 2015-12-15 03:03:25 +0100 |
---|---|---|
committer | Tobias Schultze <webmaster@tubo-world.de> | 2015-12-15 03:03:25 +0100 |
commit | 59d9a5becf9229364c874c92793e68ade4daccc9 (patch) | |
tree | 63057c98affaa67039faba87f390c64175aec677 | |
parent | 968a425bd37e6df4b64bc6b7e6950acd7048d907 (diff) | |
parent | b3b647719aca1f081db95bbbed9cf492b8a4d849 (diff) | |
download | symfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.zip symfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.tar.gz symfony-security-59d9a5becf9229364c874c92793e68ade4daccc9.tar.bz2 |
Merge branch '3.0'
-rw-r--r-- | Guard/GuardAuthenticatorInterface.php | 2 | ||||
-rw-r--r-- | Http/EntryPoint/AuthenticationEntryPointInterface.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Guard/GuardAuthenticatorInterface.php b/Guard/GuardAuthenticatorInterface.php index 6e62ae6..947594c 100644 --- a/Guard/GuardAuthenticatorInterface.php +++ b/Guard/GuardAuthenticatorInterface.php @@ -83,6 +83,8 @@ interface GuardAuthenticatorInterface extends AuthenticationEntryPointInterface * * @param mixed $credentials * @param UserInterface $user + * + * @return bool * * @throws AuthenticationException */ diff --git a/Http/EntryPoint/AuthenticationEntryPointInterface.php b/Http/EntryPoint/AuthenticationEntryPointInterface.php index df777f6..9bade0c 100644 --- a/Http/EntryPoint/AuthenticationEntryPointInterface.php +++ b/Http/EntryPoint/AuthenticationEntryPointInterface.php @@ -32,7 +32,7 @@ interface AuthenticationEntryPointInterface * * Examples: * A) For a form login, you might redirect to the login page - * return new Response('/login'); + * return new RedirectResponse('/login'); * B) For an API token authentication system, you return a 401 response * return new Response('Auth header required', 401); * |