Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

jwt token return true


Edit config/auth.php
====================

return [

    'defaults' => [
        'guard' => 'api',
        'passwords' => 'users',
    ],

    'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],

        'api' => [
            'driver' => 'jwt',
            'provider' => 'users',
        ],
    ],
];
Source by github.com #
 
PREVIOUS NEXT
Tagged: #jwt #token #return #true
ADD COMMENT
Topic
Name
5+8 =