Laravel8JWT和登录页面

6tqwzwtp  于 2021-09-29  发布在  Java
关注(0)|答案(0)|浏览(211)
public function login(Request $request) 
{
    $email = $request->email;
    $password = $request->password;

    $data = [
        'email' => $email, 
        'password' => $password, 
    ];

    // I want to create jwt token for the above code
}

我只想使用web.php路由为上述数据创建jwt令牌

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题