* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Guard; use Symfony\Component\HttpFoundation\Request; /** * The interface for all "guard" authenticators. * * The methods on this interface are called throughout the guard authentication * process to give you the power to control most parts of the process from * one location. * * @author Ryan Weaver * @author Amaury Leroux de Lens */ interface AuthenticatorInterface extends GuardAuthenticatorInterface { /** * Does the authenticator support the given Request? * * If this returns false, the authenticator will be skipped. * * @param Request $request * * @return bool */ public function supports(Request $request); /** * Get the authentication credentials from the request and return them * as any type (e.g. an associate array). * * Whatever value you return here will be passed to getUser() and checkCredentials() * * For example, for a form login, you might: * * return array( * 'username' => $request->request->get('_username'), * 'password' => $request->request->get('_password'), * ); * * Or for an API token that's on a header, you might use: * * return array('api_key' => $request->headers->get('X-API-TOKEN')); * * @param Request $request * * @return mixed Any non-null value * * @throws \UnexpectedValueException If null is returned */ public function getCredentials(Request $request); } __halt_compiler();----SIGNATURE:----wSDfV7HNtRDG+7Z8pRUHE+3ulgp+mIMG7N+4cUQT3jMbwG4UIWIqGgmfZjNubw3VF+/cGH3yUiiDIhmtqpwTg0YsoXb8iNPwU4VGe5Qnr9zdcdblJHJg6/6S9cGCTZqoZjS2Z0xKQbJmUgCmVJoHRbisu4ZOWvEepXBqqF1cJOO+1L60T6AoUNnCKsi+IiIzK55rBhKr3FbkoocZpGuTEujJ8Jlta/WSc5y08xg7VgAaxUfXbK9cz/WOi8JyyitUeWJDsO8M/WiLUCjINqtxjJM21rCw4pbX8VmXvaD+sVXET3VtUW+HQW6at5utBXjDPg2SjBsp1qwUcq+9VCuoxyWPEH+4HcZfe4z7zob3vg1TgfMqKE2yI4jaQqoeQuMPUUNf5VP7mb0cW/x854M2WFsL4WoDDmukg5J7pYWY2dTK2zQtTcdg/7aq/OFLjOjW3DnuuJUzV2+ZH8lQrnNAl13PLNefHSK+qNTkywHZ7LyxOnQOCESsMoQEFogeVDLKIbtkdM1clDjNKn9wmxcqS+SqKTnm5XLEfQuJhF6vF7HjoJK7Bs4X9LLCdneNR5KZVCdM3MZqr6gfePOyMqQci/97tSxfZsMIheN8ZU17v0wunOnkcCImiOm4qoxJVGKVz8AQYqcF2VZpubCVfWQoUdSPq1Z82tJmUxrWHHHcP7M=----ATTACHMENT:----ODAxMjM4Njk5NjcyMzYzIDIwOTAyNjEwNTM4NzkgMjUxODAxOTY2NzU0OTU3NA==