authserver/testCAS/config/auth.php
changeset 0 1afc9d2ab94d
equal deleted inserted replaced
-1:000000000000 0:1afc9d2ab94d
       
     1 <?php
       
     2 
       
     3 return [
       
     4 
       
     5     /*
       
     6     |--------------------------------------------------------------------------
       
     7     | Default Authentication Driver
       
     8     |--------------------------------------------------------------------------
       
     9     |
       
    10     | This option controls the authentication driver that will be utilized.
       
    11     | This driver manages the retrieval and authentication of the users
       
    12     | attempting to get access to protected areas of your application.
       
    13     |
       
    14     | Supported: "database", "eloquent"
       
    15     |
       
    16     */
       
    17 
       
    18     'driver' => 'eloquent',
       
    19 
       
    20     /*
       
    21     |--------------------------------------------------------------------------
       
    22     | Authentication Model
       
    23     |--------------------------------------------------------------------------
       
    24     |
       
    25     | When using the "Eloquent" authentication driver, we need to know which
       
    26     | Eloquent model should be used to retrieve your users. Of course, it
       
    27     | is often just the "User" model but you may use whatever you like.
       
    28     |
       
    29     */
       
    30 
       
    31     'model' => 'TestCAS\User',
       
    32 
       
    33     /*
       
    34     |--------------------------------------------------------------------------
       
    35     | Authentication Table
       
    36     |--------------------------------------------------------------------------
       
    37     |
       
    38     | When using the "Database" authentication driver, we need to know which
       
    39     | table should be used to retrieve your users. We have chosen a basic
       
    40     | default value but you may easily change it to any table you like.
       
    41     |
       
    42     */
       
    43 
       
    44     'table' => 'users',
       
    45 
       
    46     /*
       
    47     |--------------------------------------------------------------------------
       
    48     | Password Reset Settings
       
    49     |--------------------------------------------------------------------------
       
    50     |
       
    51     | Here you may set the options for resetting passwords including the view
       
    52     | that is your password reset e-mail. You can also set the name of the
       
    53     | table that maintains all of the reset tokens for your application.
       
    54     |
       
    55     | The expire time is the number of minutes that the reset token should be
       
    56     | considered valid. This security feature keeps tokens short-lived so
       
    57     | they have less time to be guessed. You may change this as needed.
       
    58     |
       
    59     */
       
    60 
       
    61     'password' => [
       
    62         'email' => 'emails.password',
       
    63         'table' => 'password_resets',
       
    64         'expire' => 60,
       
    65     ],
       
    66 
       
    67 ];