PHP Classes

File: src/config/config.php

Recommend this page to a friend!
  Classes of Wedmak   PHP Artisan Auth Laravel 5   src/config/config.php   Download  
File: src/config/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Artisan Auth Laravel 5
Laravel service provider to track visitors
Author: By
Last change:
Date: 6 years ago
Size: 1,395 bytes
 

Contents

Class file image Download
<?php
/**
 * This file is part of iWedmak\UrlAuth,
 * urlauth for Laravel.
 *
 * @license MIT
 * @package iWedmak\UrlAuth
 */
return [
   
/*
    |--------------------------------------------------------------------------
    | UrlAuth Table
    |--------------------------------------------------------------------------
    |
    | Table to use
    |
    */
   
'table' => 'urlauth',
   
/*
    |--------------------------------------------------------------------------
    | UrlAuth lifetime
    |--------------------------------------------------------------------------
    |
    | lifetime period in hours for url to work
    |
    */
   
'lifetime' => 72,
   
/*
    |--------------------------------------------------------------------------
    | UrlAuth User Model
    |--------------------------------------------------------------------------
    |
    | Which laravel model to use as user model, default \App\User
    |
    */
   
'user_model' => '\App\User',
   
/*
    |--------------------------------------------------------------------------
    | UrlAuth exception
    |--------------------------------------------------------------------------
    |
    | Which exception to trow if token not found or lifetime is over, default '\Illuminate\Auth\AuthenticationException' so user gets login page
    |
    */
   
'exception' => '\Illuminate\Auth\AuthenticationException',
];