protected invalidGrant ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed | ||
$e | League\OAuth2\Server\Exception\OAuthException | |
Результат | mixed |
protected function invalidGrant(OAuthException $e)
{
return Response::make(['errors' => ['status' => '400', 'code' => 'InvalidGrant', 'title' => 'Invalid Grant', 'detail' => $e->getMessage()]], 400);
}