├── .gitignore ├── .gitlab-ci.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── .gitkeep ├── Authenticator.php ├── Checker │ ├── SignatureValueChecker.php │ └── TimestampChecker.php ├── Client.php ├── Exceptions │ ├── BaseException.php │ ├── SignatureTimestampException.php │ └── SignatureValueException.php ├── Helpers.php └── Interfaces │ ├── AuthenticatorInterface.php │ └── CheckerInterface.php └── tests ├── .gitkeep ├── AuthenticatorTest.php ├── HelpersTest.php ├── SignatureValueCheckerTest.php └── TimestampCheckerTest.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Authenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Authenticator.php -------------------------------------------------------------------------------- /src/Checker/SignatureValueChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Checker/SignatureValueChecker.php -------------------------------------------------------------------------------- /src/Checker/TimestampChecker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Checker/TimestampChecker.php -------------------------------------------------------------------------------- /src/Client.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Client.php -------------------------------------------------------------------------------- /src/Exceptions/BaseException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Exceptions/BaseException.php -------------------------------------------------------------------------------- /src/Exceptions/SignatureTimestampException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Exceptions/SignatureTimestampException.php -------------------------------------------------------------------------------- /src/Exceptions/SignatureValueException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Exceptions/SignatureValueException.php -------------------------------------------------------------------------------- /src/Helpers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Helpers.php -------------------------------------------------------------------------------- /src/Interfaces/AuthenticatorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Interfaces/AuthenticatorInterface.php -------------------------------------------------------------------------------- /src/Interfaces/CheckerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/src/Interfaces/CheckerInterface.php -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/AuthenticatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/tests/AuthenticatorTest.php -------------------------------------------------------------------------------- /tests/HelpersTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/tests/HelpersTest.php -------------------------------------------------------------------------------- /tests/SignatureValueCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/tests/SignatureValueCheckerTest.php -------------------------------------------------------------------------------- /tests/TimestampCheckerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lingxi/api-authentication/HEAD/tests/TimestampCheckerTest.php --------------------------------------------------------------------------------