├── .coveralls.yml ├── .distignore ├── .editorconfig ├── .env.dist ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin └── install-wp-tests.sh ├── codeception.dist.yml ├── codeception.yml ├── composer.json ├── docs ├── about.md └── install-and-activate.md ├── img └── jwt-auth-example.gif ├── phpcs.ruleset.xml ├── phpunit.xml.dist ├── src ├── Auth.php ├── Login.php ├── ManageTokens.php └── RefreshToken.php ├── tests ├── .gitignore ├── _data │ ├── .gitignore │ ├── .gitkeep │ └── config.php ├── _support │ ├── AcceptanceTester.php │ ├── ApiTester.php │ ├── FunctionalTester.php │ ├── Helper │ │ ├── Acceptance.php │ │ ├── Api.php │ │ ├── Functional.php │ │ ├── Unit.php │ │ ├── Wpgraphql.php │ │ └── Wpunit.php │ ├── UnitTester.php │ ├── WpgraphqlTester.php │ ├── WpunitTester.php │ └── _generated │ │ └── .gitignore ├── functional.suite.dist.yml ├── functional │ ├── AuthCept.php │ ├── AuthenticatedRequestCept.php │ ├── InvalidAuthenticatedRequestCept.php │ ├── InvalidRefreshRequestCept.php │ ├── LoginAndRetrieveTokensCept.php │ └── RefreshRequestCept.php ├── wpunit.suite.dist.yml └── wpunit │ └── AuthenticationTest.php ├── vendor ├── autoload.php ├── composer │ ├── ClassLoader.php │ ├── InstalledVersions.php │ ├── LICENSE │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_real.php │ ├── autoload_static.php │ ├── installed.json │ ├── installed.php │ └── platform_check.php └── firebase │ └── php-jwt │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── composer.json │ └── src │ ├── BeforeValidException.php │ ├── CachedKeySet.php │ ├── ExpiredException.php │ ├── JWK.php │ ├── JWT.php │ ├── Key.php │ └── SignatureInvalidException.php └── wp-graphql-jwt-authentication.php /.coveralls.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.coveralls.yml -------------------------------------------------------------------------------- /.distignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.distignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.env.dist -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/README.md -------------------------------------------------------------------------------- /bin/install-wp-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/bin/install-wp-tests.sh -------------------------------------------------------------------------------- /codeception.dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/codeception.dist.yml -------------------------------------------------------------------------------- /codeception.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/codeception.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/composer.json -------------------------------------------------------------------------------- /docs/about.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/docs/about.md -------------------------------------------------------------------------------- /docs/install-and-activate.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/jwt-auth-example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/img/jwt-auth-example.gif -------------------------------------------------------------------------------- /phpcs.ruleset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/phpcs.ruleset.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/src/Auth.php -------------------------------------------------------------------------------- /src/Login.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/src/Login.php -------------------------------------------------------------------------------- /src/ManageTokens.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/src/ManageTokens.php -------------------------------------------------------------------------------- /src/RefreshToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/src/RefreshToken.php -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/_data/.gitignore: -------------------------------------------------------------------------------- 1 | dump.sql -------------------------------------------------------------------------------- /tests/_data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_data/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_data/config.php -------------------------------------------------------------------------------- /tests/_support/AcceptanceTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/AcceptanceTester.php -------------------------------------------------------------------------------- /tests/_support/ApiTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/ApiTester.php -------------------------------------------------------------------------------- /tests/_support/FunctionalTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/FunctionalTester.php -------------------------------------------------------------------------------- /tests/_support/Helper/Acceptance.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Acceptance.php -------------------------------------------------------------------------------- /tests/_support/Helper/Api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Api.php -------------------------------------------------------------------------------- /tests/_support/Helper/Functional.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Functional.php -------------------------------------------------------------------------------- /tests/_support/Helper/Unit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Unit.php -------------------------------------------------------------------------------- /tests/_support/Helper/Wpgraphql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Wpgraphql.php -------------------------------------------------------------------------------- /tests/_support/Helper/Wpunit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/Helper/Wpunit.php -------------------------------------------------------------------------------- /tests/_support/UnitTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/UnitTester.php -------------------------------------------------------------------------------- /tests/_support/WpgraphqlTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/WpgraphqlTester.php -------------------------------------------------------------------------------- /tests/_support/WpunitTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/_support/WpunitTester.php -------------------------------------------------------------------------------- /tests/_support/_generated/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /tests/functional.suite.dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional.suite.dist.yml -------------------------------------------------------------------------------- /tests/functional/AuthCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/AuthCept.php -------------------------------------------------------------------------------- /tests/functional/AuthenticatedRequestCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/AuthenticatedRequestCept.php -------------------------------------------------------------------------------- /tests/functional/InvalidAuthenticatedRequestCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/InvalidAuthenticatedRequestCept.php -------------------------------------------------------------------------------- /tests/functional/InvalidRefreshRequestCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/InvalidRefreshRequestCept.php -------------------------------------------------------------------------------- /tests/functional/LoginAndRetrieveTokensCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/LoginAndRetrieveTokensCept.php -------------------------------------------------------------------------------- /tests/functional/RefreshRequestCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/functional/RefreshRequestCept.php -------------------------------------------------------------------------------- /tests/wpunit.suite.dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/wpunit.suite.dist.yml -------------------------------------------------------------------------------- /tests/wpunit/AuthenticationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/tests/wpunit/AuthenticationTest.php -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/autoload.php -------------------------------------------------------------------------------- /vendor/composer/ClassLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/ClassLoader.php -------------------------------------------------------------------------------- /vendor/composer/InstalledVersions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/InstalledVersions.php -------------------------------------------------------------------------------- /vendor/composer/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/LICENSE -------------------------------------------------------------------------------- /vendor/composer/autoload_classmap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/autoload_classmap.php -------------------------------------------------------------------------------- /vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/autoload_namespaces.php -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/autoload_psr4.php -------------------------------------------------------------------------------- /vendor/composer/autoload_real.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/autoload_real.php -------------------------------------------------------------------------------- /vendor/composer/autoload_static.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/autoload_static.php -------------------------------------------------------------------------------- /vendor/composer/installed.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/installed.json -------------------------------------------------------------------------------- /vendor/composer/installed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/installed.php -------------------------------------------------------------------------------- /vendor/composer/platform_check.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/composer/platform_check.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/CHANGELOG.md -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/LICENSE -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/README.md -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/composer.json -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/BeforeValidException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/BeforeValidException.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/CachedKeySet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/CachedKeySet.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/ExpiredException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/ExpiredException.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/JWK.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/JWK.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/JWT.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/JWT.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/Key.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/Key.php -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/SignatureInvalidException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/vendor/firebase/php-jwt/src/SignatureInvalidException.php -------------------------------------------------------------------------------- /wp-graphql-jwt-authentication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wp-graphql/wp-graphql-jwt-authentication/HEAD/wp-graphql-jwt-authentication.php --------------------------------------------------------------------------------