App\Exceptions\OAuthExceptionHandler::invalidClient PHP Méthode

invalidClient() protected méthode

protected invalidClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
Résultat mixed
    protected function invalidClient(OAuthException $e)
    {
        return Response::make(['errors' => ['status' => '401', 'code' => 'InvalidClient', 'title' => 'Invalid Client', 'detail' => 'The client requesting the information is not registered in the API']], 401);
    }