📜  多身份验证护照 stackoverflow - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:11.928000             🧑  作者: Mango

代码示例1
'guards' => [
    'web' => [
        'driver' => 'session',
        'provider' => 'users',
    ],

    'api' => [
        'driver' => 'passport',
        'provider' => 'users',
     ],
     'admin-api' => [
        'driver' => 'passport',
        'provider' => 'admin',
    ],
     'admin' => [
        'driver' => 'session',
        'provider' => 'admin',
    ],
],