/var/www/hkosl.com/nick/codeigniter/application/vendor/illuminate/contracts/Auth/StatefulGuard.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php

namespace Illuminate\Contracts\Auth;

interface 
StatefulGuard extends Guard
{
    
/**
     * Attempt to authenticate a user using the given credentials.
     *
     * @param  array  $credentials
     * @param  bool   $remember
     * @return bool
     */
    
public function attempt(array $credentials = [], $remember false);

    
/**
     * Log a user into the application without sessions or cookies.
     *
     * @param  array  $credentials
     * @return bool
     */
    
public function once(array $credentials = []);

    
/**
     * Log a user into the application.
     *
     * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
     * @param  bool  $remember
     * @return void
     */
    
public function login(Authenticatable $user$remember false);

    
/**
     * Log the given user ID into the application.
     *
     * @param  mixed  $id
     * @param  bool   $remember
     * @return \Illuminate\Contracts\Auth\Authenticatable
     */
    
public function loginUsingId($id$remember false);

    
/**
     * Log the given user ID into the application without sessions or cookies.
     *
     * @param  mixed  $id
     * @return bool
     */
    
public function onceUsingId($id);

    
/**
     * Determine if the user was authenticated via "remember me" cookie.
     *
     * @return bool
     */
    
public function viaRemember();

    
/**
     * Log the user out of the application.
     *
     * @return void
     */
    
public function logout();
}