Blame view

public/vendor/illuminate/contracts/Auth/SupportsBasicAuth.php 635 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <?php
  
  namespace Illuminate\Contracts\Auth;
  
  interface SupportsBasicAuth
  {
      /**
       * Attempt to authenticate using HTTP Basic Auth.
       *
       * @param  string  $field
       * @param  array  $extraConditions
       * @return \Symfony\Component\HttpFoundation\Response|null
       */
      public function basic($field = 'email', $extraConditions = []);
  
      /**
       * Perform a stateless HTTP Basic login attempt.
       *
       * @param  string  $field
       * @param  array  $extraConditions
       * @return \Symfony\Component\HttpFoundation\Response|null
       */
      public function onceBasic($field = 'email', $extraConditions = []);
  }