* * 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:----qb/MK029p2NcZVV3Ti/F8Ia+LRJWqsB3DE5kqtYlXn/EXubngZKk/LJar+tblnDGWlYMSGiirZC8T1BmJTIgHVacxzWNl31fiaNbuw8Fnfj56gXVvOjFcciI4HZ0nkRnSSwyKASukyKYJXyNUl67A2ic4tgwQ1t2Nh82XbgD6OPqk1/rScMb6bZs1QWHsbLmzIW2QsUEssG5zuRbdGEdBBWCX99FOsTMtcWjVW4DPk2MEtiIGiya9ihw9RD0JnM7+dhGR8IdLNJQDTEyfw2UI1Axx60sXfjtQsV/movCfKKXu6xXyZvs1QNQbhmu0JfORlqXREqtQvWgL3/jv6CNgN6+rqd0L4rBvlzB54qFLrL6h3aRJUyl/N60mcDJYIPzjX682ONJkQ2NTxik8tfHdcbELAsCZbdKSC5Jbv7lq3765cKsi3OEW+SrQt456zpCpAftacVSwKe7WOQYZf0BY0cTiZRTXrGt57CUHQY0MJ0VYkdztT9Tz9dacMKA2ElO9a3Zge1kztsBsWuj4b4nFpK8uxsVbSYFJEV2+TbuhkWcyn3R6YfhtWZqmcwO5jm++DYpEB3qZ5ePDz/CGh45xxs7jAHyfYsd5x8i250wmOFnji7pIcwX6TisKcSO6kxziecJXldrkSE9Uc0f/eknKtSD3NjWegsozKC1EFCkcA8=----ATTACHMENT:----Nzg2OTQ2NTMxNjgxNDA3MiA0NTg3OTU3MTEzNzg4NDk2IDQwNDk3OTAzODQwMTkyMjQ=