oauth support skips authorization

This commit is contained in:
xiaomlove
2024-03-17 02:39:26 +08:00
parent 5ac5e8342d
commit 3e96d18b48
14 changed files with 222 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Laravel\Passport\Client;
class OauthClient extends Client
{
public function skipsAuthorization(): bool
{
return (bool)$this->skips_authorization;
}
}