Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Auth;
4
 
5
interface SupportsBasicAuth
6
{
7
    /**
8
     * Attempt to authenticate using HTTP Basic Auth.
9
     *
10
     * @param  string  $field
11
     * @param  array  $extraConditions
12
     * @return \Symfony\Component\HttpFoundation\Response|null
13
     */
14
    public function basic($field = 'email', $extraConditions = []);
15
 
16
    /**
17
     * Perform a stateless HTTP Basic login attempt.
18
     *
19
     * @param  string  $field
20
     * @param  array  $extraConditions
21
     * @return \Symfony\Component\HttpFoundation\Response|null
22
     */
23
    public function onceBasic($field = 'email', $extraConditions = []);
24
}