gitextract_nrzlm6b4/ ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ ├── dependabot.yml │ └── workflows/ │ ├── backwards-compatibility.yml │ ├── coding-standards.yml │ ├── static-analysis.yml │ └── tests.yml ├── .gitignore ├── .scrutinizer.yml ├── .styleci.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── composer.json ├── examples/ │ ├── README.md │ ├── composer.json │ ├── public/ │ │ ├── api.php │ │ ├── auth_code.php │ │ ├── client_credentials.php │ │ ├── device_code.php │ │ ├── implicit.php │ │ ├── middleware_use.php │ │ ├── password.php │ │ └── refresh_token.php │ └── src/ │ ├── Entities/ │ │ ├── AccessTokenEntity.php │ │ ├── AuthCodeEntity.php │ │ ├── ClientEntity.php │ │ ├── DeviceCodeEntity.php │ │ ├── RefreshTokenEntity.php │ │ ├── ScopeEntity.php │ │ └── UserEntity.php │ └── Repositories/ │ ├── AccessTokenRepository.php │ ├── AuthCodeRepository.php │ ├── ClientRepository.php │ ├── DeviceCodeRepository.php │ ├── RefreshTokenRepository.php │ ├── ScopeRepository.php │ └── UserRepository.php ├── phpcs.xml.dist ├── phpstan.neon.dist ├── phpunit.xml.dist ├── src/ │ ├── AuthorizationServer.php │ ├── AuthorizationValidators/ │ │ ├── AuthorizationValidatorInterface.php │ │ └── BearerTokenValidator.php │ ├── CodeChallengeVerifiers/ │ │ ├── CodeChallengeVerifierInterface.php │ │ ├── PlainVerifier.php │ │ └── S256Verifier.php │ ├── CryptKey.php │ ├── CryptKeyInterface.php │ ├── CryptTrait.php │ ├── Entities/ │ │ ├── AccessTokenEntityInterface.php │ │ ├── AuthCodeEntityInterface.php │ │ ├── ClientEntityInterface.php │ │ ├── DeviceCodeEntityInterface.php │ │ ├── RefreshTokenEntityInterface.php │ │ ├── ScopeEntityInterface.php │ │ ├── TokenInterface.php │ │ ├── Traits/ │ │ │ ├── AccessTokenTrait.php │ │ │ ├── AuthCodeTrait.php │ │ │ ├── ClientTrait.php │ │ │ ├── DeviceCodeTrait.php │ │ │ ├── EntityTrait.php │ │ │ ├── RefreshTokenTrait.php │ │ │ ├── ScopeTrait.php │ │ │ └── TokenEntityTrait.php │ │ └── UserEntityInterface.php │ ├── EventEmitting/ │ │ ├── AbstractEvent.php │ │ ├── EmitterAwareInterface.php │ │ ├── EmitterAwarePolyfill.php │ │ └── EventEmitter.php │ ├── Exception/ │ │ ├── OAuthServerException.php │ │ └── UniqueTokenIdentifierConstraintViolationException.php │ ├── Grant/ │ │ ├── AbstractAuthorizeGrant.php │ │ ├── AbstractGrant.php │ │ ├── AuthCodeGrant.php │ │ ├── ClientCredentialsGrant.php │ │ ├── DeviceCodeGrant.php │ │ ├── GrantTypeInterface.php │ │ ├── ImplicitGrant.php │ │ ├── PasswordGrant.php │ │ └── RefreshTokenGrant.php │ ├── Middleware/ │ │ ├── AuthorizationServerMiddleware.php │ │ └── ResourceServerMiddleware.php │ ├── RedirectUriValidators/ │ │ ├── RedirectUriValidator.php │ │ └── RedirectUriValidatorInterface.php │ ├── Repositories/ │ │ ├── AccessTokenRepositoryInterface.php │ │ ├── AuthCodeRepositoryInterface.php │ │ ├── ClientRepositoryInterface.php │ │ ├── DeviceCodeRepositoryInterface.php │ │ ├── RefreshTokenRepositoryInterface.php │ │ ├── RepositoryInterface.php │ │ ├── ScopeRepositoryInterface.php │ │ └── UserRepositoryInterface.php │ ├── RequestAccessTokenEvent.php │ ├── RequestEvent.php │ ├── RequestRefreshTokenEvent.php │ ├── RequestTypes/ │ │ ├── AuthorizationRequest.php │ │ └── AuthorizationRequestInterface.php │ ├── ResourceServer.php │ └── ResponseTypes/ │ ├── AbstractResponseType.php │ ├── BearerTokenResponse.php │ ├── DeviceCodeResponse.php │ ├── RedirectResponse.php │ └── ResponseTypeInterface.php └── tests/ ├── AuthorizationServerTest.php ├── AuthorizationValidators/ │ └── BearerTokenValidatorTest.php ├── CodeChallengeVerifiers/ │ ├── PlainVerifierTest.php │ └── S256VerifierTest.php ├── EventEmitting/ │ └── EmitterAwarePolyfillTest.php ├── Exception/ │ └── OAuthServerExceptionTest.php ├── Grant/ │ ├── AbstractGrantTest.php │ ├── AuthCodeGrantTest.php │ ├── ClientCredentialsGrantTest.php │ ├── DeviceCodeGrantTest.php │ ├── ImplicitGrantTest.php │ ├── PasswordGrantTest.php │ └── RefreshTokenGrantTest.php ├── Middleware/ │ ├── AuthorizationServerMiddlewareTest.php │ └── ResourceServerMiddlewareTest.php ├── PHPStan/ │ └── AbstractGrantExtension.php ├── RedirectUriValidators/ │ └── RedirectUriValidatorTest.php ├── ResourceServerTest.php ├── ResponseTypes/ │ ├── BearerResponseTypeTest.php │ ├── BearerTokenResponseWithParams.php │ └── DeviceCodeResponseTypeTest.php ├── Stubs/ │ ├── .gitattributes │ ├── AccessTokenEntity.php │ ├── AuthCodeEntity.php │ ├── ClientEntity.php │ ├── CryptTraitStub.php │ ├── DeviceCodeEntity.php │ ├── GrantType.php │ ├── RefreshTokenEntity.php │ ├── ScopeEntity.php │ ├── StubResponseType.php │ ├── UserEntity.php │ ├── private.key │ ├── private.key.crlf │ └── public.key └── Utils/ ├── CryptKeyTest.php └── CryptTraitTest.php