芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/vendor/laravel/passport/src/Bridge/AuthCodeRepository.php
$authCodeEntity->getIdentifier(), 'user_id' => $authCodeEntity->getUserIdentifier(), 'client_id' => $authCodeEntity->getClient()->getIdentifier(), 'scopes' => $this->formatScopesForStorage($authCodeEntity->getScopes()), 'revoked' => false, 'expires_at' => $authCodeEntity->getExpiryDateTime(), ]; Passport::authCode()->forceFill($attributes)->save(); } /** * {@inheritdoc} */ public function revokeAuthCode($codeId) { Passport::authCode()->where('id', $codeId)->update(['revoked' => true]); } /** * {@inheritdoc} */ public function isAuthCodeRevoked($codeId) { return Passport::authCode()->where('id', $codeId)->where('revoked', 1)->exists(); } }