• File: SupportsBasicAuth.php
  • Full Path: /var/www/crm_set/application/vendor/illuminate/contracts/Auth/SupportsBasicAuth.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 635 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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 = []);
}