Andrew Millington 
							
						 
					 
					
						
						
							
						
						e4a7fea834 
					 
					
						
						
							
							Move OAuthServerExceptionTest to appropriate folder  
						
						 
						
						
						
						
					 
					
						2018-05-25 10:00:21 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						466e1a639d 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master' into exception-has-redirect  
						
						 
						
						
						
						
					 
					
						2018-05-25 09:49:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						72ead2e3ce 
					 
					
						
						
							
							Fix unused use statement  
						
						 
						
						
						
						
					 
					
						2018-05-24 12:23:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						ae4ab26aaf 
					 
					
						
						
							
							Add test for unsigned access token  
						
						 
						
						
						
						
					 
					
						2018-05-24 12:19:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						491c23c1e9 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master' into phpstan-level-7  
						
						 
						
						
						
						
					 
					
						2018-04-21 21:37:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						c8b44ff5c7 
					 
					
						
						
							
							Revert fix for client ID exception  
						
						 
						
						
						
						
					 
					
						2018-04-20 18:22:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						a56acc8dd0 
					 
					
						
						
							
							Minor code tidy up  
						
						 
						
						
						
						
					 
					
						2018-02-28 20:33:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						c9b07f386c 
					 
					
						
						
							
							Fix StyleCI issues and remove phpdoc order from StyleCI  
						
						 
						
						
						
						
					 
					
						2018-02-28 20:01:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						00a7972f74 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master'  
						
						 
						
						
						
						
					 
					
						2018-02-28 19:45:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Hamp 
							
						 
					 
					
						
						
							
						
						6723aadfe8 
					 
					
						
						
							
							Fix   #837  
						
						 
						
						... 
						
						
						
						Unifies how we fetch the client_id from the request and allows us to throw a more appropriate exception when the client_id parameter is missing.
Improves the test method for this validation by checking the culpable method in this particular case. The test was missing this by calling the wrong method. 
						
						
					 
					
						2018-02-26 15:56:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lukáš Unger 
							
						 
					 
					
						
						
							
						
						143afc9561 
					 
					
						
						
							
							PHPStan level 7  
						
						 
						
						
						
						
					 
					
						2018-02-18 21:20:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						e0cc5ee1b0 
					 
					
						
						
							
							Merge branch 'master' of  https://github.com/thephpleague/oauth2-server  into fix-pkce-implementation  
						
						 
						
						
						
						
					 
					
						2018-02-18 13:57:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						b78c012796 
					 
					
						
						
							
							Change code challenge and verifier to be constants in test  
						
						 
						
						
						
						
					 
					
						2018-02-18 13:51:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						25c3c216a0 
					 
					
						
						
							
							Apply fixes from StyleCI  
						
						 
						
						
						
						
					 
					
						2018-02-17 19:31:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lukáš Unger 
							
						 
					 
					
						
						
							
						
						1f87c7a7be 
					 
					
						
						
							
							Update PHPUnit, run static analysis on tests  
						
						 
						
						
						
						
					 
					
						2018-02-11 23:22:46 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Erick Torres 
							
						 
					 
					
						
						
							
						
						ce2662ece7 
					 
					
						
						
							
							Merge branch 'master' of github.com:thephpleague/oauth2-server into fix-pkce-implementation  
						
						 
						
						... 
						
						
						
						# Conflicts:
