mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Update all Composer dependencies.
This commit is contained in:
parent
05c0f46321
commit
cee0056f2f
19980 changed files with 1935405 additions and 1845668 deletions
85
composer.lock
generated
85
composer.lock
generated
|
@ -119,16 +119,16 @@
|
|||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"version": "3.222.17",
|
||||
"version": "3.222.18",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||
"reference": "dfcaf44f64be4f844b44515f31d9f6d9293244a4"
|
||||
"reference": "223ca25ed10b4d4a3b1e986795b5aa86f3c04466"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/dfcaf44f64be4f844b44515f31d9f6d9293244a4",
|
||||
"reference": "dfcaf44f64be4f844b44515f31d9f6d9293244a4",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/223ca25ed10b4d4a3b1e986795b5aa86f3c04466",
|
||||
"reference": "223ca25ed10b4d4a3b1e986795b5aa86f3c04466",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -204,9 +204,9 @@
|
|||
"support": {
|
||||
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.222.17"
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.222.18"
|
||||
},
|
||||
"time": "2022-05-20T18:23:52+00:00"
|
||||
"time": "2022-05-23T18:16:59+00:00"
|
||||
},
|
||||
{
|
||||
"name": "cboden/ratchet",
|
||||
|
@ -320,16 +320,16 @@
|
|||
},
|
||||
{
|
||||
"name": "composer/ca-bundle",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/ca-bundle.git",
|
||||
"reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b"
|
||||
"reference": "fd5dd441932a7e10ca6e5b490e272d34c8430640"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b",
|
||||
"reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b",
|
||||
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/fd5dd441932a7e10ca6e5b490e272d34c8430640",
|
||||
"reference": "fd5dd441932a7e10ca6e5b490e272d34c8430640",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -376,7 +376,7 @@
|
|||
"support": {
|
||||
"irc": "irc://irc.freenode.org/composer",
|
||||
"issues": "https://github.com/composer/ca-bundle/issues",
|
||||
"source": "https://github.com/composer/ca-bundle/tree/1.3.1"
|
||||
"source": "https://github.com/composer/ca-bundle/tree/1.3.2"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -392,7 +392,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2021-10-28T20:44:15+00:00"
|
||||
"time": "2022-05-24T11:56:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "emojione/assets",
|
||||
|
@ -1540,16 +1540,16 @@
|
|||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "2.57.0",
|
||||
"version": "2.58.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78"
|
||||
"reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78",
|
||||
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055",
|
||||
"reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1567,7 +1567,8 @@
|
|||
"phpmd/phpmd": "^2.9",
|
||||
"phpstan/extension-installer": "^1.0",
|
||||
"phpstan/phpstan": "^0.12.54 || ^1.0",
|
||||
"phpunit/phpunit": "^7.5.20 || ^8.5.14",
|
||||
"phpunit/php-file-iterator": "^2.0.5",
|
||||
"phpunit/phpunit": "^7.5.20 || ^8.5.23",
|
||||
"squizlabs/php_codesniffer": "^3.4"
|
||||
},
|
||||
"bin": [
|
||||
|
@ -1632,20 +1633,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-02-13T18:13:33+00:00"
|
||||
"time": "2022-04-25T19:31:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "norkunas/onesignal-php-api",
|
||||
"version": "v2.8.0",
|
||||
"version": "v2.9.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/norkunas/onesignal-php-api.git",
|
||||
"reference": "17ee48b5dc665e9f00d7e9d0465ae90b8486b9ef"
|
||||
"reference": "0dddeca25bc2da90bbfcdfb532c2e5a088afe905"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/norkunas/onesignal-php-api/zipball/17ee48b5dc665e9f00d7e9d0465ae90b8486b9ef",
|
||||
"reference": "17ee48b5dc665e9f00d7e9d0465ae90b8486b9ef",
|
||||
"url": "https://api.github.com/repos/norkunas/onesignal-php-api/zipball/0dddeca25bc2da90bbfcdfb532c2e5a088afe905",
|
||||
"reference": "0dddeca25bc2da90bbfcdfb532c2e5a088afe905",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1698,9 +1699,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/norkunas/onesignal-php-api/issues",
|
||||
"source": "https://github.com/norkunas/onesignal-php-api/tree/v2.8.0"
|
||||
"source": "https://github.com/norkunas/onesignal-php-api/tree/v2.9.0"
|
||||
},
|
||||
"time": "2021-12-02T09:21:28+00:00"
|
||||
"time": "2022-05-24T12:41:47+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nyholm/psr7",
|
||||
|
@ -3308,16 +3309,16 @@
|
|||
},
|
||||
{
|
||||
"name": "stripe/stripe-php",
|
||||
"version": "v8.2.0",
|
||||
"version": "v8.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/stripe/stripe-php.git",
|
||||
"reference": "47cfc4046e2b4b8d861e18dfcf6e74eea8f99374"
|
||||
"reference": "01d87fed82d624d3261cf9a302419c7581e05a60"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/47cfc4046e2b4b8d861e18dfcf6e74eea8f99374",
|
||||
"reference": "47cfc4046e2b4b8d861e18dfcf6e74eea8f99374",
|
||||
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/01d87fed82d624d3261cf9a302419c7581e05a60",
|
||||
"reference": "01d87fed82d624d3261cf9a302419c7581e05a60",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3362,9 +3363,9 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/stripe/stripe-php/issues",
|
||||
"source": "https://github.com/stripe/stripe-php/tree/v8.2.0"
|
||||
"source": "https://github.com/stripe/stripe-php/tree/v8.3.0"
|
||||
},
|
||||
"time": "2022-05-20T00:00:52+00:00"
|
||||
"time": "2022-05-23T19:57:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
|
@ -3600,16 +3601,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/http-foundation",
|
||||
"version": "v5.4.3",
|
||||
"version": "v5.4.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/http-foundation.git",
|
||||
"reference": "ef409ff341a565a3663157d4324536746d49a0c7"
|
||||
"reference": "ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ef409ff341a565a3663157d4324536746d49a0c7",
|
||||
"reference": "ef409ff341a565a3663157d4324536746d49a0c7",
|
||||
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2",
|
||||
"reference": "ff2818d1c3d49860bcae1f2cbb5eb00fcd3bf9e2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -3653,7 +3654,7 @@
|
|||
"description": "Defines an object-oriented layer for the HTTP specification",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v5.4.3"
|
||||
"source": "https://github.com/symfony/http-foundation/tree/v5.4.8"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -3669,7 +3670,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:53:40+00:00"
|
||||
"time": "2022-04-22T08:14:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/options-resolver",
|
||||
|
@ -3987,16 +3988,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/routing",
|
||||
"version": "v5.4.3",
|
||||
"version": "v5.4.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/routing.git",
|
||||
"reference": "44b29c7a94e867ccde1da604792f11a469958981"
|
||||
"reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/routing/zipball/44b29c7a94e867ccde1da604792f11a469958981",
|
||||
"reference": "44b29c7a94e867ccde1da604792f11a469958981",
|
||||
"url": "https://api.github.com/repos/symfony/routing/zipball/e07817bb6244ea33ef5ad31abc4a9288bef3f2f7",
|
||||
"reference": "e07817bb6244ea33ef5ad31abc4a9288bef3f2f7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -4057,7 +4058,7 @@
|
|||
"url"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/routing/tree/v5.4.3"
|
||||
"source": "https://github.com/symfony/routing/tree/v5.4.8"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
@ -4073,7 +4074,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-01-02T09:53:40+00:00"
|
||||
"time": "2022-04-18T21:45:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/service-contracts",
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: npm
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: daily
|
||||
time: '11:00'
|
||||
open-pull-requests-limit: 10
|
||||
- package-ecosystem: composer
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: daily
|
||||
time: '11:00'
|
||||
open-pull-requests-limit: 10
|
|
@ -1,12 +0,0 @@
|
|||
name: Lint
|
||||
on: push
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
|
@ -1,18 +0,0 @@
|
|||
name: Test
|
||||
on: push
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-versions: ['7.2', '7.3', '7.4']
|
||||
name: PHP ${{ matrix.php-versions }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
- run: composer validate --no-interaction --strict
|
||||
- run: composer install --no-interaction --prefer-dist
|
||||
- run: npm test
|
5
vendor/abraham/twitteroauth/.gitignore
vendored
5
vendor/abraham/twitteroauth/.gitignore
vendored
|
@ -1,5 +0,0 @@
|
|||
.DS_Store
|
||||
vendor
|
||||
env
|
||||
*.cache
|
||||
node_modules
|
3
vendor/abraham/twitteroauth/.prettierignore
vendored
3
vendor/abraham/twitteroauth/.prettierignore
vendored
|
@ -1,3 +0,0 @@
|
|||
vendor
|
||||
composer.lock
|
||||
tests/fixtures
|
6
vendor/abraham/twitteroauth/.prettierrc.json
vendored
6
vendor/abraham/twitteroauth/.prettierrc.json
vendored
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"singleQuote": true,
|
||||
"phpVersion": "7.2",
|
||||
"trailingCommaPHP": true,
|
||||
"braceStyle": "psr-2"
|
||||
}
|
46
vendor/abraham/twitteroauth/CODE_OF_CONDUCT.md
vendored
46
vendor/abraham/twitteroauth/CODE_OF_CONDUCT.md
vendored
|
@ -1,46 +0,0 @@
|
|||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
|
||||
- Using welcoming and inclusive language
|
||||
- Being respectful of differing viewpoints and experiences
|
||||
- Gracefully accepting constructive criticism
|
||||
- Focusing on what is best for the community
|
||||
- Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
- Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
- Public or private harassment
|
||||
- Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at abraham@abrah.am. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
||||
|
||||
[homepage]: http://contributor-covenant.org
|
||||
[version]: http://contributor-covenant.org/version/1/4/
|
21
vendor/abraham/twitteroauth/CONTRIBUTING.md
vendored
21
vendor/abraham/twitteroauth/CONTRIBUTING.md
vendored
|
@ -1,21 +0,0 @@
|
|||
# Contributing to TwitterOAuth
|
||||
|
||||
## 👏 Thanks!
|
||||
|
||||
Thanks for your interest in contributing to TwitterOAuth. We appreciate contributions small and large.
|
||||
|
||||
## 🌱 Grow
|
||||
|
||||
If you have an idea for something new or would like to improve something. Please [open a quick issue](https://github.com/abraham/twitteroauth/issues/new) explaining the changes and the reasons for them. Everyone's time is important and we don't want you duplicating work someone else might already be working on.
|
||||
|
||||
GitHub has [outlined instructions](https://help.github.com/articles/fork-a-repo/) for forking a repo. To work on an update to this repo, you will:
|
||||
|
||||
- Fork the repo
|
||||
- Make the changes
|
||||
- Submit a pull request
|
||||
|
||||
Once the [pull request](https://help.github.com/articles/about-pull-requests/) is reviewed, if the changes are approved they will be merged in to the project.
|
||||
|
||||
## 🐛 Bugs
|
||||
|
||||
Please [open a new issue](https://github.com/abraham/twitteroauth/issues/new) and details what you are trying to do, what is happening, and what you expect to happen. Err on the side of providing more details.
|
11
vendor/abraham/twitteroauth/README.md
vendored
11
vendor/abraham/twitteroauth/README.md
vendored
|
@ -1,11 +0,0 @@
|
|||
<span itemprop="name">TwitterOAuth</span> [](https://github.com/abraham/twitteroauth/actions) [](https://scrutinizer-ci.com/g/abraham/twitteroauth/?branch=master) [](https://github.com/abraham/twitteroauth/issues) [](https://packagist.org/packages/abraham/twitteroauth) [](https://packagist.org/packages/abraham/twitteroauth)
|
||||
|
||||
---
|
||||
|
||||
<p itemprop="description">The most popular PHP library for Twitter's OAuth REST API.</p>
|
||||
|
||||
See documentation at https://twitteroauth.com.
|
||||
|
||||
PHP versions [listed](https://secure.php.net/supported-versions.php) as "active support" or "security fixes only" are supported.
|
||||
|
||||
<img src="https://raw.githubusercontent.com/abraham/twitteroauth-com/master/images/twitter-logo-blue.png" itemprop="image" alt="Twitter bird" width="200px">
|
10
vendor/abraham/twitteroauth/composer.json
vendored
10
vendor/abraham/twitteroauth/composer.json
vendored
|
@ -29,19 +29,23 @@
|
|||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/morozov/php-vcr"
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/abraham/phpunit-testlistener-vcr"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2 || ^7.3 || ^7.4",
|
||||
"php": "^7.3 || ^7.4 || ^8.0",
|
||||
"ext-curl": "*",
|
||||
"composer/ca-bundle": "^1.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8",
|
||||
"phpunit/phpunit": "^8 || ^9",
|
||||
"squizlabs/php_codesniffer": "^3",
|
||||
"phpmd/phpmd": "^2",
|
||||
"php-vcr/php-vcr": "^1",
|
||||
"php-vcr/phpunit-testlistener-vcr": "^3"
|
||||
"php-vcr/phpunit-testlistener-vcr": "dev-php-8"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
1707
vendor/abraham/twitteroauth/composer.lock
generated
vendored
1707
vendor/abraham/twitteroauth/composer.lock
generated
vendored
File diff suppressed because it is too large
Load diff
504
vendor/abraham/twitteroauth/package-lock.json
generated
vendored
504
vendor/abraham/twitteroauth/package-lock.json
generated
vendored
|
@ -1,504 +0,0 @@
|
|||
{
|
||||
"name": "twitteroauth",
|
||||
"version": "0.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@prettier/plugin-php": {
|
||||
"version": "0.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@prettier/plugin-php/-/plugin-php-0.14.3.tgz",
|
||||
"integrity": "sha512-n+r5e4p8QhF497NUyOx7AqyQjNqCNbwhd+W8wTc07dO9ME42npIwZ1N8Hyc3kZ4KeLxE+nAuU5e21VMcbJyOMQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"linguist-languages": "^7.5.1",
|
||||
"mem": "^6.0.1",
|
||||
"php-parser": "github:glayzzle/php-parser#5a0e2e1bf12517bd1c544c0f4e68482d0362a7b5"
|
||||
}
|
||||
},
|
||||
"ansi-regex": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
|
||||
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"camelcase": {
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
|
||||
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
||||
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^3.2.1",
|
||||
"escape-string-regexp": "^1.0.5",
|
||||
"supports-color": "^5.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"supports-color": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
||||
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cliui": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
|
||||
"integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"string-width": "^3.1.0",
|
||||
"strip-ansi": "^5.2.0",
|
||||
"wrap-ansi": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "1.9.3",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
||||
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-name": "1.1.3"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"concurrently": {
|
||||
"version": "5.3.0",
|
||||
"resolved": "https://registry.npmjs.org/concurrently/-/concurrently-5.3.0.tgz",
|
||||
"integrity": "sha512-8MhqOB6PWlBfA2vJ8a0bSFKATOdWlHiQlk11IfmQBPaHVP8oP2gsh2MObE6UR3hqDHqvaIvLTyceNW6obVuFHQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^2.4.2",
|
||||
"date-fns": "^2.0.1",
|
||||
"lodash": "^4.17.15",
|
||||
"read-pkg": "^4.0.1",
|
||||
"rxjs": "^6.5.2",
|
||||
"spawn-command": "^0.0.2-1",
|
||||
"supports-color": "^6.1.0",
|
||||
"tree-kill": "^1.2.2",
|
||||
"yargs": "^13.3.0"
|
||||
}
|
||||
},
|
||||
"date-fns": {
|
||||
"version": "2.15.0",
|
||||
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.15.0.tgz",
|
||||
"integrity": "sha512-ZCPzAMJZn3rNUvvQIMlXhDr4A+Ar07eLeGsGREoWU19a3Pqf5oYa+ccd+B3F6XVtQY6HANMFdOQ8A+ipFnvJdQ==",
|
||||
"dev": true
|
||||
},
|
||||
"decamelize": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
|
||||
"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
|
||||
"dev": true
|
||||
},
|
||||
"emoji-regex": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
|
||||
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
|
||||
"dev": true
|
||||
},
|
||||
"error-ex": {
|
||||
"version": "1.3.2",
|
||||
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
|
||||
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"is-arrayish": "^0.2.1"
|
||||
}
|
||||
},
|
||||
"escape-string-regexp": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
||||
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
|
||||
"dev": true
|
||||
},
|
||||
"find-up": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
|
||||
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"locate-path": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"get-caller-file": {
|
||||
"version": "2.0.5",
|
||||
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
||||
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
||||
"dev": true
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
||||
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
|
||||
"dev": true
|
||||
},
|
||||
"hosted-git-info": {
|
||||
"version": "2.8.8",
|
||||
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
|
||||
"integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",
|
||||
"dev": true
|
||||
},
|
||||
"is-arrayish": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
|
||||
"integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
|
||||
"dev": true
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
|
||||
"integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
|
||||
"dev": true
|
||||
},
|
||||
"json-parse-better-errors": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
|
||||
"integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
|
||||
"dev": true
|
||||
},
|
||||
"linguist-languages": {
|
||||
"version": "7.10.0",
|
||||
"resolved": "https://registry.npmjs.org/linguist-languages/-/linguist-languages-7.10.0.tgz",
|
||||
"integrity": "sha512-Uqt94P4iAznscZtccnNE1IBi105U+fmQKEUlDJv54JDdFZDInomkepEIRpZLOQcPyGdcNu3JO9Tvo5wpQVbfKw==",
|
||||
"dev": true
|
||||
},
|
||||
"locate-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
|
||||
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-locate": "^3.0.0",
|
||||
"path-exists": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"lodash": {
|
||||
"version": "4.17.19",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
|
||||
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
|
||||
"dev": true
|
||||
},
|
||||
"map-age-cleaner": {
|
||||
"version": "0.1.3",
|
||||
"resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
|
||||
"integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-defer": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"mem": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mem/-/mem-6.1.0.tgz",
|
||||
"integrity": "sha512-RlbnLQgRHk5lwqTtpEkBTQ2ll/CG/iB+J4Hy2Wh97PjgZgXgWJWrFF+XXujh3UUVLvR4OOTgZzcWMMwnehlEUg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"map-age-cleaner": "^0.1.3",
|
||||
"mimic-fn": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"mimic-fn": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz",
|
||||
"integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ==",
|
||||
"dev": true
|
||||
},
|
||||
"normalize-package-data": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
|
||||
"integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"hosted-git-info": "^2.1.4",
|
||||
"resolve": "^1.10.0",
|
||||
"semver": "2 || 3 || 4 || 5",
|
||||
"validate-npm-package-license": "^3.0.1"
|
||||
}
|
||||
},
|
||||
"p-defer": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
|
||||
"integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=",
|
||||
"dev": true
|
||||
},
|
||||
"p-limit": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
|
||||
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-try": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"p-locate": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
|
||||
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"p-limit": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"p-try": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||
"dev": true
|
||||
},
|
||||
"parse-json": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz",
|
||||
"integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"error-ex": "^1.3.1",
|
||||
"json-parse-better-errors": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"path-exists": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
|
||||
"integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
|
||||
"dev": true
|
||||
},
|
||||
"path-parse": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
|
||||
"dev": true
|
||||
},
|
||||
"php-parser": {
|
||||
"version": "github:glayzzle/php-parser#5a0e2e1bf12517bd1c544c0f4e68482d0362a7b5",
|
||||
"from": "github:glayzzle/php-parser#5a0e2e1bf12517bd1c544c0f4e68482d0362a7b5",
|
||||
"dev": true
|
||||
},
|
||||
"pify": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
|
||||
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
|
||||
"dev": true
|
||||
},
|
||||
"prettier": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
|
||||
"integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"read-pkg": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz",
|
||||
"integrity": "sha1-ljYlN48+HE1IyFhytabsfV0JMjc=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"normalize-package-data": "^2.3.2",
|
||||
"parse-json": "^4.0.0",
|
||||
"pify": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"require-directory": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
|
||||
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
|
||||
"dev": true
|
||||
},
|
||||
"require-main-filename": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
|
||||
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
|
||||
"dev": true
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
|
||||
"integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"path-parse": "^1.0.6"
|
||||
}
|
||||
},
|
||||
"rxjs": {
|
||||
"version": "6.6.2",
|
||||
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz",
|
||||
"integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"tslib": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.7.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
||||
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
||||
"dev": true
|
||||
},
|
||||
"set-blocking": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
|
||||
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
|
||||
"dev": true
|
||||
},
|
||||
"spawn-command": {
|
||||
"version": "0.0.2-1",
|
||||
"resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz",
|
||||
"integrity": "sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A=",
|
||||
"dev": true
|
||||
},
|
||||
"spdx-correct": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
|
||||
"integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"spdx-expression-parse": "^3.0.0",
|
||||
"spdx-license-ids": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"spdx-exceptions": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
|
||||
"integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
|
||||
"dev": true
|
||||
},
|
||||
"spdx-expression-parse": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
|
||||
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"spdx-exceptions": "^2.1.0",
|
||||
"spdx-license-ids": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"spdx-license-ids": {
|
||||
"version": "3.0.5",
|
||||
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
|
||||
"integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
|
||||
"dev": true
|
||||
},
|
||||
"string-width": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
|
||||
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"emoji-regex": "^7.0.1",
|
||||
"is-fullwidth-code-point": "^2.0.0",
|
||||
"strip-ansi": "^5.1.0"
|
||||
}
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
|
||||
"integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"tree-kill": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
|
||||
"integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
|
||||
"dev": true
|
||||
},
|
||||
"tslib": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
|
||||
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
|
||||
"dev": true
|
||||
},
|
||||
"validate-npm-package-license": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
||||
"integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"spdx-correct": "^3.0.0",
|
||||
"spdx-expression-parse": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"which-module": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
|
||||
"integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
|
||||
"dev": true
|
||||
},
|
||||
"wrap-ansi": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
|
||||
"integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^3.2.0",
|
||||
"string-width": "^3.0.0",
|
||||
"strip-ansi": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"y18n": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
|
||||
"integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==",
|
||||
"dev": true
|
||||
},
|
||||
"yargs": {
|
||||
"version": "13.3.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
|
||||
"integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"cliui": "^5.0.0",
|
||||
"find-up": "^3.0.0",
|
||||
"get-caller-file": "^2.0.1",
|
||||
"require-directory": "^2.1.1",
|
||||
"require-main-filename": "^2.0.0",
|
||||
"set-blocking": "^2.0.0",
|
||||
"string-width": "^3.0.0",
|
||||
"which-module": "^2.0.0",
|
||||
"y18n": "^4.0.0",
|
||||
"yargs-parser": "^13.1.2"
|
||||
}
|
||||
},
|
||||
"yargs-parser": {
|
||||
"version": "13.1.2",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
|
||||
"integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"camelcase": "^5.0.0",
|
||||
"decamelize": "^1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
43
vendor/abraham/twitteroauth/package.json
vendored
43
vendor/abraham/twitteroauth/package.json
vendored
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"name": "twitteroauth",
|
||||
"version": "0.0.0",
|
||||
"description": "The most popular PHP library for use with the Twitter OAuth REST API.",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@prettier/plugin-php": "^0.14.3",
|
||||
"concurrently": "^5.3.0",
|
||||
"prettier": "^2.1.2"
|
||||
},
|
||||
"scripts": {
|
||||
"fix:phpcbf": "./vendor/bin/phpcbf src tests --standard=PSR12",
|
||||
"fix:prettier": "prettier . --write",
|
||||
"fix": "concurrently npm:fix:*",
|
||||
"lint:phpcs": "./vendor/bin/phpcs src tests --standard=PSR12",
|
||||
"lint:prettier": "prettier . --check",
|
||||
"lint": "concurrently npm:lint:*",
|
||||
"postinstall": "composer install --no-interaction",
|
||||
"test": "./vendor/bin/phpunit"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/abraham/twitteroauth.git"
|
||||
},
|
||||
"keywords": [
|
||||
"twitter",
|
||||
"api",
|
||||
"oauth",
|
||||
"rest",
|
||||
"social",
|
||||
"twitter-api",
|
||||
"twitter-oauth"
|
||||
],
|
||||
"author": "Abraham Williams <abraham@abrah.am>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/abraham/twitteroauth/issues"
|
||||
},
|
||||
"homepage": "https://github.com/abraham/twitteroauth#readme"
|
||||
}
|
15
vendor/abraham/twitteroauth/phpmd.xml
vendored
15
vendor/abraham/twitteroauth/phpmd.xml
vendored
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="My first PHPMD rule set"
|
||||
xmlns="http://pmd.sf.net/ruleset/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
|
||||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
|
||||
<description>Keep TwitterOAuth source code clean.</description>
|
||||
|
||||
<!-- <rule ref="rulesets/cleancode.xml" /> -->
|
||||
<rule ref="rulesets/codesize.xml" />
|
||||
<rule ref="rulesets/controversial.xml" />
|
||||
<rule ref="rulesets/design.xml" />
|
||||
<rule ref="rulesets/naming.xml" />
|
||||
<rule ref="rulesets/unusedcode.xml" />
|
||||
</ruleset>
|
18
vendor/abraham/twitteroauth/phpunit.xml
vendored
18
vendor/abraham/twitteroauth/phpunit.xml
vendored
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
colors="true"
|
||||
bootstrap="tests/bootstrap.php"
|
||||
testdox="true">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="TwitterOAuth Test Suite">
|
||||
<directory>./tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<listeners>
|
||||
<listener
|
||||
class="VCR\PHPUnit\TestListener\VCRTestListener"
|
||||
file="vendor/php-vcr/phpunit-testlistener-vcr/src/VCRTestListener.php" />
|
||||
</listeners>
|
||||
</phpunit>
|
19
vendor/abraham/twitteroauth/src/Config.php
vendored
19
vendor/abraham/twitteroauth/src/Config.php
vendored
|
@ -11,6 +11,9 @@ namespace Abraham\TwitterOAuth;
|
|||
*/
|
||||
class Config
|
||||
{
|
||||
// Update extension function when updating this list.
|
||||
private const SUPPORTED_VERSIONS = ['1.1', '2'];
|
||||
|
||||
/** @var int How long to wait for a response from the API */
|
||||
protected $timeout = 5;
|
||||
/** @var int how long to wait while connecting to the API */
|
||||
|
@ -19,6 +22,8 @@ class Config
|
|||
protected $maxRetries = 0;
|
||||
/** @var int Delay in seconds before we retry the request */
|
||||
protected $retriesDelay = 1;
|
||||
/** @var string Version of the Twitter API requests should target */
|
||||
protected $apiVersion = '1.1';
|
||||
|
||||
/**
|
||||
* Decode JSON Response as associative Array
|
||||
|
@ -39,6 +44,20 @@ class Config
|
|||
/** @var integer Size for Chunked Uploads */
|
||||
protected $chunkSize = 250000; // 0.25 MegaByte
|
||||
|
||||
/**
|
||||
* Set the the Twitter API version.
|
||||
*
|
||||
* @param string $apiVersion
|
||||
*/
|
||||
public function setApiVersion(string $apiVersion): void
|
||||
{
|
||||
if (in_array($apiVersion, self::SUPPORTED_VERSIONS, true)) {
|
||||
$this->apiVersion = $apiVersion;
|
||||
} else {
|
||||
throw new TwitterOAuthException('Unsupported API version');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the connection and response timeouts.
|
||||
*
|
||||
|
|
6
vendor/abraham/twitteroauth/src/Request.php
vendored
6
vendor/abraham/twitteroauth/src/Request.php
vendored
|
@ -31,7 +31,7 @@ class Request
|
|||
) {
|
||||
$parameters = array_merge(
|
||||
Util::parseParameters(parse_url($httpUrl, PHP_URL_QUERY)),
|
||||
$parameters
|
||||
$parameters,
|
||||
);
|
||||
$this->parameters = $parameters;
|
||||
$this->httpMethod = $httpMethod;
|
||||
|
@ -224,7 +224,7 @@ class Request
|
|||
}
|
||||
if (is_array($v)) {
|
||||
throw new TwitterOAuthException(
|
||||
'Arrays not supported in headers'
|
||||
'Arrays not supported in headers',
|
||||
);
|
||||
}
|
||||
$out .= $first ? ' ' : ', ';
|
||||
|
@ -258,7 +258,7 @@ class Request
|
|||
) {
|
||||
$this->setParameter(
|
||||
'oauth_signature_method',
|
||||
$signatureMethod->getName()
|
||||
$signatureMethod->getName(),
|
||||
);
|
||||
$signature = $this->buildSignature($signatureMethod, $consumer, $token);
|
||||
$this->setParameter('oauth_signature', $signature);
|
||||
|
|
2
vendor/abraham/twitteroauth/src/Token.php
vendored
2
vendor/abraham/twitteroauth/src/Token.php
vendored
|
@ -37,7 +37,7 @@ class Token
|
|||
return sprintf(
|
||||
'oauth_token=%s&oauth_token_secret=%s',
|
||||
Util::urlencodeRfc3986($this->key),
|
||||
Util::urlencodeRfc3986($this->secret)
|
||||
Util::urlencodeRfc3986($this->secret),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
75
vendor/abraham/twitteroauth/src/TwitterOAuth.php
vendored
75
vendor/abraham/twitteroauth/src/TwitterOAuth.php
vendored
|
@ -20,7 +20,6 @@ use Composer\CaBundle\CaBundle;
|
|||
*/
|
||||
class TwitterOAuth extends Config
|
||||
{
|
||||
private const API_VERSION = '1.1';
|
||||
private const API_HOST = 'https://api.twitter.com';
|
||||
private const UPLOAD_HOST = 'https://upload.twitter.com';
|
||||
|
||||
|
@ -203,7 +202,7 @@ class TwitterOAuth extends Config
|
|||
$this->token,
|
||||
$method,
|
||||
$url,
|
||||
$parameters
|
||||
$parameters,
|
||||
);
|
||||
$authorization =
|
||||
'Authorization: Basic ' .
|
||||
|
@ -212,7 +211,7 @@ class TwitterOAuth extends Config
|
|||
$request->getNormalizedHttpUrl(),
|
||||
$method,
|
||||
$authorization,
|
||||
$parameters
|
||||
$parameters,
|
||||
);
|
||||
$response = JsonDecoder::decode($result, $this->decodeJsonAsArray);
|
||||
$this->response->setBody($response);
|
||||
|
@ -313,7 +312,7 @@ class TwitterOAuth extends Config
|
|||
'command' => 'STATUS',
|
||||
'media_id' => $media_id,
|
||||
],
|
||||
false
|
||||
false,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -332,7 +331,7 @@ class TwitterOAuth extends Config
|
|||
($file = file_get_contents($parameters['media'])) === false
|
||||
) {
|
||||
throw new \InvalidArgumentException(
|
||||
'You must supply a readable file'
|
||||
'You must supply a readable file',
|
||||
);
|
||||
}
|
||||
$parameters['media'] = base64_encode($file);
|
||||
|
@ -341,7 +340,7 @@ class TwitterOAuth extends Config
|
|||
self::UPLOAD_HOST,
|
||||
$path,
|
||||
$parameters,
|
||||
false
|
||||
false,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -360,7 +359,7 @@ class TwitterOAuth extends Config
|
|||
self::UPLOAD_HOST,
|
||||
$path,
|
||||
$this->mediaInitParameters($parameters),
|
||||
false
|
||||
false,
|
||||
);
|
||||
// Append
|
||||
$segmentIndex = 0;
|
||||
|
@ -375,10 +374,10 @@ class TwitterOAuth extends Config
|
|||
'media_id' => $init->media_id_string,
|
||||
'segment_index' => $segmentIndex++,
|
||||
'media_data' => base64_encode(
|
||||
fread($media, $this->chunkSize)
|
||||
fread($media, $this->chunkSize),
|
||||
),
|
||||
],
|
||||
false
|
||||
false,
|
||||
);
|
||||
}
|
||||
fclose($media);
|
||||
|
@ -391,7 +390,7 @@ class TwitterOAuth extends Config
|
|||
'command' => 'FINALIZE',
|
||||
'media_id' => $init->media_id_string,
|
||||
],
|
||||
false
|
||||
false,
|
||||
);
|
||||
return $finalize;
|
||||
}
|
||||
|
@ -418,7 +417,7 @@ class TwitterOAuth extends Config
|
|||
];
|
||||
$allowed_parameters = array_intersect_key(
|
||||
$parameters,
|
||||
array_flip($allowed_keys)
|
||||
array_flip($allowed_keys),
|
||||
);
|
||||
return array_merge($base, $allowed_parameters);
|
||||
}
|
||||
|
@ -441,6 +440,19 @@ class TwitterOAuth extends Config
|
|||
return $parameters;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get URL extension for current API Version.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function extension()
|
||||
{
|
||||
return [
|
||||
'1.1' => '.json',
|
||||
'2' => '',
|
||||
][$this->apiVersion];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $method
|
||||
* @param string $host
|
||||
|
@ -459,12 +471,37 @@ class TwitterOAuth extends Config
|
|||
) {
|
||||
$this->resetLastResponse();
|
||||
$this->resetAttemptsNumber();
|
||||
$url = sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
|
||||
$this->response->setApiPath($path);
|
||||
if (!$json) {
|
||||
$parameters = $this->cleanUpParameters($parameters);
|
||||
}
|
||||
return $this->makeRequests($url, $method, $parameters, $json);
|
||||
return $this->makeRequests(
|
||||
$this->apiUrl($host, $path),
|
||||
$method,
|
||||
$parameters,
|
||||
$json,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate API URL.
|
||||
*
|
||||
* Overriding this function is not supported and may cause unintended issues.
|
||||
*
|
||||
* @param string $host
|
||||
* @param string $path
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function apiUrl(string $host, string $path)
|
||||
{
|
||||
return sprintf(
|
||||
'%s/%s/%s%s',
|
||||
$host,
|
||||
$this->apiVersion,
|
||||
$path,
|
||||
$this->extension(),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -532,7 +569,7 @@ class TwitterOAuth extends Config
|
|||
$method,
|
||||
$url,
|
||||
$parameters,
|
||||
$json
|
||||
$json,
|
||||
);
|
||||
if (array_key_exists('oauth_callback', $parameters)) {
|
||||
// Twitter doesn't like oauth_callback as a parameter.
|
||||
|
@ -542,7 +579,7 @@ class TwitterOAuth extends Config
|
|||
$request->signRequest(
|
||||
$this->signatureMethod,
|
||||
$this->consumer,
|
||||
$this->token
|
||||
$this->token,
|
||||
);
|
||||
$authorization = $request->toHeader();
|
||||
if (array_key_exists('oauth_verifier', $parameters)) {
|
||||
|
@ -558,7 +595,7 @@ class TwitterOAuth extends Config
|
|||
$method,
|
||||
$authorization,
|
||||
$parameters,
|
||||
$json
|
||||
$json,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -636,7 +673,7 @@ class TwitterOAuth extends Config
|
|||
$options[CURLOPT_POSTFIELDS] = json_encode($postfields);
|
||||
} else {
|
||||
$options[CURLOPT_POSTFIELDS] = Util::buildHttpQuery(
|
||||
$postfields
|
||||
$postfields,
|
||||
);
|
||||
}
|
||||
break;
|
||||
|
@ -668,7 +705,7 @@ class TwitterOAuth extends Config
|
|||
}
|
||||
|
||||
$this->response->setHttpCode(
|
||||
curl_getinfo($curlHandle, CURLINFO_HTTP_CODE)
|
||||
curl_getinfo($curlHandle, CURLINFO_HTTP_CODE),
|
||||
);
|
||||
$parts = explode("\r\n\r\n", $response);
|
||||
$responseBody = array_pop($parts);
|
||||
|
@ -692,7 +729,7 @@ class TwitterOAuth extends Config
|
|||
$headers = [];
|
||||
foreach (explode("\r\n", $header) as $line) {
|
||||
if (strpos($line, ':') !== false) {
|
||||
list($key, $value) = explode(': ', $line);
|
||||
[$key, $value] = explode(': ', $line);
|
||||
$key = str_replace('-', '_', strtolower($key));
|
||||
$headers[$key] = trim($value);
|
||||
}
|
||||
|
|
2
vendor/abraham/twitteroauth/src/Util.php
vendored
2
vendor/abraham/twitteroauth/src/Util.php
vendored
|
@ -22,7 +22,7 @@ class Util
|
|||
if (is_array($input)) {
|
||||
$output = array_map(
|
||||
[__NAMESPACE__ . '\Util', 'urlencodeRfc3986'],
|
||||
$input
|
||||
$input,
|
||||
);
|
||||
} elseif (is_scalar($input)) {
|
||||
$output = rawurlencode((string) $input);
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\SignatureMethod;
|
||||
|
||||
abstract class AbstractSignatureMethodTest extends TestCase
|
||||
{
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* @return SignatureMethod
|
||||
*/
|
||||
abstract public function getClass();
|
||||
|
||||
abstract protected function signatureDataProvider();
|
||||
|
||||
public function testGetName()
|
||||
{
|
||||
$this->assertEquals($this->name, $this->getClass()->getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider signatureDataProvider
|
||||
*/
|
||||
public function testBuildSignature($expected, $request, $consumer, $token)
|
||||
{
|
||||
$this->assertEquals(
|
||||
$expected,
|
||||
$this->getClass()->buildSignature($request, $consumer, $token)
|
||||
);
|
||||
}
|
||||
|
||||
protected function getRequest()
|
||||
{
|
||||
return $this->getMockBuilder('Abraham\TwitterOAuth\Request')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
}
|
||||
|
||||
protected function getConsumer(
|
||||
$key = null,
|
||||
$secret = null,
|
||||
$callbackUrl = null
|
||||
) {
|
||||
return $this->getMockBuilder('Abraham\TwitterOAuth\Consumer')
|
||||
->setConstructorArgs([$key, $secret, $callbackUrl])
|
||||
->getMock();
|
||||
}
|
||||
|
||||
protected function getToken($key = null, $secret = null)
|
||||
{
|
||||
return $this->getMockBuilder('Abraham\TwitterOAuth\Token')
|
||||
->setConstructorArgs([$key, $secret])
|
||||
->getMock();
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\Consumer;
|
||||
|
||||
class ConsumerTest extends TestCase
|
||||
{
|
||||
public function testToString()
|
||||
{
|
||||
$key = uniqid();
|
||||
$secret = uniqid();
|
||||
$consumer = new Consumer($key, $secret);
|
||||
|
||||
$this->assertEquals(
|
||||
"Consumer[key=$key,secret=$secret]",
|
||||
$consumer->__toString()
|
||||
);
|
||||
}
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use Abraham\TwitterOAuth\HmacSha1;
|
||||
|
||||
class HmacSha1Test extends AbstractSignatureMethodTest
|
||||
{
|
||||
protected $name = 'HMAC-SHA1';
|
||||
|
||||
public function getClass()
|
||||
{
|
||||
return new HmacSha1();
|
||||
}
|
||||
|
||||
public function signatureDataProvider()
|
||||
{
|
||||
return [
|
||||
[
|
||||
'5CoEcoq7XoKFjwYCieQvuzadeUA=',
|
||||
$this->getRequest(),
|
||||
$this->getConsumer(),
|
||||
$this->getToken(),
|
||||
],
|
||||
[
|
||||
'EBw0gHngam3BTx8kfPfNNSyKem4=',
|
||||
$this->getRequest(),
|
||||
$this->getConsumer('key', 'secret'),
|
||||
$this->getToken(),
|
||||
],
|
||||
[
|
||||
'kDsHFZzws2a5M6cAQjfpdNBo+v8=',
|
||||
$this->getRequest(),
|
||||
$this->getConsumer('key', 'secret'),
|
||||
$this->getToken('key', 'secret'),
|
||||
],
|
||||
[
|
||||
'EBw0gHngam3BTx8kfPfNNSyKem4=',
|
||||
$this->getRequest(),
|
||||
$this->getConsumer('key', 'secret'),
|
||||
null,
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
38
vendor/abraham/twitteroauth/tests/TokenTest.php
vendored
38
vendor/abraham/twitteroauth/tests/TokenTest.php
vendored
|
@ -1,38 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\Token;
|
||||
|
||||
class TokenTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider tokenProvider
|
||||
*/
|
||||
public function testToString($expected, $key, $secret)
|
||||
{
|
||||
$token = new Token($key, $secret);
|
||||
|
||||
$this->assertEquals($expected, $token->__toString());
|
||||
}
|
||||
|
||||
public function tokenProvider()
|
||||
{
|
||||
return [
|
||||
['oauth_token=key&oauth_token_secret=secret', 'key', 'secret'],
|
||||
[
|
||||
'oauth_token=key%2Bkey&oauth_token_secret=secret',
|
||||
'key+key',
|
||||
'secret',
|
||||
],
|
||||
[
|
||||
'oauth_token=key~key&oauth_token_secret=secret',
|
||||
'key~key',
|
||||
'secret',
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
|
@ -1,397 +0,0 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* WARNING: Running tests will post and delete through the actual Twitter account when updating or saving VCR cassettes.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth\Test;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\TwitterOAuth;
|
||||
|
||||
class TwitterOAuthTest extends TestCase
|
||||
{
|
||||
/** @var TwitterOAuth */
|
||||
protected $twitter;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->twitter = new TwitterOAuth(
|
||||
CONSUMER_KEY,
|
||||
CONSUMER_SECRET,
|
||||
ACCESS_TOKEN,
|
||||
ACCESS_TOKEN_SECRET
|
||||
);
|
||||
$this->userId = explode('-', ACCESS_TOKEN)[0];
|
||||
}
|
||||
|
||||
public function testBuildClient()
|
||||
{
|
||||
$this->assertObjectHasAttribute('consumer', $this->twitter);
|
||||
$this->assertObjectHasAttribute('token', $this->twitter);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testSetOauthToken.json
|
||||
*/
|
||||
public function testSetOauthToken()
|
||||
{
|
||||
$twitter = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
|
||||
$twitter->setOauthToken(ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
|
||||
$this->assertObjectHasAttribute('consumer', $twitter);
|
||||
$this->assertObjectHasAttribute('token', $twitter);
|
||||
$twitter->get('friendships/show', [
|
||||
'target_screen_name' => 'twitterapi',
|
||||
]);
|
||||
$this->assertEquals(200, $twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testOauth2Token.json
|
||||
*/
|
||||
public function testOauth2Token()
|
||||
{
|
||||
$twitter = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
|
||||
$result = $twitter->oauth2('oauth2/token', [
|
||||
'grant_type' => 'client_credentials',
|
||||
]);
|
||||
$this->assertEquals(200, $twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('token_type', $result);
|
||||
$this->assertObjectHasAttribute('access_token', $result);
|
||||
$this->assertEquals('bearer', $result->token_type);
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testOauth2Token
|
||||
* @vcr testOauth2BearerToken.json
|
||||
*/
|
||||
public function testOauth2BearerToken($accessToken)
|
||||
{
|
||||
$twitter = new TwitterOAuth(
|
||||
CONSUMER_KEY,
|
||||
CONSUMER_SECRET,
|
||||
null,
|
||||
$accessToken->access_token
|
||||
);
|
||||
$result = $twitter->get('statuses/user_timeline', [
|
||||
'screen_name' => 'twitterapi',
|
||||
]);
|
||||
$this->assertEquals(200, $twitter->getLastHttpCode());
|
||||
return $accessToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testOauth2BearerToken
|
||||
* @vcr testOauth2TokenInvalidate.json
|
||||
*/
|
||||
public function testOauth2TokenInvalidate($accessToken)
|
||||
{
|
||||
$twitter = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
|
||||
// HACK: access_token is already urlencoded but gets urlencoded again breaking the invalidate request.
|
||||
$result = $twitter->oauth2('oauth2/invalidate_token', [
|
||||
'access_token' => urldecode($accessToken->access_token),
|
||||
]);
|
||||
$this->assertEquals(200, $twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('access_token', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testOauthRequestToken.json
|
||||
*/
|
||||
public function testOauthRequestToken()
|
||||
{
|
||||
$twitter = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
|
||||
$result = $twitter->oauth('oauth/request_token', [
|
||||
'oauth_callback' => OAUTH_CALLBACK,
|
||||
]);
|
||||
$this->assertEquals(200, $twitter->getLastHttpCode());
|
||||
$this->assertArrayHasKey('oauth_token', $result);
|
||||
$this->assertArrayHasKey('oauth_token_secret', $result);
|
||||
$this->assertArrayHasKey('oauth_callback_confirmed', $result);
|
||||
$this->assertEquals('true', $result['oauth_callback_confirmed']);
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testOauthRequestTokenException.json
|
||||
*/
|
||||
public function testOauthRequestTokenException()
|
||||
{
|
||||
$this->expectException(
|
||||
\Abraham\TwitterOAuth\TwitterOAuthException::class
|
||||
);
|
||||
$this->expectErrorMessage('Could not authenticate you');
|
||||
$twitter = new TwitterOAuth('CONSUMER_KEY', 'CONSUMER_SECRET');
|
||||
$result = $twitter->oauth('oauth/request_token', [
|
||||
'oauth_callback' => OAUTH_CALLBACK,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testOauthRequestToken
|
||||
* @vcr testOauthAccessTokenTokenException.json
|
||||
*/
|
||||
public function testOauthAccessTokenTokenException(array $requestToken)
|
||||
{
|
||||
// Can't test this without a browser logging into Twitter so check for the correct error instead.
|
||||
$this->expectException(
|
||||
\Abraham\TwitterOAuth\TwitterOAuthException::class
|
||||
);
|
||||
$this->expectErrorMessage('Invalid oauth_verifier parameter');
|
||||
$twitter = new TwitterOAuth(
|
||||
CONSUMER_KEY,
|
||||
CONSUMER_SECRET,
|
||||
$requestToken['oauth_token'],
|
||||
$requestToken['oauth_token_secret']
|
||||
);
|
||||
$twitter->oauth('oauth/access_token', [
|
||||
'oauth_verifier' => 'fake_oauth_verifier',
|
||||
]);
|
||||
}
|
||||
|
||||
public function testUrl()
|
||||
{
|
||||
$url = $this->twitter->url('oauth/authorize', [
|
||||
'foo' => 'bar',
|
||||
'baz' => 'qux',
|
||||
]);
|
||||
$this->assertEquals(
|
||||
'https://api.twitter.com/oauth/authorize?foo=bar&baz=qux',
|
||||
$url
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testGetAccountVerifyCredentials.json
|
||||
*/
|
||||
public function testGetAccountVerifyCredentials()
|
||||
{
|
||||
$user = $this->twitter->get('account/verify_credentials', [
|
||||
'include_entities' => false,
|
||||
'include_email' => true,
|
||||
]);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('email', $user);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testSetProxy.json
|
||||
*/
|
||||
public function testSetProxy()
|
||||
{
|
||||
$this->twitter->setProxy([
|
||||
'CURLOPT_PROXY' => PROXY,
|
||||
'CURLOPT_PROXYUSERPWD' => PROXYUSERPWD,
|
||||
'CURLOPT_PROXYPORT' => PROXYPORT,
|
||||
]);
|
||||
$this->twitter->setTimeouts(60, 60);
|
||||
$result = $this->twitter->get('account/verify_credentials');
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('id', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testGetStatusesMentionsTimeline.json
|
||||
*/
|
||||
public function testGetStatusesMentionsTimeline()
|
||||
{
|
||||
$this->twitter->get('statuses/mentions_timeline');
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testGetSearchTweets.json
|
||||
*/
|
||||
public function testGetSearchTweets()
|
||||
{
|
||||
$result = $this->twitter->get('search/tweets', ['q' => 'twitter']);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
return $result->statuses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testGetSearchTweets
|
||||
* @vcr testGetSearchTweetsWithMaxId.json
|
||||
*/
|
||||
public function testGetSearchTweetsWithMaxId($statuses)
|
||||
{
|
||||
$maxId = array_pop($statuses)->id_str;
|
||||
$this->twitter->get('search/tweets', [
|
||||
'q' => 'twitter',
|
||||
'max_id' => $maxId,
|
||||
]);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostFavoritesCreate.json
|
||||
*/
|
||||
public function testPostFavoritesCreate()
|
||||
{
|
||||
$result = $this->twitter->post('favorites/create', [
|
||||
'id' => '6242973112',
|
||||
]);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testPostFavoritesCreate
|
||||
* @vcr testPostFavoritesDestroy.json
|
||||
*/
|
||||
public function testPostFavoritesDestroy()
|
||||
{
|
||||
$this->twitter->post('favorites/destroy', ['id' => '6242973112']);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostDirectMessagesEventsNew.json
|
||||
*/
|
||||
public function testPostDirectMessagesEventsNew()
|
||||
{
|
||||
$data = [
|
||||
'event' => [
|
||||
'type' => 'message_create',
|
||||
'message_create' => [
|
||||
'target' => [
|
||||
'recipient_id' => $this->userId,
|
||||
],
|
||||
'message_data' => [
|
||||
'text' => 'Hello World!',
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
$result = $this->twitter->post(
|
||||
'direct_messages/events/new',
|
||||
$data,
|
||||
true
|
||||
);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testPostDirectMessagesEventsNew
|
||||
* @vcr testDeleteDirectMessagesEventsDestroy.json
|
||||
*/
|
||||
public function testDeleteDirectMessagesEventsDestroy($message)
|
||||
{
|
||||
$this->twitter->delete('direct_messages/events/destroy', [
|
||||
'id' => $message->event->id,
|
||||
]);
|
||||
$this->assertEquals(204, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostStatusesUpdateWithMedia.json
|
||||
*/
|
||||
public function testPostStatusesUpdateWithMedia()
|
||||
{
|
||||
$this->twitter->setTimeouts(60, 60);
|
||||
// Image source https://www.flickr.com/photos/titrans/8548825587/
|
||||
$file_path = __DIR__ . '/kitten.jpg';
|
||||
$result = $this->twitter->upload('media/upload', [
|
||||
'media' => $file_path,
|
||||
]);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('media_id_string', $result);
|
||||
$parameters = [
|
||||
'status' => 'Hello World ' . MOCK_TIME,
|
||||
'media_ids' => $result->media_id_string,
|
||||
];
|
||||
$result = $this->twitter->post('statuses/update', $parameters);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$result = $this->twitter->post('statuses/destroy/' . $result->id_str);
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostStatusUpdateWithInvalidMediaThrowsException.json
|
||||
*/
|
||||
public function testPostStatusUpdateWithInvalidMediaThrowsException()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$file_path = __DIR__ . '/12345678900987654321.jpg';
|
||||
$this->assertFalse(\is_readable($file_path));
|
||||
$result = $this->twitter->upload('media/upload', [
|
||||
'media' => $file_path,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostStatusesUpdateWithMediaChunked.json
|
||||
*/
|
||||
public function testPostStatusesUpdateWithMediaChunked()
|
||||
{
|
||||
$this->twitter->setTimeouts(60, 30);
|
||||
// Video source http://www.sample-videos.com/
|
||||
$file_path = __DIR__ . '/video.mp4';
|
||||
$result = $this->twitter->upload(
|
||||
'media/upload',
|
||||
['media' => $file_path, 'media_type' => 'video/mp4'],
|
||||
true
|
||||
);
|
||||
$this->assertEquals(201, $this->twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute('media_id_string', $result);
|
||||
$parameters = [
|
||||
'status' => 'Hello World ' . MOCK_TIME,
|
||||
'media_ids' => $result->media_id_string,
|
||||
];
|
||||
$result = $this->twitter->post('statuses/update', $parameters);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$result = $this->twitter->post('statuses/destroy/' . $result->id_str);
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testPostStatusesUpdateUtf8.json
|
||||
*/
|
||||
public function testPostStatusesUpdateUtf8()
|
||||
{
|
||||
$result = $this->twitter->post('statuses/update', [
|
||||
'status' => 'xこんにちは世界 ' . MOCK_TIME,
|
||||
]);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testPostStatusesUpdateUtf8
|
||||
* @vcr testPostStatusesDestroy.json
|
||||
*/
|
||||
public function testPostStatusesDestroy($status)
|
||||
{
|
||||
$this->twitter->post('statuses/destroy/' . $status->id_str);
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @vcr testLastResult.json
|
||||
*/
|
||||
public function testLastResult()
|
||||
{
|
||||
$this->twitter->get('search/tweets', ['q' => 'twitter']);
|
||||
$this->assertEquals('search/tweets', $this->twitter->getLastApiPath());
|
||||
$this->assertEquals(200, $this->twitter->getLastHttpCode());
|
||||
$this->assertObjectHasAttribute(
|
||||
'statuses',
|
||||
$this->twitter->getLastBody()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testLastResult
|
||||
* @vcr testResetLastResponse.json
|
||||
*/
|
||||
public function testResetLastResponse()
|
||||
{
|
||||
$this->twitter->resetLastResponse();
|
||||
$this->assertEquals('', $this->twitter->getLastApiPath());
|
||||
$this->assertEquals(0, $this->twitter->getLastHttpCode());
|
||||
$this->assertEquals([], $this->twitter->getLastBody());
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Abraham\TwitterOAuth\Tests;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Abraham\TwitterOAuth\Util\JsonDecoder;
|
||||
|
||||
class JsonDecoderTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider jsonProvider
|
||||
*/
|
||||
public function testDecode($input, $asArray, $expected)
|
||||
{
|
||||
$this->assertEquals($expected, JsonDecoder::decode($input, $asArray));
|
||||
}
|
||||
|
||||
public function jsonProvider()
|
||||
{
|
||||
return [
|
||||
['[]', true, []],
|
||||
['[1,2,3]', true, [1, 2, 3]],
|
||||
[
|
||||
'[{"id": 556179961825226750}]',
|
||||
true,
|
||||
[['id' => 556179961825226750]],
|
||||
],
|
||||
['[]', false, []],
|
||||
['[1,2,3]', false, [1, 2, 3]],
|
||||
[
|
||||
'[{"id": 556179961825226750}]',
|
||||
false,
|
||||
[
|
||||
$this->getClass(function ($object) {
|
||||
$object->id = 556179961825226750;
|
||||
return $object;
|
||||
}),
|
||||
],
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param callable $callable
|
||||
*
|
||||
* @return stdClass
|
||||
*/
|
||||
private function getClass(\Closure $callable)
|
||||
{
|
||||
$object = new \stdClass();
|
||||
|
||||
return $callable($object);
|
||||
}
|
||||
}
|
10
vendor/abraham/twitteroauth/tests/bootstrap.php
vendored
10
vendor/abraham/twitteroauth/tests/bootstrap.php
vendored
|
@ -1,10 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
require 'vars.php';
|
||||
require 'mocks.php';
|
||||
|
||||
\VCR\VCR::configure()->setStorage('json');
|
||||
\VCR\VCR::turnOn();
|
|
@ -1,40 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "DELETE",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/direct_messages\/events\/destroy.json?id=1254206523385032714",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"dY4KEaTg5Y6Bv4JlofNCjoArx%2F4%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "204",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-security-policy": "default-src 'self'; connect-src 'self'; font-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com data:; frame-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com; img-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com data:; media-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com; object-src 'none'; script-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com; style-src 'self' https:\/\/*.twimg.com https:\/\/twitter.com https:\/\/ton.twitter.com; report-uri https:\/\/twitter.com\/i\/csp_report?a=NVQWGYLXFVSG2%3D%3D%3D&ro=false;",
|
||||
"content-type": "text\/html;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:52 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:52 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_asAbLVWtv6V2+ARemo0VNA==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:52 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786111220677678; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:52 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "204 No Content",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "5cbff6bc4105c0040c4738daac7adcf4",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "37",
|
||||
"x-transaction": "00f02f6c00e12e76",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
}
|
||||
}
|
||||
}]
|
|
@ -1,46 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/account\/verify_credentials.json?include_email=true&include_entities=false",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"k8h8edFh9R2W3DCNJy5Nb07tWo0%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "773",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_PPOKPD3f\/ek9QM3+ySQxjw==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786107181888587; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "7509696bc24b6d9d09d283b844a3c232",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-rate-limit-limit": "75",
|
||||
"x-rate-limit-remaining": "73",
|
||||
"x-rate-limit-reset": "1587861613",
|
||||
"x-response-time": "46",
|
||||
"x-transaction": "00cd4f6300163d67",
|
||||
"x-twitter-response-tags": "BouncerExempt, BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":0,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":5,\"lang\":null,\"status\":{\"created_at\":\"Tue Dec 01 18:38:07 +0000 2009\",\"id\":6242973112,\"id_str\":\"6242973112\",\"text\":\"Test!\",\"truncated\":false,\"source\":\"\\u003ca href=\\\"http:\\\/\\\/twitter.com\\\" rel=\\\"nofollow\\\"\\u003eTwitter Web Client\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":2258,\"favorite_count\":75,\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"},\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\",\"suspended\":false,\"needs_phone_verification\":false,\"email\":\"4braham+oauthlibtest@gmail.com\"}"
|
||||
}
|
||||
}]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,46 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/oauth2\/token",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "Basic YXdKZk5ENHpGR2FwR09GS2Zkamc6TGZrbU5TUlBJWHdrUWtaVUI5RE5XU3p4NUxJYWl2U2tuVjRyeG5nb2pKYw==",
|
||||
"Expect": null
|
||||
},
|
||||
"body": "grant_type=client_credentials"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "152",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:09 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:09 GMT",
|
||||
"ml": "A",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_NF00blSG9GZe8w8KpZvUDA==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:09 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, guest_id=v1%3A158786106988547101; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:09 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-connection-hash": "34e2373c53e7f9e0e80fe6af071dd6b8",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "DENY",
|
||||
"x-response-time": "20",
|
||||
"x-transaction": "007d4d19009f7a59",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-ua-compatible": "IE=edge,chrome=1",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"token_type\":\"bearer\",\"access_token\":\"AAAAAAAAAAAAAAAAAAAAAFobAAAAAAAAjPes3FlPiFKh9HaIg%2Fw80waE0s8%3DQqxjhHDgZyjihGIK7olugzbpS0R1Gg8KNhzmer58a6oVbsSGc0\"}"
|
||||
}
|
||||
}]
|
|
@ -1,46 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/oauth2\/invalidate_token",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "Basic YXdKZk5ENHpGR2FwR09GS2Zkamc6TGZrbU5TUlBJWHdrUWtaVUI5RE5XU3p4NUxJYWl2U2tuVjRyeG5nb2pKYw==",
|
||||
"Expect": null
|
||||
},
|
||||
"body": "access_token=AAAAAAAAAAAAAAAAAAAAAFobAAAAAAAAjPes3FlPiFKh9HaIg%2Fw80waE0s8%3DQqxjhHDgZyjihGIK7olugzbpS0R1Gg8KNhzmer58a6oVbsSGc0"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "135",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:10 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:10 GMT",
|
||||
"ml": "A",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_8Iv+DqoXk8DVAVDoUVltSA==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:10 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, guest_id=v1%3A158786107054950627; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:10 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-connection-hash": "18b7327592f746230c1c016c344dd14d",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "DENY",
|
||||
"x-response-time": "19",
|
||||
"x-transaction": "00c5257f00b7d371",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-ua-compatible": "IE=edge,chrome=1",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"access_token\":\"AAAAAAAAAAAAAAAAAAAAAFobAAAAAAAAjPes3FlPiFKh9HaIg%2Fw80waE0s8%3DQqxjhHDgZyjihGIK7olugzbpS0R1Gg8KNhzmer58a6oVbsSGc0\"}"
|
||||
}
|
||||
}]
|
|
@ -1,45 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/oauth\/access_token",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"CE545gAAAAAAABtaAAABcbPlJBQ\", oauth_verifier=\"fake_oauth_verifier\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"0bcdtKs3nffzbE5abwaVjCI1HPw%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "401",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "93",
|
||||
"content-security-policy": "default-src 'none'; connect-src 'self'; font-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com data:; frame-src 'self' twitter:; img-src https:\/\/abs.twimg.com https:\/\/*.twimg.com https:\/\/pbs.twimg.com data:; media-src 'none'; object-src 'none'; script-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com https:\/\/twitter.com https:\/\/mobile.twitter.com; style-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com; report-uri https:\/\/twitter.com\/i\/csp_report?a=NVQWGYLXFVWG6Z3JNY%3D%3D%3D%3D%3D%3D&ro=false;",
|
||||
"content-type": "text\/html;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"ml": "A",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_n0ZAgT2oLIc0HI23qMIGCA==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, guest_id=v1%3A158786107147893563; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "401 Unauthorized",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"www-authenticate": "OAuth realm=\"https:\/\/api.twitter.com\"",
|
||||
"x-connection-hash": "90157d4bdfce3a9b90fd408819c767bc",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "41",
|
||||
"x-transaction": "0080cead006a758d",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-ua-compatible": "IE=edge,chrome=1",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "Error processing your OAuth request: Invalid oauth_verifier parameter"
|
||||
}
|
||||
}]
|
|
@ -1,44 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/oauth\/request_token",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_callback=\"https%3A%2F%2Ftwitteroauth.com%2Fcallback.php\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"LR7ZVqY%2Fcdisw1w3zssKI6Yjbls%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "127",
|
||||
"content-security-policy": "default-src 'none'; connect-src 'self'; font-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com data:; frame-src 'self' twitter:; img-src https:\/\/abs.twimg.com https:\/\/*.twimg.com https:\/\/pbs.twimg.com data:; media-src 'none'; object-src 'none'; script-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com https:\/\/twitter.com https:\/\/mobile.twitter.com; style-src https:\/\/abs.twimg.com https:\/\/abs-0.twimg.com; report-uri https:\/\/twitter.com\/i\/csp_report?a=NVQWGYLXFVWG6Z3JNY%3D%3D%3D%3D%3D%3D&ro=false;",
|
||||
"content-type": "text\/html;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:10 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:10 GMT",
|
||||
"ml": "A",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_mrnWVDThJvkLcAe4hmX0ng==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:10 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, guest_id=v1%3A158786107085601318; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:10 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-connection-hash": "bf00d267c647790cd34d8cd4a28f9895",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "24",
|
||||
"x-transaction": "0095391f006dd965",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-ua-compatible": "IE=edge,chrome=1",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "oauth_token=CE545gAAAAAAABtaAAABcbPlJBQ&oauth_token_secret=tTVYBva8AlQu0JxVudzbf9oHXAbIARg5&oauth_callback_confirmed=true"
|
||||
}
|
||||
}]
|
|
@ -1,43 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/oauth\/request_token",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"CONSUMER_KEY\", oauth_callback=\"https%3A%2F%2Ftwitteroauth.com%2Fcallback.php\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"wOUt6ZyVGpWnQhsHNWqcr%2BpOWAw%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "401",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "89",
|
||||
"content-type": "application\/json; charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:11 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_Vz8Os736+fzUwkQGIeIKuw==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, guest_id=v1%3A158786107116335546; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:11 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "401 Unauthorized",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"www-authenticate": "OAuth realm=\"https:\/\/api.twitter.com\", api_error_code=32",
|
||||
"x-connection-hash": "d620dbb5b35e124662532c3ef8e89c88",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "6",
|
||||
"x-transaction": "00bf1248004cdafa",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"errors\":[{\"code\":32,\"message\":\"Could not authenticate you.\"}]}"
|
||||
}
|
||||
}]
|
|
@ -1,46 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/direct_messages\/events\/new.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"3457NqeumGmcalZLF091L9lt7F8%3D\"",
|
||||
"Expect": null,
|
||||
"Content-type": "application\/json"
|
||||
},
|
||||
"body": "{\"event\":{\"type\":\"message_create\",\"message_create\":{\"target\":{\"recipient_id\":\"93915746\"},\"message_data\":{\"text\":\"Hello World!\"}}}}"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "206",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_Tfqxs0gur2QR4FFIZ3Wq6w==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786111185015666; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "bb4f30d1c6406b2cd5d25f20fccfdc1a",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "70",
|
||||
"x-transaction": "0057fa4c00fb95a1",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"event\":{\"type\":\"message_create\",\"id\":\"1254206523385032714\",\"created_timestamp\":\"1587861111862\",\"message_create\":{\"target\":{\"recipient_id\":\"93915746\"},\"sender_id\":\"93915746\",\"message_data\":{\"text\":\"Hello World!\",\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]}}}}}"
|
||||
}
|
||||
}]
|
|
@ -1,45 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/favorites\/create.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"EA30eIQPgat0Aw%2F59GyltEiE4Xg%3D\"",
|
||||
"Expect": null
|
||||
},
|
||||
"body": "id=6242973112"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "755",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_Jz87HIDSEIpDevFMBlDD7g==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786111115490266; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "7368af4d238e5c36df5379afb1bed3af",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "72",
|
||||
"x-transaction": "0012beac0086638b",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"created_at\":\"Tue Dec 01 18:38:07 +0000 2009\",\"id\":6242973112,\"id_str\":\"6242973112\",\"text\":\"Test!\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"http:\\\/\\\/twitter.com\\\" rel=\\\"nofollow\\\"\\u003eTwitter Web Client\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":1,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":5,\"lang\":null,\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\"},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":2258,\"favorite_count\":76,\"favorited\":true,\"retweeted\":false,\"lang\":\"en\"}"
|
||||
}
|
||||
}]
|
|
@ -1,45 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/favorites\/destroy.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"w3Nti04O5BMi8bySXjmO8%2BW5Pus%3D\"",
|
||||
"Expect": null
|
||||
},
|
||||
"body": "id=6242973112"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "753",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:51 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_s1J1pMUNrQO4\/v371oE9AQ==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786111151392082; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:51 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "a0dc865f09447e41b0d77e9eed981519",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "44",
|
||||
"x-transaction": "005d9083009bd4c9",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"created_at\":\"Tue Dec 01 18:38:07 +0000 2009\",\"id\":6242973112,\"id_str\":\"6242973112\",\"text\":\"Test!\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"http:\\\/\\\/twitter.com\\\" rel=\\\"nofollow\\\"\\u003eTwitter Web Client\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":0,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":5,\"lang\":null,\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\"},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":2258,\"favorite_count\":75,\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"}"
|
||||
}
|
||||
}]
|
|
@ -1 +0,0 @@
|
|||
[]
|
|
@ -1,43 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/statuses\/destroy\/1254206657548226561.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"kyOKi3x9Ar3foSG5%2BN9XzBbnIOw%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "804",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:32:24 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:32:24 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_juPKvfSeQeQoZAVeLglnhA==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:32:24 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786114418847477; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:32:24 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "f4375157b19d6cd139b9917a6d76d0b0",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "198",
|
||||
"x-transaction": "00f3e731001ccb87",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"created_at\":\"Sun Apr 26 00:32:23 +0000 2020\",\"id\":1254206657548226561,\"id_str\":\"1254206657548226561\",\"text\":\"x\\u3053\\u3093\\u306b\\u3061\\u306f\\u4e16\\u754c 1587861062\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"https:\\\/\\\/twitteroauth.com\\\" rel=\\\"nofollow\\\"\\u003eTwitterOAuth dev\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":0,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":6,\"lang\":null,\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\"},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":0,\"favorite_count\":0,\"favorited\":false,\"retweeted\":false,\"lang\":\"ja\"}"
|
||||
}
|
||||
}]
|
|
@ -1,45 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/statuses\/update.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"zIzkM9jxroYElpL1fPTyYnYE%2Bys%3D\"",
|
||||
"Expect": null
|
||||
},
|
||||
"body": "status=x%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E4%B8%96%E7%95%8C%201587861062"
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "804",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:32:23 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:32:23 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_8nFfK\/V8KyJDl1aminWCQw==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:32:23 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786114384224672; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:32:23 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "54c0be65e0c80b57d5b7c895e58061c8",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-response-time": "55",
|
||||
"x-transaction": "00eb7dbc0057ef33",
|
||||
"x-tsa-request-body-time": "0",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"created_at\":\"Sun Apr 26 00:32:23 +0000 2020\",\"id\":1254206657548226561,\"id_str\":\"1254206657548226561\",\"text\":\"x\\u3053\\u3093\\u306b\\u3061\\u306f\\u4e16\\u754c 1587861062\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"https:\\\/\\\/twitteroauth.com\\\" rel=\\\"nofollow\\\"\\u003eTwitterOAuth dev\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":0,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":6,\"lang\":null,\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\"},\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":0,\"favorite_count\":0,\"favorited\":false,\"retweeted\":false,\"lang\":\"ja\"}"
|
||||
}
|
||||
}]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
[]
|
|
@ -1,46 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/friendships\/show.json?target_screen_name=twitterapi",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"TzPCDLbvxIAlxBqg5Fpf4JZpFJo%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "2",
|
||||
"code": "200",
|
||||
"message": ""
|
||||
},
|
||||
"headers": {
|
||||
"cache-control": "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
|
||||
"content-disposition": "attachment; filename=json.json",
|
||||
"content-encoding": "gzip",
|
||||
"content-length": "246",
|
||||
"content-type": "application\/json;charset=utf-8",
|
||||
"date": "Sun, 26 Apr 2020 00:31:09 GMT",
|
||||
"expires": "Tue, 31 Mar 1981 05:00:00 GMT",
|
||||
"last-modified": "Sun, 26 Apr 2020 00:31:09 GMT",
|
||||
"pragma": "no-cache",
|
||||
"server": "tsa_b",
|
||||
"set-cookie": "personalization_id=\"v1_1Yr9ogG1fxy1wdDOY63jAw==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:09 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None, lang=en; Path=\/, guest_id=v1%3A158786106956820884; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:09 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None",
|
||||
"status": "200 OK",
|
||||
"strict-transport-security": "max-age=631138519",
|
||||
"x-access-level": "read-write-directmessages",
|
||||
"x-connection-hash": "e8b1e309982b5c1d1adedc814fa2e6c3",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-frame-options": "SAMEORIGIN",
|
||||
"x-rate-limit-limit": "180",
|
||||
"x-rate-limit-remaining": "178",
|
||||
"x-rate-limit-reset": "1587861610",
|
||||
"x-response-time": "20",
|
||||
"x-transaction": "0075ffd2008ff583",
|
||||
"x-twitter-response-tags": "BouncerCompliant",
|
||||
"x-xss-protection": "0"
|
||||
},
|
||||
"body": "{\"relationship\":{\"source\":{\"id\":93915746,\"id_str\":\"93915746\",\"screen_name\":\"oauthlibtest\",\"following\":false,\"followed_by\":false,\"live_following\":false,\"following_received\":false,\"following_requested\":false,\"notifications_enabled\":false,\"can_dm\":false,\"blocking\":false,\"blocked_by\":false,\"muting\":false,\"want_retweets\":false,\"all_replies\":false,\"marked_spam\":false},\"target\":{\"id\":6253282,\"id_str\":\"6253282\",\"screen_name\":\"TwitterAPI\",\"following\":false,\"followed_by\":false,\"following_received\":false,\"following_requested\":false}}}"
|
||||
}
|
||||
}]
|
|
@ -1,20 +0,0 @@
|
|||
[{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https:\/\/api.twitter.com\/1.1\/account\/verify_credentials.json",
|
||||
"headers": {
|
||||
"Host": "api.twitter.com",
|
||||
"Accept": "application\/json",
|
||||
"Authorization": "OAuth oauth_version=\"1.0\", oauth_nonce=\"2b67ebbeace76543f356ba8bbd59abde\", oauth_timestamp=\"1587861062\", oauth_consumer_key=\"awJfND4zFGapGOFKfdjg\", oauth_token=\"93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"ZN1bM0df5EPRy1d7oYcoZfj3Mpw%3D\"",
|
||||
"Expect": null
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": {
|
||||
"http_version": "1.1",
|
||||
"code": "200",
|
||||
"message": "OK"
|
||||
},
|
||||
"body": "HTTP\/2 200 \r\ncache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0\r\ncontent-disposition: attachment; filename=json.json\r\ncontent-encoding: gzip\r\ncontent-length: 778\r\ncontent-type: application\/json;charset=utf-8\r\ndate: Sun, 26 Apr 2020 00:31:49 GMT\r\nexpires: Tue, 31 Mar 1981 05:00:00 GMT\r\nlast-modified: Sun, 26 Apr 2020 00:31:49 GMT\r\npragma: no-cache\r\nserver: tsa_a\r\nset-cookie: personalization_id=\"v1_hI7rl+lJjoy5n7HgyNo9LQ==\"; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:49 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None\r\nset-cookie: lang=en; Path=\/\r\nset-cookie: guest_id=v1%3A158786110929931313; Max-Age=63072000; Expires=Tue, 26 Apr 2022 00:31:49 GMT; Path=\/; Domain=.twitter.com; Secure; SameSite=None\r\nstatus: 200 OK\r\nstrict-transport-security: max-age=631138519\r\nx-access-level: read-write-directmessages\r\nx-connection-hash: 18e8b1b5df2ee964aebf8f85055ada9c\r\nx-content-type-options: nosniff\r\nx-frame-options: SAMEORIGIN\r\nx-rate-limit-limit: 75\r\nx-rate-limit-remaining: 72\r\nx-rate-limit-reset: 1587861178\r\nx-response-time: 34\r\nx-transaction: 00716cfd00f6fd8d\r\nx-twitter-response-tags: BouncerExempt\r\nx-twitter-response-tags: BouncerCompliant\r\nx-xss-protection: 0\r\n\r\n{\"id\":93915746,\"id_str\":\"93915746\",\"name\":\"OAuth Library Test\",\"screen_name\":\"oauthlibtest\",\"location\":\"\",\"description\":\"\",\"url\":null,\"entities\":{\"description\":{\"urls\":[]}},\"protected\":false,\"followers_count\":58,\"friends_count\":2,\"listed_count\":6,\"created_at\":\"Tue Dec 01 18:37:44 +0000 2009\",\"favourites_count\":0,\"utc_offset\":null,\"time_zone\":null,\"geo_enabled\":true,\"verified\":false,\"statuses_count\":1,\"lang\":null,\"status\":{\"created_at\":\"Tue Dec 01 18:38:07 +0000 2009\",\"id\":6242973112,\"id_str\":\"6242973112\",\"text\":\"Test!\",\"truncated\":false,\"entities\":{\"hashtags\":[],\"symbols\":[],\"user_mentions\":[],\"urls\":[]},\"source\":\"\\u003ca href=\\\"http:\\\/\\\/twitter.com\\\" rel=\\\"nofollow\\\"\\u003eTwitter Web Client\\u003c\\\/a\\u003e\",\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"geo\":null,\"coordinates\":null,\"place\":null,\"contributors\":null,\"is_quote_status\":false,\"retweet_count\":2258,\"favorite_count\":74,\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"},\"contributors_enabled\":false,\"is_translator\":false,\"is_translation_enabled\":false,\"profile_background_color\":\"C0DEED\",\"profile_background_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/images\\\/themes\\\/theme1\\\/bg.png\",\"profile_background_tile\":false,\"profile_image_url\":\"http:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_image_url_https\":\"https:\\\/\\\/abs.twimg.com\\\/sticky\\\/default_profile_images\\\/default_profile_normal.png\",\"profile_link_color\":\"1DA1F2\",\"profile_sidebar_border_color\":\"C0DEED\",\"profile_sidebar_fill_color\":\"DDEEF6\",\"profile_text_color\":\"333333\",\"profile_use_background_image\":true,\"has_extended_profile\":false,\"default_profile\":true,\"default_profile_image\":true,\"following\":false,\"follow_request_sent\":false,\"notifications\":false,\"translator_type\":\"none\",\"suspended\":false,\"needs_phone_verification\":false}"
|
||||
}
|
||||
}]
|
BIN
vendor/abraham/twitteroauth/tests/kitten.jpg
vendored
BIN
vendor/abraham/twitteroauth/tests/kitten.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 211 KiB |
21
vendor/abraham/twitteroauth/tests/mocks.php
vendored
21
vendor/abraham/twitteroauth/tests/mocks.php
vendored
|
@ -1,21 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Abraham\TwitterOAuth;
|
||||
|
||||
// Mock time and random values for consistent tests with VCR
|
||||
function time()
|
||||
{
|
||||
return MOCK_TIME;
|
||||
}
|
||||
|
||||
function microtime()
|
||||
{
|
||||
return 'FAKE_MICROTIME';
|
||||
}
|
||||
|
||||
function mt_rand()
|
||||
{
|
||||
return 123456789;
|
||||
}
|
32
vendor/abraham/twitteroauth/tests/vars.php
vendored
32
vendor/abraham/twitteroauth/tests/vars.php
vendored
|
@ -1,32 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
// These keys have been revoked and are only valid for teh VCR cassettes.
|
||||
// To request new VCR cassettes please open an issue: https://github.com/abraham/twitteroauth/issues
|
||||
|
||||
// To update VCR cassettes
|
||||
// 1. Delete all `tests/fixtures/*` files
|
||||
// `rm tests/fixtures/*`
|
||||
// 2. Set application and suer authorization credentials below
|
||||
// 3. Set MOCK_TIME to current unix time
|
||||
// 4. Run PHPUnit tests
|
||||
// 5. Reset application credentials on Twitter dashboard
|
||||
// 6. Commit new cassettes and revoked credentials
|
||||
|
||||
// TwitterOAuth dev
|
||||
define('CONSUMER_KEY', 'awJfND4zFGapGOFKfdjg');
|
||||
define('CONSUMER_SECRET', 'LfkmNSRPIXwkQkZUB9DNWSzx5LIaivSknV4rxngojJc');
|
||||
define('OAUTH_CALLBACK', 'https://twitteroauth.com/callback.php');
|
||||
|
||||
// oauthlibtest
|
||||
define('ACCESS_TOKEN', '93915746-KjE3c27dCt8awONxuUAaJ00yishXXwcH5CdLBnO1x');
|
||||
define('ACCESS_TOKEN_SECRET', 'vurSbgJw6nHvv7xBfqKnBLWEQekOi59KFkXDLiY3Vqn3u');
|
||||
|
||||
// Timestamp the VCR cassettes were last updated
|
||||
define('MOCK_TIME', 1587861062);
|
||||
|
||||
// https://free-proxy-list.net/
|
||||
define('PROXY', '12.218.209.130');
|
||||
define('PROXYUSERPWD', '');
|
||||
define('PROXYPORT', '53281');
|
BIN
vendor/abraham/twitteroauth/tests/video.mp4
vendored
BIN
vendor/abraham/twitteroauth/tests/video.mp4
vendored
Binary file not shown.
5
vendor/autoload.php
vendored
5
vendor/autoload.php
vendored
|
@ -2,6 +2,11 @@
|
|||
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
if (PHP_VERSION_ID < 50600) {
|
||||
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitc3a61dba26daada128f5891f1a57c504::getLoader();
|
||||
|
|
6
vendor/aws/aws-sdk-php/composer.json
vendored
6
vendor/aws/aws-sdk-php/composer.json
vendored
|
@ -17,8 +17,8 @@
|
|||
},
|
||||
"require": {
|
||||
"php": ">=5.5",
|
||||
"guzzlehttp/guzzle": "^5.3.3|^6.2.1|^7.0",
|
||||
"guzzlehttp/psr7": "^1.7.0|^2.0",
|
||||
"guzzlehttp/guzzle": "^5.3.3 || ^6.2.1 || ^7.0",
|
||||
"guzzlehttp/psr7": "^1.7.0 || ^2.1.1",
|
||||
"guzzlehttp/promises": "^1.4.0",
|
||||
"mtdowling/jmespath.php": "^2.6",
|
||||
"ext-pcre": "*",
|
||||
|
@ -31,7 +31,7 @@
|
|||
"ext-dom": "*",
|
||||
"ext-pcntl": "*",
|
||||
"ext-sockets": "*",
|
||||
"phpunit/phpunit": "^4.8.35|^5.4.3",
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.6.3",
|
||||
"behat/behat": "~3.0",
|
||||
"doctrine/cache": "~1.4",
|
||||
"aws/aws-php-sns-message-validator": "~1.0",
|
||||
|
|
|
@ -12,7 +12,7 @@ class Ec2ParamBuilder extends QueryParamBuilder
|
|||
protected function queryName(Shape $shape, $default = null)
|
||||
{
|
||||
return ($shape['queryName']
|
||||
?: ucfirst($shape['locationName']))
|
||||
?: ucfirst(@$shape['locationName'] ?: ""))
|
||||
?: $default;
|
||||
}
|
||||
|
||||
|
|
|
@ -130,7 +130,10 @@ abstract class RestSerializer
|
|||
? $member['timestampFormat']
|
||||
: 'rfc822';
|
||||
$value = TimestampShape::format($value, $timestampFormat);
|
||||
} elseif ($member->getType() === 'boolean') {
|
||||
$value = $value ? 'true' : 'false';
|
||||
}
|
||||
|
||||
if ($member['jsonvalue']) {
|
||||
$value = json_encode($value);
|
||||
if (empty($value) && JSON_ERROR_NONE !== json_last_error()) {
|
||||
|
|
|
@ -11,6 +11,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createAutoScalingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result createObservabilityConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createObservabilityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createService(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createServiceAsync(array $args = [])
|
||||
* @method \Aws\Result createVpcConnector(array $args = [])
|
||||
|
@ -19,6 +21,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteAutoScalingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result deleteObservabilityConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteObservabilityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteService(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteServiceAsync(array $args = [])
|
||||
* @method \Aws\Result deleteVpcConnector(array $args = [])
|
||||
|
@ -27,6 +31,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeAutoScalingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result describeCustomDomains(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeCustomDomainsAsync(array $args = [])
|
||||
* @method \Aws\Result describeObservabilityConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeObservabilityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result describeService(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeServiceAsync(array $args = [])
|
||||
* @method \Aws\Result describeVpcConnector(array $args = [])
|
||||
|
@ -37,6 +43,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listAutoScalingConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listConnections(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listConnectionsAsync(array $args = [])
|
||||
* @method \Aws\Result listObservabilityConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listObservabilityConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listOperations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listOperationsAsync(array $args = [])
|
||||
* @method \Aws\Result listServices(array $args = [])
|
||||
|
|
|
@ -69,6 +69,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateDataCatalog(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateDataCatalogAsync(array $args = [])
|
||||
* @method \Aws\Result updateNamedQuery(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateNamedQueryAsync(array $args = [])
|
||||
* @method \Aws\Result updatePreparedStatement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePreparedStatementAsync(array $args = [])
|
||||
* @method \Aws\Result updateWorkGroup(array $args = [])
|
||||
|
|
15
vendor/aws/aws-sdk-php/src/AwsClient.php
vendored
15
vendor/aws/aws-sdk-php/src/AwsClient.php
vendored
|
@ -210,6 +210,7 @@ class AwsClient implements AwsClientInterface
|
|||
$this->addEndpointDiscoveryMiddleware($config, $args);
|
||||
$this->loadAliases();
|
||||
$this->addStreamRequestPayload();
|
||||
$this->addRecursionDetection();
|
||||
|
||||
if (isset($args['with_resolved'])) {
|
||||
$args['with_resolved']($config);
|
||||
|
@ -363,6 +364,11 @@ class AwsClient implements AwsClientInterface
|
|||
$version = 'v4-unsigned-body';
|
||||
break;
|
||||
}
|
||||
if (isset($c['@context']['signature_version'])) {
|
||||
if ($c['@context']['signature_version'] == 'v4a') {
|
||||
$version = 'v4a';
|
||||
}
|
||||
}
|
||||
return SignatureProvider::resolve($provider, $version, $name, $region);
|
||||
};
|
||||
$this->handlerList->appendSign(
|
||||
|
@ -404,6 +410,15 @@ class AwsClient implements AwsClientInterface
|
|||
);
|
||||
}
|
||||
|
||||
private function addRecursionDetection()
|
||||
{
|
||||
// Add recursion detection header to requests
|
||||
// originating in supported Lambda runtimes
|
||||
$this->handlerList->appendBuild(
|
||||
Middleware::recursionDetection(), 'recursion-detection'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a service model and doc model with any necessary changes
|
||||
* applied.
|
||||
|
|
69
vendor/aws/aws-sdk-php/src/BillingConductor/BillingConductorClient.php
vendored
Normal file
69
vendor/aws/aws-sdk-php/src/BillingConductor/BillingConductorClient.php
vendored
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
namespace Aws\BillingConductor;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **AWSBillingConductor** service.
|
||||
* @method \Aws\Result associateAccounts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateAccountsAsync(array $args = [])
|
||||
* @method \Aws\Result associatePricingRules(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associatePricingRulesAsync(array $args = [])
|
||||
* @method \Aws\Result batchAssociateResourcesToCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchAssociateResourcesToCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result batchDisassociateResourcesFromCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchDisassociateResourcesFromCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result createBillingGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createBillingGroupAsync(array $args = [])
|
||||
* @method \Aws\Result createCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result createPricingPlan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createPricingPlanAsync(array $args = [])
|
||||
* @method \Aws\Result createPricingRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createPricingRuleAsync(array $args = [])
|
||||
* @method \Aws\Result deleteBillingGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteBillingGroupAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result deletePricingPlan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePricingPlanAsync(array $args = [])
|
||||
* @method \Aws\Result deletePricingRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePricingRuleAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateAccounts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateAccountsAsync(array $args = [])
|
||||
* @method \Aws\Result disassociatePricingRules(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociatePricingRulesAsync(array $args = [])
|
||||
* @method \Aws\Result listAccountAssociations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAccountAssociationsAsync(array $args = [])
|
||||
* @method \Aws\Result listBillingGroupCostReports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBillingGroupCostReportsAsync(array $args = [])
|
||||
* @method \Aws\Result listBillingGroups(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBillingGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result listCustomLineItems(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCustomLineItemsAsync(array $args = [])
|
||||
* @method \Aws\Result listPricingPlans(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPricingPlansAsync(array $args = [])
|
||||
* @method \Aws\Result listPricingPlansAssociatedWithPricingRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPricingPlansAssociatedWithPricingRuleAsync(array $args = [])
|
||||
* @method \Aws\Result listPricingRules(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPricingRulesAsync(array $args = [])
|
||||
* @method \Aws\Result listPricingRulesAssociatedToPricingPlan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPricingRulesAssociatedToPricingPlanAsync(array $args = [])
|
||||
* @method \Aws\Result listResourcesAssociatedToCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listResourcesAssociatedToCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateBillingGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateBillingGroupAsync(array $args = [])
|
||||
* @method \Aws\Result updateCustomLineItem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateCustomLineItemAsync(array $args = [])
|
||||
* @method \Aws\Result updatePricingPlan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePricingPlanAsync(array $args = [])
|
||||
* @method \Aws\Result updatePricingRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePricingRuleAsync(array $args = [])
|
||||
*/
|
||||
class BillingConductorClient extends AwsClient {}
|
9
vendor/aws/aws-sdk-php/src/BillingConductor/Exception/BillingConductorException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/BillingConductor/Exception/BillingConductorException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\BillingConductor\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **AWSBillingConductor** service.
|
||||
*/
|
||||
class BillingConductorException extends AwsException {}
|
23
vendor/aws/aws-sdk-php/src/ChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.php
vendored
Normal file
23
vendor/aws/aws-sdk-php/src/ChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.php
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
namespace Aws\ChimeSDKMediaPipelines;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **Amazon Chime SDK Media Pipelines** service.
|
||||
* @method \Aws\Result createMediaCapturePipeline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createMediaCapturePipelineAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMediaCapturePipeline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMediaCapturePipelineAsync(array $args = [])
|
||||
* @method \Aws\Result getMediaCapturePipeline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getMediaCapturePipelineAsync(array $args = [])
|
||||
* @method \Aws\Result listMediaCapturePipelines(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMediaCapturePipelinesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
*/
|
||||
class ChimeSDKMediaPipelinesClient extends AwsClient {}
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\ChimeSDKMediaPipelines\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **Amazon Chime SDK Media Pipelines** service.
|
||||
*/
|
||||
class ChimeSDKMediaPipelinesException extends AwsException {}
|
|
@ -55,6 +55,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeResourcePolicyAsync(array $args = [])
|
||||
* @method \Aws\Result describeSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result describeTargetedSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeTargetedSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result describeTopicsDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeTopicsDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result detectDominantLanguage(array $args = [])
|
||||
|
@ -97,6 +99,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listSentimentDetectionJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result listTargetedSentimentDetectionJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTargetedSentimentDetectionJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listTopicsDetectionJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTopicsDetectionJobsAsync(array $args = [])
|
||||
* @method \Aws\Result putResourcePolicy(array $args = [])
|
||||
|
@ -115,6 +119,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise startPiiEntitiesDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result startSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result startTargetedSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startTargetedSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result startTopicsDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startTopicsDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result stopDominantLanguageDetectionJob(array $args = [])
|
||||
|
@ -129,6 +135,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise stopPiiEntitiesDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result stopSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result stopTargetedSentimentDetectionJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopTargetedSentimentDetectionJobAsync(array $args = [])
|
||||
* @method \Aws\Result stopTrainingDocumentClassifier(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopTrainingDocumentClassifierAsync(array $args = [])
|
||||
* @method \Aws\Result stopTrainingEntityRecognizer(array $args = [])
|
||||
|
|
|
@ -114,12 +114,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getConformancePackComplianceDetailsAsync(array $args = [])
|
||||
* @method \Aws\Result getConformancePackComplianceSummary(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getConformancePackComplianceSummaryAsync(array $args = [])
|
||||
* @method \Aws\Result getCustomRulePolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCustomRulePolicyAsync(array $args = [])
|
||||
* @method \Aws\Result getDiscoveredResourceCounts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getDiscoveredResourceCountsAsync(array $args = [])
|
||||
* @method \Aws\Result getOrganizationConfigRuleDetailedStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getOrganizationConfigRuleDetailedStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getOrganizationConformancePackDetailedStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getOrganizationConformancePackDetailedStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getOrganizationCustomRulePolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getOrganizationCustomRulePolicyAsync(array $args = [])
|
||||
* @method \Aws\Result getResourceConfigHistory(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getResourceConfigHistoryAsync(array $args = [])
|
||||
* @method \Aws\Result getStoredQuery(array $args = [])
|
||||
|
|
|
@ -17,12 +17,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise associateLambdaFunctionAsync(array $args = [])
|
||||
* @method \Aws\Result associateLexBot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateLexBotAsync(array $args = [])
|
||||
* @method \Aws\Result associatePhoneNumberContactFlow(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associatePhoneNumberContactFlowAsync(array $args = [])
|
||||
* @method \Aws\Result associateQueueQuickConnects(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateQueueQuickConnectsAsync(array $args = [])
|
||||
* @method \Aws\Result associateRoutingProfileQueues(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateRoutingProfileQueuesAsync(array $args = [])
|
||||
* @method \Aws\Result associateSecurityKey(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateSecurityKeyAsync(array $args = [])
|
||||
* @method \Aws\Result claimPhoneNumber(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise claimPhoneNumberAsync(array $args = [])
|
||||
* @method \Aws\Result createAgentStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAgentStatusAsync(array $args = [])
|
||||
* @method \Aws\Result createContactFlow(array $args = [])
|
||||
|
@ -89,6 +93,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeInstanceAttributeAsync(array $args = [])
|
||||
* @method \Aws\Result describeInstanceStorageConfig(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstanceStorageConfigAsync(array $args = [])
|
||||
* @method \Aws\Result describePhoneNumber(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePhoneNumberAsync(array $args = [])
|
||||
* @method \Aws\Result describeQueue(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeQueueAsync(array $args = [])
|
||||
* @method \Aws\Result describeQuickConnect(array $args = [])
|
||||
|
@ -115,6 +121,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise disassociateLambdaFunctionAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateLexBot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateLexBotAsync(array $args = [])
|
||||
* @method \Aws\Result disassociatePhoneNumberContactFlow(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociatePhoneNumberContactFlowAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateQueueQuickConnects(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateQueueQuickConnectsAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateRoutingProfileQueues(array $args = [])
|
||||
|
@ -159,6 +167,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listLexBotsAsync(array $args = [])
|
||||
* @method \Aws\Result listPhoneNumbers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPhoneNumbersAsync(array $args = [])
|
||||
* @method \Aws\Result listPhoneNumbersV2(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPhoneNumbersV2Async(array $args = [])
|
||||
* @method \Aws\Result listPrompts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPromptsAsync(array $args = [])
|
||||
* @method \Aws\Result listQueueQuickConnects(array $args = [])
|
||||
|
@ -185,8 +195,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listUserHierarchyGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result listUsers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listUsersAsync(array $args = [])
|
||||
* @method \Aws\Result putUserStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise putUserStatusAsync(array $args = [])
|
||||
* @method \Aws\Result releasePhoneNumber(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise releasePhoneNumberAsync(array $args = [])
|
||||
* @method \Aws\Result resumeContactRecording(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resumeContactRecordingAsync(array $args = [])
|
||||
* @method \Aws\Result searchAvailablePhoneNumbers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchAvailablePhoneNumbersAsync(array $args = [])
|
||||
* @method \Aws\Result searchUsers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchUsersAsync(array $args = [])
|
||||
* @method \Aws\Result searchVocabularies(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchVocabulariesAsync(array $args = [])
|
||||
* @method \Aws\Result startChatContact(array $args = [])
|
||||
|
@ -235,6 +253,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise updateInstanceAttributeAsync(array $args = [])
|
||||
* @method \Aws\Result updateInstanceStorageConfig(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateInstanceStorageConfigAsync(array $args = [])
|
||||
* @method \Aws\Result updatePhoneNumber(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePhoneNumberAsync(array $args = [])
|
||||
* @method \Aws\Result updateQueueHoursOfOperation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateQueueHoursOfOperationAsync(array $args = [])
|
||||
* @method \Aws\Result updateQueueMaxContacts(array $args = [])
|
||||
|
|
|
@ -57,8 +57,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getUsageForecastAsync(array $args = [])
|
||||
* @method \Aws\Result listCostCategoryDefinitions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCostCategoryDefinitionsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result provideAnomalyFeedback(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise provideAnomalyFeedbackAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateAnomalyMonitor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAnomalyMonitorAsync(array $args = [])
|
||||
* @method \Aws\Result updateAnomalySubscription(array $args = [])
|
||||
|
|
|
@ -114,7 +114,7 @@ class AssumeRoleWithWebIdentityCredentialProvider
|
|||
}
|
||||
if (empty($token)) {
|
||||
if ($this->tokenFileReadAttempts < $this->retries) {
|
||||
sleep(pow(1.2, $this->tokenFileReadAttempts));
|
||||
sleep((int) pow(1.2, $this->tokenFileReadAttempts));
|
||||
$this->tokenFileReadAttempts++;
|
||||
continue;
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ class AssumeRoleWithWebIdentityCredentialProvider
|
|||
} catch (AwsException $e) {
|
||||
if ($e->getAwsErrorCode() == 'InvalidIdentityToken') {
|
||||
if ($this->authenticationAttempts < $this->retries) {
|
||||
sleep(pow(1.2, $this->authenticationAttempts));
|
||||
sleep((int) pow(1.2, $this->authenticationAttempts));
|
||||
} else {
|
||||
throw new CredentialsException(
|
||||
"InvalidIdentityToken, retries exhausted"
|
||||
|
|
|
@ -7,7 +7,6 @@ use Aws\CacheInterface;
|
|||
use Aws\Exception\CredentialsException;
|
||||
use Aws\Sts\StsClient;
|
||||
use GuzzleHttp\Promise;
|
||||
|
||||
/**
|
||||
* Credential providers are functions that accept no arguments and return a
|
||||
* promise that is fulfilled with an {@see \Aws\Credentials\CredentialsInterface}
|
||||
|
@ -112,15 +111,7 @@ class CredentialProvider
|
|||
);
|
||||
}
|
||||
|
||||
$shouldUseEcsCredentialsProvider = getenv(EcsCredentialProvider::ENV_URI);
|
||||
// getenv() is not thread safe - fall back to $_SERVER
|
||||
if ($shouldUseEcsCredentialsProvider === false) {
|
||||
$shouldUseEcsCredentialsProvider = isset($_SERVER[EcsCredentialProvider::ENV_URI])
|
||||
? $_SERVER[EcsCredentialProvider::ENV_URI]
|
||||
: false;
|
||||
}
|
||||
|
||||
if (!empty($shouldUseEcsCredentialsProvider)) {
|
||||
if (self::shouldUseEcs()) {
|
||||
$defaultChain['ecs'] = self::ecsCredentials($config);
|
||||
} else {
|
||||
$defaultChain['instance'] = self::instanceProfile($config);
|
||||
|
@ -178,12 +169,20 @@ class CredentialProvider
|
|||
throw new \InvalidArgumentException('No providers in chain');
|
||||
}
|
||||
|
||||
return function () use ($links) {
|
||||
return function ($previousCreds = null) use ($links) {
|
||||
/** @var callable $parent */
|
||||
$parent = array_shift($links);
|
||||
$promise = $parent();
|
||||
while ($next = array_shift($links)) {
|
||||
$promise = $promise->otherwise($next);
|
||||
if ($next instanceof InstanceProfileProvider
|
||||
&& $previousCreds instanceof Credentials
|
||||
) {
|
||||
$promise = $promise->otherwise(
|
||||
function () use ($next, $previousCreds) {return $next($previousCreds);}
|
||||
);
|
||||
} else {
|
||||
$promise = $promise->otherwise($next);
|
||||
}
|
||||
}
|
||||
return $promise;
|
||||
};
|
||||
|
@ -229,7 +228,7 @@ class CredentialProvider
|
|||
return $creds;
|
||||
}
|
||||
// Refresh the result and forward the promise.
|
||||
return $result = $provider();
|
||||
return $result = $provider($creds);
|
||||
})
|
||||
->otherwise(function($reason) use (&$result) {
|
||||
// Cleanup rejected promise.
|
||||
|
@ -887,5 +886,18 @@ class CredentialProvider
|
|||
}
|
||||
return $filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
public static function shouldUseEcs()
|
||||
{
|
||||
//Check for relative uri. if not, then full uri.
|
||||
//fall back to server for each as getenv is not thread-safe.
|
||||
return !empty(getenv(EcsCredentialProvider::ENV_URI))
|
||||
|| !empty($_SERVER[EcsCredentialProvider::ENV_URI])
|
||||
|| !empty(getenv(EcsCredentialProvider::ENV_FULL_URI))
|
||||
|| !empty($_SERVER[EcsCredentialProvider::ENV_FULL_URI]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -98,4 +98,16 @@ class Credentials implements CredentialsInterface, \Serializable
|
|||
$this->token = $data['token'];
|
||||
$this->expires = $data['expires'];
|
||||
}
|
||||
|
||||
public function extendExpiration() {
|
||||
$extension = mt_rand(5, 10);
|
||||
$this->expires = time() + $extension * 60;
|
||||
|
||||
$message = <<<EOT
|
||||
Attempting credential expiration extension due to a credential service
|
||||
availability issue. A refresh of these credentials will be attempted again
|
||||
after {$extension} minutes.\n
|
||||
EOT;
|
||||
error_log($message);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@ class EcsCredentialProvider
|
|||
{
|
||||
const SERVER_URI = 'http://169.254.170.2';
|
||||
const ENV_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";
|
||||
const ENV_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI";
|
||||
const ENV_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN";
|
||||
const ENV_TIMEOUT = 'AWS_METADATA_SERVICE_TIMEOUT';
|
||||
|
||||
/** @var callable */
|
||||
|
@ -54,11 +56,14 @@ class EcsCredentialProvider
|
|||
{
|
||||
$client = $this->client;
|
||||
$request = new Request('GET', self::getEcsUri());
|
||||
|
||||
$headers = $this->setHeaderForAuthToken();
|
||||
return $client(
|
||||
$request,
|
||||
[
|
||||
'timeout' => $this->timeout,
|
||||
'proxy' => '',
|
||||
'headers' => $headers
|
||||
]
|
||||
)->then(function (ResponseInterface $response) {
|
||||
$result = $this->decodeResult((string) $response->getBody());
|
||||
|
@ -77,6 +82,20 @@ class EcsCredentialProvider
|
|||
});
|
||||
}
|
||||
|
||||
private function getEcsAuthToken()
|
||||
{
|
||||
return getenv(self::ENV_AUTH_TOKEN);
|
||||
}
|
||||
|
||||
public function setHeaderForAuthToken(){
|
||||
$authToken = self::getEcsAuthToken();
|
||||
$headers = [];
|
||||
if(!empty($authToken))
|
||||
$headers = ['Authorization' => $authToken];
|
||||
|
||||
return $headers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch credential URI from ECS environment variable
|
||||
*
|
||||
|
@ -90,6 +109,16 @@ class EcsCredentialProvider
|
|||
$credsUri = isset($_SERVER[self::ENV_URI]) ? $_SERVER[self::ENV_URI] : '';
|
||||
}
|
||||
|
||||
if(empty($credsUri)){
|
||||
$credFullUri = getenv(self::ENV_FULL_URI);
|
||||
if($credFullUri === false){
|
||||
$credFullUri = isset($_SERVER[self::ENV_FULL_URI]) ? $_SERVER[self::ENV_FULL_URI] : '';
|
||||
}
|
||||
|
||||
if(!empty($credFullUri))
|
||||
return $credFullUri;
|
||||
}
|
||||
|
||||
return self::SERVER_URI . $credsUri;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,9 +67,9 @@ class InstanceProfileProvider
|
|||
*
|
||||
* @return PromiseInterface
|
||||
*/
|
||||
public function __invoke()
|
||||
public function __invoke($previousCredentials = null)
|
||||
{
|
||||
return Promise\Coroutine::of(function () {
|
||||
return Promise\Coroutine::of(function () use ($previousCredentials) {
|
||||
|
||||
// Retrieve token or switch out of secure mode
|
||||
$token = null;
|
||||
|
@ -83,7 +83,12 @@ class InstanceProfileProvider
|
|||
]
|
||||
));
|
||||
} catch (TransferException $e) {
|
||||
if (!method_exists($e, 'getResponse')
|
||||
if ($this->getExceptionStatusCode($e) === 500
|
||||
&& $previousCredentials instanceof Credentials
|
||||
) {
|
||||
goto generateCredentials;
|
||||
}
|
||||
else if (!method_exists($e, 'getResponse')
|
||||
|| empty($e->getResponse())
|
||||
|| !in_array(
|
||||
$e->getResponse()->getStatusCode(),
|
||||
|
@ -159,7 +164,12 @@ class InstanceProfileProvider
|
|||
} catch (TransferException $e) {
|
||||
// 401 indicates insecure flow not supported, switch to
|
||||
// attempting secure mode for subsequent calls
|
||||
if (!empty($this->getExceptionStatusCode($e))
|
||||
if (($this->getExceptionStatusCode($e) === 500
|
||||
|| strpos($e->getMessage(), "cURL error 28") !== false)
|
||||
&& $previousCredentials instanceof Credentials
|
||||
) {
|
||||
goto generateCredentials;
|
||||
} else if (!empty($this->getExceptionStatusCode($e))
|
||||
&& $this->getExceptionStatusCode($e) === 401
|
||||
) {
|
||||
$this->secureMode = true;
|
||||
|
@ -172,12 +182,24 @@ class InstanceProfileProvider
|
|||
}
|
||||
$this->attempts++;
|
||||
}
|
||||
yield new Credentials(
|
||||
$result['AccessKeyId'],
|
||||
$result['SecretAccessKey'],
|
||||
$result['Token'],
|
||||
strtotime($result['Expiration'])
|
||||
);
|
||||
generateCredentials:
|
||||
|
||||
if (!isset($result)) {
|
||||
$credentials = $previousCredentials;
|
||||
} else {
|
||||
$credentials = new Credentials(
|
||||
$result['AccessKeyId'],
|
||||
$result['SecretAccessKey'],
|
||||
$result['Token'],
|
||||
strtotime($result['Expiration'])
|
||||
);
|
||||
}
|
||||
|
||||
if ($credentials->isExpired()) {
|
||||
$credentials->extendExpiration();
|
||||
}
|
||||
|
||||
yield $credentials;
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -237,7 +259,7 @@ class InstanceProfileProvider
|
|||
$isRetryable = false;
|
||||
}
|
||||
if ($isRetryable && $this->attempts < $this->retries) {
|
||||
sleep(pow(1.2, $this->attempts));
|
||||
sleep((int) pow(1.2, $this->attempts));
|
||||
} else {
|
||||
throw new CredentialsException($message);
|
||||
}
|
||||
|
|
|
@ -45,6 +45,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listRevisionAssetsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result revokeRevision(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise revokeRevisionAsync(array $args = [])
|
||||
* @method \Aws\Result sendApiAsset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise sendApiAssetAsync(array $args = [])
|
||||
* @method \Aws\Result startJob(array $args = [])
|
||||
|
|
|
@ -13,6 +13,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createLocationEfsAsync(array $args = [])
|
||||
* @method \Aws\Result createLocationFsxLustre(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createLocationFsxLustreAsync(array $args = [])
|
||||
* @method \Aws\Result createLocationFsxOpenZfs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createLocationFsxOpenZfsAsync(array $args = [])
|
||||
* @method \Aws\Result createLocationFsxWindows(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createLocationFsxWindowsAsync(array $args = [])
|
||||
* @method \Aws\Result createLocationHdfs(array $args = [])
|
||||
|
@ -39,6 +41,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeLocationEfsAsync(array $args = [])
|
||||
* @method \Aws\Result describeLocationFsxLustre(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeLocationFsxLustreAsync(array $args = [])
|
||||
* @method \Aws\Result describeLocationFsxOpenZfs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeLocationFsxOpenZfsAsync(array $args = [])
|
||||
* @method \Aws\Result describeLocationFsxWindows(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeLocationFsxWindowsAsync(array $args = [])
|
||||
* @method \Aws\Result describeLocationHdfs(array $args = [])
|
||||
|
|
|
@ -7,12 +7,16 @@ use Aws\AwsClient;
|
|||
* This client is used to interact with the **Amazon DevOps Guru** service.
|
||||
* @method \Aws\Result addNotificationChannel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise addNotificationChannelAsync(array $args = [])
|
||||
* @method \Aws\Result deleteInsight(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteInsightAsync(array $args = [])
|
||||
* @method \Aws\Result describeAccountHealth(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAccountHealthAsync(array $args = [])
|
||||
* @method \Aws\Result describeAccountOverview(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAccountOverviewAsync(array $args = [])
|
||||
* @method \Aws\Result describeAnomaly(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAnomalyAsync(array $args = [])
|
||||
* @method \Aws\Result describeEventSourcesConfig(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeEventSourcesConfigAsync(array $args = [])
|
||||
* @method \Aws\Result describeFeedback(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeFeedbackAsync(array $args = [])
|
||||
* @method \Aws\Result describeInsight(array $args = [])
|
||||
|
@ -53,6 +57,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise searchOrganizationInsightsAsync(array $args = [])
|
||||
* @method \Aws\Result startCostEstimation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startCostEstimationAsync(array $args = [])
|
||||
* @method \Aws\Result updateEventSourcesConfig(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateEventSourcesConfigAsync(array $args = [])
|
||||
* @method \Aws\Result updateResourceCollection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateResourceCollectionAsync(array $args = [])
|
||||
* @method \Aws\Result updateServiceIntegration(array $args = [])
|
||||
|
|
4
vendor/aws/aws-sdk-php/src/Ec2/Ec2Client.php
vendored
4
vendor/aws/aws-sdk-php/src/Ec2/Ec2Client.php
vendored
|
@ -862,6 +862,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise getGroupsForCapacityReservationAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result getInstanceTypesFromInstanceRequirements(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise getInstanceTypesFromInstanceRequirementsAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result getInstanceUefiData(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise getInstanceUefiDataAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result getIpamAddressHistory(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise getIpamAddressHistoryAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result getIpamPoolAllocations(array $args = []) (supported in versions 2016-11-15)
|
||||
|
@ -932,6 +934,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise modifyInstanceEventStartTimeAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result modifyInstanceEventWindow(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyInstanceEventWindowAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result modifyInstanceMaintenanceOptions(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyInstanceMaintenanceOptionsAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result modifyInstanceMetadataOptions(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyInstanceMetadataOptionsAsync(array $args = []) (supported in versions 2016-11-15)
|
||||
* @method \Aws\Result modifyIpam(array $args = []) (supported in versions 2016-11-15)
|
||||
|
|
|
@ -299,19 +299,18 @@ final class Partition implements ArrayAccess, PartitionInterface
|
|||
if (!empty($variantTags)) {
|
||||
if (isset($data['variants'])) {
|
||||
foreach ($data['variants'] as $variant) {
|
||||
if ($variant['tags'] == $variantTags) {
|
||||
if (array_count_values($variant['tags']) == array_count_values($variantTags)) {
|
||||
return $variant;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($this->data['defaults']['variants'])) {
|
||||
foreach ($this->data['defaults']['variants'] as $variant) {
|
||||
if ($variant['tags'] == $variantTags) {
|
||||
if (array_count_values($variant['tags']) == array_count_values($variantTags)) {
|
||||
return $variant;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -15,6 +15,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createArchiveAsync(array $args = [])
|
||||
* @method \Aws\Result createConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result createEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result createEventBus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createEventBusAsync(array $args = [])
|
||||
* @method \Aws\Result createPartnerEventSource(array $args = [])
|
||||
|
@ -29,6 +31,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteArchiveAsync(array $args = [])
|
||||
* @method \Aws\Result deleteConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result deleteEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result deleteEventBus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteEventBusAsync(array $args = [])
|
||||
* @method \Aws\Result deletePartnerEventSource(array $args = [])
|
||||
|
@ -41,6 +45,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeArchiveAsync(array $args = [])
|
||||
* @method \Aws\Result describeConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result describeEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result describeEventBus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeEventBusAsync(array $args = [])
|
||||
* @method \Aws\Result describeEventSource(array $args = [])
|
||||
|
@ -61,6 +67,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listArchivesAsync(array $args = [])
|
||||
* @method \Aws\Result listConnections(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listConnectionsAsync(array $args = [])
|
||||
* @method \Aws\Result listEndpoints(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEndpointsAsync(array $args = [])
|
||||
* @method \Aws\Result listEventBuses(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEventBusesAsync(array $args = [])
|
||||
* @method \Aws\Result listEventSources(array $args = [])
|
||||
|
@ -107,5 +115,28 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise updateArchiveAsync(array $args = [])
|
||||
* @method \Aws\Result updateConnection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result updateEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateEndpointAsync(array $args = [])
|
||||
*/
|
||||
class EventBridgeClient extends AwsClient {}
|
||||
class EventBridgeClient extends AwsClient {
|
||||
public function __construct(array $args)
|
||||
{
|
||||
parent::__construct($args);
|
||||
$stack = $this->getHandlerList();
|
||||
$isCustomEndpoint = isset($args['endpoint']);
|
||||
$stack->appendBuild(
|
||||
EventBridgeEndpointMiddleware::wrap(
|
||||
$this->getRegion(),
|
||||
[
|
||||
'use_fips_endpoint' =>
|
||||
$this->getConfig('use_fips_endpoint')->isUseFipsEndpoint(),
|
||||
'dual_stack' =>
|
||||
$this->getConfig('use_dual_stack_endpoint')->isUseDualStackEndpoint(),
|
||||
],
|
||||
$this->getConfig('endpoint_provider'),
|
||||
$isCustomEndpoint
|
||||
),
|
||||
'eventbridge.endpoint_middleware'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
116
vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeEndpointMiddleware.php
vendored
Normal file
116
vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeEndpointMiddleware.php
vendored
Normal file
|
@ -0,0 +1,116 @@
|
|||
<?php
|
||||
namespace Aws\EventBridge;
|
||||
|
||||
use Aws\CommandInterface;
|
||||
use Aws\Endpoint\EndpointProvider;
|
||||
use Aws\Endpoint\PartitionEndpointProvider;
|
||||
use InvalidArgumentException;
|
||||
use Psr\Http\Message\RequestInterface;
|
||||
|
||||
/**
|
||||
* Reroutes an eventbridge request to the proper endpoint
|
||||
* @internal
|
||||
*/
|
||||
class EventBridgeEndpointMiddleware
|
||||
{
|
||||
private $nextHandler;
|
||||
private $region;
|
||||
private $config;
|
||||
private $endpointProvider;
|
||||
private $isCustomEndpoint;
|
||||
|
||||
/**
|
||||
* Provide the URI scheme of the client sending requests.
|
||||
* @param EndpointProvider $endpointProvider
|
||||
* @return callable
|
||||
*/
|
||||
public static function wrap($region, $config, $endpointProvider, $isCustomEndpoint)
|
||||
{
|
||||
return function (callable $handler) use (
|
||||
$region,
|
||||
$config,
|
||||
$endpointProvider,
|
||||
$isCustomEndpoint
|
||||
) {
|
||||
return new self(
|
||||
$handler,
|
||||
$region,
|
||||
$config,
|
||||
$endpointProvider,
|
||||
$isCustomEndpoint
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
public function __construct(
|
||||
callable $nextHandler,
|
||||
$region,
|
||||
$config,
|
||||
$endpointProvider,
|
||||
$isCustomEndpoint
|
||||
) {
|
||||
$this->nextHandler = $nextHandler;
|
||||
$this->region = $region;
|
||||
$this->config = $config;
|
||||
$this->endpointProvider = is_null($endpointProvider)
|
||||
? PartitionEndpointProvider::defaultProvider()
|
||||
: $endpointProvider;
|
||||
$this->isCustomEndpoint = $isCustomEndpoint;
|
||||
}
|
||||
|
||||
public function __invoke(CommandInterface $cmd, RequestInterface $req) {
|
||||
$sigV4aCommands = ['PutEvents'];
|
||||
if (in_array($cmd->getName(), $sigV4aCommands)) {
|
||||
if (isset($cmd['EndpointId'])) {
|
||||
$endpointID = $cmd['EndpointId'];
|
||||
$this->validateEndpointId($endpointID);
|
||||
if (!$this->isCustomEndpoint) {
|
||||
$dnsSuffix = $this->endpointProvider
|
||||
->getPartition($this->region, 'eventbridge')
|
||||
->getDnsSuffix();
|
||||
$newUri = "{$endpointID}.endpoint.events.{$dnsSuffix}";
|
||||
$oldUri = $req->getUri();
|
||||
$req = $req->withUri($oldUri->withHost($newUri));
|
||||
}
|
||||
$cmd['@context']['signature_version'] = 'v4a';
|
||||
}
|
||||
}
|
||||
$f = $this->nextHandler;
|
||||
return $f($cmd, $req);
|
||||
}
|
||||
|
||||
protected static function isValidHostLabel($string)
|
||||
{
|
||||
if (empty($string) || strlen($string) > 63) {
|
||||
return false;
|
||||
}
|
||||
if ($value = preg_match("/^[a-zA-Z0-9-.]+$/", $string)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $endpointID
|
||||
* @param CommandInterface $cmd
|
||||
*/
|
||||
private function validateEndpointId($endpointID)
|
||||
{
|
||||
if (empty($endpointID)) {
|
||||
throw new \InvalidArgumentException("EventId must be a non-empty string");
|
||||
}
|
||||
if (!self::isValidHostLabel($endpointID)) {
|
||||
throw new InvalidArgumentException("EventId must be a valid host");
|
||||
}
|
||||
if ($this->config['use_fips_endpoint']) {
|
||||
throw new InvalidArgumentException(
|
||||
"EventId is currently not compatible with FIPS pseudo regions"
|
||||
);
|
||||
}
|
||||
if ($this->config['dual_stack']) {
|
||||
throw new InvalidArgumentException(
|
||||
"EventId is currently not compatible with dualstack"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
8
vendor/aws/aws-sdk-php/src/FMS/FMSClient.php
vendored
8
vendor/aws/aws-sdk-php/src/FMS/FMSClient.php
vendored
|
@ -7,6 +7,8 @@ use Aws\AwsClient;
|
|||
* This client is used to interact with the **Firewall Management Service** service.
|
||||
* @method \Aws\Result associateAdminAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateAdminAccountAsync(array $args = [])
|
||||
* @method \Aws\Result associateThirdPartyFirewall(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateThirdPartyFirewallAsync(array $args = [])
|
||||
* @method \Aws\Result deleteAppsList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAppsListAsync(array $args = [])
|
||||
* @method \Aws\Result deleteNotificationChannel(array $args = [])
|
||||
|
@ -17,6 +19,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteProtocolsListAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateAdminAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateAdminAccountAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateThirdPartyFirewall(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateThirdPartyFirewallAsync(array $args = [])
|
||||
* @method \Aws\Result getAdminAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAdminAccountAsync(array $args = [])
|
||||
* @method \Aws\Result getAppsList(array $args = [])
|
||||
|
@ -31,6 +35,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getProtectionStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getProtocolsList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getProtocolsListAsync(array $args = [])
|
||||
* @method \Aws\Result getThirdPartyFirewallAssociationStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getThirdPartyFirewallAssociationStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getViolationDetails(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getViolationDetailsAsync(array $args = [])
|
||||
* @method \Aws\Result listAppsLists(array $args = [])
|
||||
|
@ -45,6 +51,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listProtocolsListsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result listThirdPartyFirewallFirewallPolicies(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listThirdPartyFirewallFirewallPoliciesAsync(array $args = [])
|
||||
* @method \Aws\Result putAppsList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise putAppsListAsync(array $args = [])
|
||||
* @method \Aws\Result putNotificationChannel(array $args = [])
|
||||
|
|
|
@ -13,8 +13,18 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise createDataViewAsync(array $args = [])
|
||||
* @method \Aws\Result createDataset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createDatasetAsync(array $args = [])
|
||||
* @method \Aws\Result createPermissionGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createPermissionGroupAsync(array $args = [])
|
||||
* @method \Aws\Result createUser(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createUserAsync(array $args = [])
|
||||
* @method \Aws\Result deleteDataset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDatasetAsync(array $args = [])
|
||||
* @method \Aws\Result deletePermissionGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePermissionGroupAsync(array $args = [])
|
||||
* @method \Aws\Result disableUser(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableUserAsync(array $args = [])
|
||||
* @method \Aws\Result enableUser(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableUserAsync(array $args = [])
|
||||
* @method \Aws\Result getChangeset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getChangesetAsync(array $args = [])
|
||||
* @method \Aws\Result getDataView(array $args = [])
|
||||
|
@ -23,6 +33,8 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise getDatasetAsync(array $args = [])
|
||||
* @method \Aws\Result getProgrammaticAccessCredentials(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getProgrammaticAccessCredentialsAsync(array $args = [])
|
||||
* @method \Aws\Result getUser(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getUserAsync(array $args = [])
|
||||
* @method \Aws\Result getWorkingLocation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getWorkingLocationAsync(array $args = [])
|
||||
* @method \Aws\Result listChangesets(array $args = [])
|
||||
|
@ -31,9 +43,19 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise listDataViewsAsync(array $args = [])
|
||||
* @method \Aws\Result listDatasets(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listDatasetsAsync(array $args = [])
|
||||
* @method \Aws\Result listPermissionGroups(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPermissionGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result listUsers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listUsersAsync(array $args = [])
|
||||
* @method \Aws\Result resetUserPassword(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resetUserPasswordAsync(array $args = [])
|
||||
* @method \Aws\Result updateChangeset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateChangesetAsync(array $args = [])
|
||||
* @method \Aws\Result updateDataset(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateDatasetAsync(array $args = [])
|
||||
* @method \Aws\Result updatePermissionGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePermissionGroupAsync(array $args = [])
|
||||
* @method \Aws\Result updateUser(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateUserAsync(array $args = [])
|
||||
*/
|
||||
class FinSpaceDataClient extends AwsClient {}
|
||||
|
|
|
@ -21,6 +21,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createForecastAsync(array $args = [])
|
||||
* @method \Aws\Result createForecastExportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createForecastExportJobAsync(array $args = [])
|
||||
* @method \Aws\Result createMonitor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createMonitorAsync(array $args = [])
|
||||
* @method \Aws\Result createPredictor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createPredictorAsync(array $args = [])
|
||||
* @method \Aws\Result createPredictorBacktestExportJob(array $args = [])
|
||||
|
@ -39,6 +41,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteForecastAsync(array $args = [])
|
||||
* @method \Aws\Result deleteForecastExportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteForecastExportJobAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMonitor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMonitorAsync(array $args = [])
|
||||
* @method \Aws\Result deletePredictor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePredictorAsync(array $args = [])
|
||||
* @method \Aws\Result deletePredictorBacktestExportJob(array $args = [])
|
||||
|
@ -61,6 +65,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeForecastAsync(array $args = [])
|
||||
* @method \Aws\Result describeForecastExportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeForecastExportJobAsync(array $args = [])
|
||||
* @method \Aws\Result describeMonitor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeMonitorAsync(array $args = [])
|
||||
* @method \Aws\Result describePredictor(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePredictorAsync(array $args = [])
|
||||
* @method \Aws\Result describePredictorBacktestExportJob(array $args = [])
|
||||
|
@ -81,12 +87,18 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listForecastExportJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listForecasts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listForecastsAsync(array $args = [])
|
||||
* @method \Aws\Result listMonitorEvaluations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMonitorEvaluationsAsync(array $args = [])
|
||||
* @method \Aws\Result listMonitors(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMonitorsAsync(array $args = [])
|
||||
* @method \Aws\Result listPredictorBacktestExportJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPredictorBacktestExportJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listPredictors(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPredictorsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result resumeResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resumeResourceAsync(array $args = [])
|
||||
* @method \Aws\Result stopResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopResourceAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
|
|
9
vendor/aws/aws-sdk-php/src/GameSparks/Exception/GameSparksException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/GameSparks/Exception/GameSparksException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\GameSparks\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **GameSparks** service.
|
||||
*/
|
||||
class GameSparksException extends AwsException {}
|
75
vendor/aws/aws-sdk-php/src/GameSparks/GameSparksClient.php
vendored
Normal file
75
vendor/aws/aws-sdk-php/src/GameSparks/GameSparksClient.php
vendored
Normal file
|
@ -0,0 +1,75 @@
|
|||
<?php
|
||||
namespace Aws\GameSparks;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **GameSparks** service.
|
||||
* @method \Aws\Result createGame(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createGameAsync(array $args = [])
|
||||
* @method \Aws\Result createSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result createStage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createStageAsync(array $args = [])
|
||||
* @method \Aws\Result deleteGame(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteGameAsync(array $args = [])
|
||||
* @method \Aws\Result deleteStage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteStageAsync(array $args = [])
|
||||
* @method \Aws\Result disconnectPlayer(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disconnectPlayerAsync(array $args = [])
|
||||
* @method \Aws\Result exportSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise exportSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result getExtension(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getExtensionAsync(array $args = [])
|
||||
* @method \Aws\Result getExtensionVersion(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getExtensionVersionAsync(array $args = [])
|
||||
* @method \Aws\Result getGame(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGameAsync(array $args = [])
|
||||
* @method \Aws\Result getGameConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGameConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getGeneratedCodeJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGeneratedCodeJobAsync(array $args = [])
|
||||
* @method \Aws\Result getPlayerConnectionStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPlayerConnectionStatusAsync(array $args = [])
|
||||
* @method \Aws\Result getSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result getStage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getStageAsync(array $args = [])
|
||||
* @method \Aws\Result getStageDeployment(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getStageDeploymentAsync(array $args = [])
|
||||
* @method \Aws\Result importGameConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise importGameConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result listExtensionVersions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listExtensionVersionsAsync(array $args = [])
|
||||
* @method \Aws\Result listExtensions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listExtensionsAsync(array $args = [])
|
||||
* @method \Aws\Result listGames(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listGamesAsync(array $args = [])
|
||||
* @method \Aws\Result listGeneratedCodeJobs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listGeneratedCodeJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listSnapshots(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listSnapshotsAsync(array $args = [])
|
||||
* @method \Aws\Result listStageDeployments(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listStageDeploymentsAsync(array $args = [])
|
||||
* @method \Aws\Result listStages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listStagesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result startGeneratedCodeJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startGeneratedCodeJobAsync(array $args = [])
|
||||
* @method \Aws\Result startStageDeployment(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startStageDeploymentAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateGame(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateGameAsync(array $args = [])
|
||||
* @method \Aws\Result updateGameConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateGameConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result updateStage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateStageAsync(array $args = [])
|
||||
*/
|
||||
class GameSparksClient extends AwsClient {}
|
28
vendor/aws/aws-sdk-php/src/Glue/GlueClient.php
vendored
28
vendor/aws/aws-sdk-php/src/Glue/GlueClient.php
vendored
|
@ -19,6 +19,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise batchGetBlueprintsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetCrawlers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetCrawlersAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetCustomEntityTypes(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetCustomEntityTypesAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetDevEndpoints(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetDevEndpointsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetJobs(array $args = [])
|
||||
|
@ -35,6 +37,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise batchUpdatePartitionAsync(array $args = [])
|
||||
* @method \Aws\Result cancelMLTaskRun(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelMLTaskRunAsync(array $args = [])
|
||||
* @method \Aws\Result cancelStatement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelStatementAsync(array $args = [])
|
||||
* @method \Aws\Result checkSchemaVersionValidity(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkSchemaVersionValidityAsync(array $args = [])
|
||||
* @method \Aws\Result createBlueprint(array $args = [])
|
||||
|
@ -45,6 +49,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result createCrawler(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createCrawlerAsync(array $args = [])
|
||||
* @method \Aws\Result createCustomEntityType(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createCustomEntityTypeAsync(array $args = [])
|
||||
* @method \Aws\Result createDatabase(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createDatabaseAsync(array $args = [])
|
||||
* @method \Aws\Result createDevEndpoint(array $args = [])
|
||||
|
@ -65,6 +71,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createScriptAsync(array $args = [])
|
||||
* @method \Aws\Result createSecurityConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createSecurityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createSessionAsync(array $args = [])
|
||||
* @method \Aws\Result createTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createTableAsync(array $args = [])
|
||||
* @method \Aws\Result createTrigger(array $args = [])
|
||||
|
@ -85,6 +93,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteConnectionAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCrawler(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCrawlerAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCustomEntityType(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomEntityTypeAsync(array $args = [])
|
||||
* @method \Aws\Result deleteDatabase(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDatabaseAsync(array $args = [])
|
||||
* @method \Aws\Result deleteDevEndpoint(array $args = [])
|
||||
|
@ -107,6 +117,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteSchemaVersionsAsync(array $args = [])
|
||||
* @method \Aws\Result deleteSecurityConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteSecurityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteSessionAsync(array $args = [])
|
||||
* @method \Aws\Result deleteTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteTableAsync(array $args = [])
|
||||
* @method \Aws\Result deleteTableVersion(array $args = [])
|
||||
|
@ -143,6 +155,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getCrawlerMetricsAsync(array $args = [])
|
||||
* @method \Aws\Result getCrawlers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCrawlersAsync(array $args = [])
|
||||
* @method \Aws\Result getCustomEntityType(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCustomEntityTypeAsync(array $args = [])
|
||||
* @method \Aws\Result getDataCatalogEncryptionSettings(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getDataCatalogEncryptionSettingsAsync(array $args = [])
|
||||
* @method \Aws\Result getDatabase(array $args = [])
|
||||
|
@ -201,6 +215,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getSecurityConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getSecurityConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getSecurityConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result getSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getSessionAsync(array $args = [])
|
||||
* @method \Aws\Result getStatement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getStatementAsync(array $args = [])
|
||||
* @method \Aws\Result getTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getTableAsync(array $args = [])
|
||||
* @method \Aws\Result getTableVersion(array $args = [])
|
||||
|
@ -239,6 +257,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listBlueprintsAsync(array $args = [])
|
||||
* @method \Aws\Result listCrawlers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCrawlersAsync(array $args = [])
|
||||
* @method \Aws\Result listCustomEntityTypes(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCustomEntityTypesAsync(array $args = [])
|
||||
* @method \Aws\Result listDevEndpoints(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listDevEndpointsAsync(array $args = [])
|
||||
* @method \Aws\Result listJobs(array $args = [])
|
||||
|
@ -251,6 +271,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listSchemaVersionsAsync(array $args = [])
|
||||
* @method \Aws\Result listSchemas(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listSchemasAsync(array $args = [])
|
||||
* @method \Aws\Result listSessions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listSessionsAsync(array $args = [])
|
||||
* @method \Aws\Result listStatements(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listStatementsAsync(array $args = [])
|
||||
* @method \Aws\Result listTriggers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTriggersAsync(array $args = [])
|
||||
* @method \Aws\Result listWorkflows(array $args = [])
|
||||
|
@ -273,6 +297,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise resetJobBookmarkAsync(array $args = [])
|
||||
* @method \Aws\Result resumeWorkflowRun(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resumeWorkflowRunAsync(array $args = [])
|
||||
* @method \Aws\Result runStatement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise runStatementAsync(array $args = [])
|
||||
* @method \Aws\Result searchTables(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchTablesAsync(array $args = [])
|
||||
* @method \Aws\Result startBlueprintRun(array $args = [])
|
||||
|
@ -299,6 +325,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise stopCrawlerAsync(array $args = [])
|
||||
* @method \Aws\Result stopCrawlerSchedule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopCrawlerScheduleAsync(array $args = [])
|
||||
* @method \Aws\Result stopSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopSessionAsync(array $args = [])
|
||||
* @method \Aws\Result stopTrigger(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopTriggerAsync(array $args = [])
|
||||
* @method \Aws\Result stopWorkflowRun(array $args = [])
|
||||
|
|
|
@ -21,6 +21,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteComponentAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCoreDevice(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCoreDeviceAsync(array $args = [])
|
||||
* @method \Aws\Result deleteDeployment(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDeploymentAsync(array $args = [])
|
||||
* @method \Aws\Result describeComponent(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeComponentAsync(array $args = [])
|
||||
* @method \Aws\Result disassociateServiceRoleFromAccount(array $args = [])
|
||||
|
|
|
@ -7,6 +7,8 @@ use Aws\AwsClient;
|
|||
* This client is used to interact with the **AWS IoT Events Data** service.
|
||||
* @method \Aws\Result batchAcknowledgeAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchAcknowledgeAlarmAsync(array $args = [])
|
||||
* @method \Aws\Result batchDeleteDetector(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchDeleteDetectorAsync(array $args = [])
|
||||
* @method \Aws\Result batchDisableAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchDisableAlarmAsync(array $args = [])
|
||||
* @method \Aws\Result batchEnableAlarm(array $args = [])
|
||||
|
|
|
@ -15,6 +15,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listTunnelsAsync(array $args = [])
|
||||
* @method \Aws\Result openTunnel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise openTunnelAsync(array $args = [])
|
||||
* @method \Aws\Result rotateTunnelAccessToken(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise rotateTunnelAccessTokenAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
|
|
|
@ -13,6 +13,12 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise batchAssociateProjectAssetsAsync(array $args = [])
|
||||
* @method \Aws\Result batchDisassociateProjectAssets(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchDisassociateProjectAssetsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetAssetPropertyAggregates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetAssetPropertyAggregatesAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetAssetPropertyValue(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetAssetPropertyValueAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetAssetPropertyValueHistory(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetAssetPropertyValueHistoryAsync(array $args = [])
|
||||
* @method \Aws\Result batchPutAssetPropertyValue(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchPutAssetPropertyValueAsync(array $args = [])
|
||||
* @method \Aws\Result createAccessPolicy(array $args = [])
|
||||
|
|
|
@ -29,6 +29,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createFuotaTaskAsync(array $args = [])
|
||||
* @method \Aws\Result createMulticastGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createMulticastGroupAsync(array $args = [])
|
||||
* @method \Aws\Result createNetworkAnalyzerConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createNetworkAnalyzerConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createServiceProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createServiceProfileAsync(array $args = [])
|
||||
* @method \Aws\Result createWirelessDevice(array $args = [])
|
||||
|
@ -47,6 +49,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteFuotaTaskAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMulticastGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMulticastGroupAsync(array $args = [])
|
||||
* @method \Aws\Result deleteNetworkAnalyzerConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteNetworkAnalyzerConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteQueuedMessages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteQueuedMessagesAsync(array $args = [])
|
||||
* @method \Aws\Result deleteServiceProfile(array $args = [])
|
||||
|
@ -77,6 +81,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getDestinationAsync(array $args = [])
|
||||
* @method \Aws\Result getDeviceProfile(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getDeviceProfileAsync(array $args = [])
|
||||
* @method \Aws\Result getEventConfigurationByResourceTypes(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getEventConfigurationByResourceTypesAsync(array $args = [])
|
||||
* @method \Aws\Result getFuotaTask(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getFuotaTaskAsync(array $args = [])
|
||||
* @method \Aws\Result getLogLevelsByResourceTypes(array $args = [])
|
||||
|
@ -117,12 +123,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listDestinationsAsync(array $args = [])
|
||||
* @method \Aws\Result listDeviceProfiles(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listDeviceProfilesAsync(array $args = [])
|
||||
* @method \Aws\Result listEventConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEventConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listFuotaTasks(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listFuotaTasksAsync(array $args = [])
|
||||
* @method \Aws\Result listMulticastGroups(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMulticastGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result listMulticastGroupsByFuotaTask(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMulticastGroupsByFuotaTaskAsync(array $args = [])
|
||||
* @method \Aws\Result listNetworkAnalyzerConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listNetworkAnalyzerConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listPartnerAccounts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPartnerAccountsAsync(array $args = [])
|
||||
* @method \Aws\Result listQueuedMessages(array $args = [])
|
||||
|
@ -163,6 +173,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateDestination(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateDestinationAsync(array $args = [])
|
||||
* @method \Aws\Result updateEventConfigurationByResourceTypes(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateEventConfigurationByResourceTypesAsync(array $args = [])
|
||||
* @method \Aws\Result updateFuotaTask(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateFuotaTaskAsync(array $args = [])
|
||||
* @method \Aws\Result updateLogLevelsByResourceTypes(array $args = [])
|
||||
|
|
2
vendor/aws/aws-sdk-php/src/Iot/IotClient.php
vendored
2
vendor/aws/aws-sdk-php/src/Iot/IotClient.php
vendored
|
@ -316,6 +316,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listJobsAsync(array $args = [])
|
||||
* @method \Aws\Result listManagedJobTemplates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listManagedJobTemplatesAsync(array $args = [])
|
||||
* @method \Aws\Result listMetricValues(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMetricValuesAsync(array $args = [])
|
||||
* @method \Aws\Result listMitigationActions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMitigationActionsAsync(array $args = [])
|
||||
* @method \Aws\Result listOTAUpdates(array $args = [])
|
||||
|
|
|
@ -13,6 +13,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createWorkerConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteConnector(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteConnectorAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCustomPlugin(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomPluginAsync(array $args = [])
|
||||
* @method \Aws\Result describeConnector(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeConnectorAsync(array $args = [])
|
||||
* @method \Aws\Result describeCustomPlugin(array $args = [])
|
||||
|
|
9
vendor/aws/aws-sdk-php/src/Keyspaces/Exception/KeyspacesException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/Keyspaces/Exception/KeyspacesException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\Keyspaces\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **Amazon Keyspaces** service.
|
||||
*/
|
||||
class KeyspacesException extends AwsException {}
|
35
vendor/aws/aws-sdk-php/src/Keyspaces/KeyspacesClient.php
vendored
Normal file
35
vendor/aws/aws-sdk-php/src/Keyspaces/KeyspacesClient.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
namespace Aws\Keyspaces;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **Amazon Keyspaces** service.
|
||||
* @method \Aws\Result createKeyspace(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createKeyspaceAsync(array $args = [])
|
||||
* @method \Aws\Result createTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createTableAsync(array $args = [])
|
||||
* @method \Aws\Result deleteKeyspace(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteKeyspaceAsync(array $args = [])
|
||||
* @method \Aws\Result deleteTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteTableAsync(array $args = [])
|
||||
* @method \Aws\Result getKeyspace(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getKeyspaceAsync(array $args = [])
|
||||
* @method \Aws\Result getTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getTableAsync(array $args = [])
|
||||
* @method \Aws\Result listKeyspaces(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listKeyspacesAsync(array $args = [])
|
||||
* @method \Aws\Result listTables(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTablesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result restoreTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise restoreTableAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateTableAsync(array $args = [])
|
||||
*/
|
||||
class KeyspacesClient extends AwsClient {}
|
|
@ -13,6 +13,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteSignalingChannelAsync(array $args = [])
|
||||
* @method \Aws\Result deleteStream(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteStreamAsync(array $args = [])
|
||||
* @method \Aws\Result describeImageGenerationConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeImageGenerationConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result describeNotificationConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeNotificationConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result describeSignalingChannel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeSignalingChannelAsync(array $args = [])
|
||||
* @method \Aws\Result describeStream(array $args = [])
|
||||
|
@ -39,6 +43,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise untagStreamAsync(array $args = [])
|
||||
* @method \Aws\Result updateDataRetention(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateDataRetentionAsync(array $args = [])
|
||||
* @method \Aws\Result updateImageGenerationConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateImageGenerationConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateNotificationConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateNotificationConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateSignalingChannel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateSignalingChannelAsync(array $args = [])
|
||||
* @method \Aws\Result updateStream(array $args = [])
|
||||
|
|
|
@ -11,6 +11,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getDASHStreamingSessionURLAsync(array $args = [])
|
||||
* @method \Aws\Result getHLSStreamingSessionURL(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getHLSStreamingSessionURLAsync(array $args = [])
|
||||
* @method \Aws\Result getImages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getImagesAsync(array $args = [])
|
||||
* @method \Aws\Result getMediaForFragmentList(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getMediaForFragmentListAsync(array $args = [])
|
||||
* @method \Aws\Result listFragments(array $args = [])
|
||||
|
|
4
vendor/aws/aws-sdk-php/src/Kms/KmsClient.php
vendored
4
vendor/aws/aws-sdk-php/src/Kms/KmsClient.php
vendored
|
@ -50,6 +50,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise generateDataKeyPairWithoutPlaintextAsync(array $args = [])
|
||||
* @method \Aws\Result generateDataKeyWithoutPlaintext(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise generateDataKeyWithoutPlaintextAsync(array $args = [])
|
||||
* @method \Aws\Result generateMac(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise generateMacAsync(array $args = [])
|
||||
* @method \Aws\Result generateRandom(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise generateRandomAsync(array $args = [])
|
||||
* @method \Aws\Result getKeyPolicy(array $args = [])
|
||||
|
@ -102,5 +104,7 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise updatePrimaryRegionAsync(array $args = [])
|
||||
* @method \Aws\Result verify(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise verifyAsync(array $args = [])
|
||||
* @method \Aws\Result verifyMac(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise verifyMacAsync(array $args = [])
|
||||
*/
|
||||
class KmsClient extends AwsClient {}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue