App\Exceptions\OAuthExceptionHandler::invalidGrant PHP Method

invalidGrant() protected method

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