#	tests/Grant/AuthCodeGrantTest.php 
						
						
					 
					
						2018-02-05 15:32:15 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						8bbd218856 
					 
					
						
						
							
							Merge pull request  #842  from sgomez/fix-challenge-pkce  
						
						 
						
						... 
						
						
						
						Fix S256 code challenge method 
						
						
					 
					
						2018-01-25 23:16:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						eb9cde5ab7 
					 
					
						
						
							
							Merge pull request  #805  from raarts/Accept-RSA-key-with-crlf-v2  
						
						 
						
						... 
						
						
						
						Also accept an RSA key with crlf 
						
						
					 
					
						2018-01-23 22:24:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sergio Gómez 
							
						 
					 
					
						
						
							
						
						1b692e2298 
					 
					
						
						
							
							Fix S256 code challenge method  
						
						 
						
						... 
						
						
						
						According to [RFC7636#section-4.3](https://tools.ietf.org/html/rfc7636#section-4.3 ):
    If the "code_challenge_method" from Section 4.3 was "S256", the
    received "code_verifier" is hashed by SHA-256, base64url-encoded, and
    then compared to the "code_challenge", i.e.:
    BASE64URL-ENCODE(SHA256(ASCII(code_verifier))) == code_challenge
So, the hash must be done before the base64_encode.
The tests are modified to use example data from the
[RFC7636#appendix-B](https://tools.ietf.org/html/rfc7636#appendix-B ). 
						
						
					 
					
						2018-01-18 05:31:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								SunMar 
							
						 
					 
					
						
						
							
						
						292272d128 
					 
					
						
						
							
							Allow CryptTrait to accept a \Defuse\Crypto\Key as encryption key  #812  
						
						 
						
						
						
						
					 
					
						2018-01-04 15:14:03 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ron Arts 
							
						 
					 
					
						
						
							
						
						91d9c11fb4 
					 
					
						
						
							
							Fixed tests, allow whitespace at the end of a key  
						
						 
						
						
						
						
					 
					
						2018-01-03 10:18:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ron Arts 
							
						 
					 
					
						
						
							
						
						2ec8d148b0 
					 
					
						
						
							
							fix .gitattributes  
						
						 
						
						
						
						
					 
					
						2018-01-03 09:41:39 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Erick Torres 
							
						 
					 
					
						
						
							
						
						01d21b2533 
					 
					
						
						
							
							Update statement to generate codeChallenge in AuthCodeGrantTest  
						
						 
						
						
						
						
					 
					
						2017-12-29 12:32:12 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						b6d9835281 
					 
					
						
						
							
							Merge branch 'master' into fix-pkce-implementation  
						
						 
						
						
						
						
					 
					
						2017-12-28 16:37:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						57ca83a8ba 
					 
					
						
						
							
							Removing missing scope tests as temporarily reverted this functionality  
						
						 
						
						
						
						
					 
					
						2017-12-24 00:18:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						41bba7f58c 
					 
					
						
						
							
							Removing missing scope test  
						
						 
						
						... 
						
						
						
						Temporarily removing missing scope test as have reverted this functionality for version 6.1.1 
						
						
					 
					
						2017-12-24 00:07:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						dcae4af6ce 
					 
					
						
						
							
							Remove missing scope test  
						
						 
						
						... 
						
						
						
						Temporarily removing missing scope test for the AuthGrant 
						
						
					 
					
						2017-12-24 00:06:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						1c36b70dab 
					 
					
						
						
							
							Fixed ordering so we only hash after base64 encoding  
						
						 
						
						
						
						
					 
					
						2017-12-23 02:06:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						f11e4c81cd 
					 
					
						
						
							
							Merge pull request  #697  from fkooman/fix-s256  
						
						 
						
						... 
						
						
						
						Fix PKCE code verifier encoding to match specification 
						
						
					 
					
						2017-12-23 01:52:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gabriel Caruso 
							
						 
					 
					
						
						
							
						
						9ceafe5dd3 
					 
					
						
						
							
							Refactoring tests  
						
						 
						
						
						
						
					 
					
						2017-12-06 18:24:42 -02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						8c93fd74c9 
					 
					
						
						
							
							Merge pull request  #573  from ismailbaskin/master  
						
						 
						
						... 
						
						
						
						Include redirect_uri check on authorization endpoint 
						
						
					 
					
						2017-11-19 20:57:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						b50c7622db 
					 
					
						
						
							
							Add in validation for authorization requests.  
						
						 
						
						... 
						
						
						
						Fixes  thephpleague/oauth2-server#677  
						
						
					 
					
						2017-11-14 00:12:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						dc9c1a1023 
					 
					
						
						
							
							Remove blank line to keep code consistent  
						
						 
						
						
						
						
					 
					
						2017-11-13 23:59:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						7878cf9c13 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master'  
						
						 
						
						
						
						
					 
					
						2017-11-13 23:52:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						1bcee9aaba 
					 
					
						
						
							
							Add a test for a missing scope for the password grant  
						
						 
						
						
						
						
					 
					
						2017-11-13 23:16:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						1e3a84fc85 
					 
					
						
						
							
							Add a test to ensure response requests fail without a scope specified  
						
						 
						
						
						
						
					 
					
						2017-11-13 23:00:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						a5c5929dc9 
					 
					
						
						
							
							Change default scope to be basic  
						
						 
						
						
						
						
					 
					
						2017-11-13 22:34:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						c6bf2e1df0 
					 
					
						
						
							
							Remove unnecessary white spaces  
						
						 
						
						
						
						
					 
					
						2017-11-13 22:31:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sephster 
							
						 
					 
					
						
						
							
						
						65789e0f39 
					 
					
						
						
							
							Fix tests to support default scopes for authorization requests  
						
						 
						
						
						
						
					 
					
						2017-11-13 22:20:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Gabriel Caruso 
							
						 
					 
					
						
						
							
						
						04f3d39b45 
					 
					
						
						
							
							Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase  
						
						 
						
						
						
						
					 
					
						2017-11-08 16:07:07 -02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						ce8248c10f 
					 
					
						
						
							
							Remove erroneous character  
						
						 
						
						
						
						
					 
					
						2017-11-06 22:56:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						13be557825 
					 
					
						
						
							
							Re-add the complete testCompleteAuthorizationRequestNoUser()  
						
						 
						
						
						
						
					 
					
						2017-11-06 22:51:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						0f08063864 
					 
					
						
						
							
							Fixed use of default scope so it is only for authorization requests  
						
						 
						
						
						
						
					 
					
						2017-11-06 22:33:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						bd2cdaf5da 
					 
					
						
						
							
							Change missing scope test to check for invalid_scope exception  
						
						 
						
						
						
						
					 
					
						2017-10-31 23:01:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						d0619385b8 
					 
					
						
						
							
							Add a basic test to ensure we throw an exception when no scope is given  
						
						 
						
						
						
						
					 
					
						2017-10-31 21:00:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ron Arts 
							
						 
					 
					
						
						
							
						
						f79d3f27cf 
					 
					
						
						
							
							Incorporate  https://github.com/thephpleague/oauth2-server/pull/731 . Thanks.  
						
						 
						
						... 
						
						
						
						Now can handle cr/lf, cr, and lf endings. And on php5 large keys as well. 
						
						
					 
					
						2017-10-31 10:14:46 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						3828f87b19 
					 
					
						
						
							
							Fix tests as no longer set the default scope in the constructor  
						
						 
						
						... 
						
						
						
						Use new setDefaultScope() method instead. Also changed default scope to
be a blank string instead of null 
						
						
					 
					
						2017-10-30 23:48:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						1161ceda0d 
					 
					
						
						
							
							Fix the authorization server middleware test  
						
						 
						
						
						
						
					 
					
						2017-10-30 23:26:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Millington 
							
						 
					 
					
						
						
							
						
						f9143b5163 
					 
					
						
						
							
							Fix the refresh token grant test  
						
						 
						
						
						
						
					 
					
						2017-10-30 23:26:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ron Arts 
							
						 
					 
					
						
						
							
						
						90fec63104 
					 
					
						
						
							
							Setup the public.key.crlf with the proper permissions  
						
						 
						
						
						
						
					 
					
						2017-10-30 16:41:10 +01:00