mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Implemented device code grant
This commit is contained in:
		
							
								
								
									
										15
									
								
								common/tests/fixtures/data/oauth-device-codes.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								common/tests/fixtures/data/oauth-device-codes.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
return [
 | 
			
		||||
    [
 | 
			
		||||
        'device_code' => 'nKuYFfwckZywqU8iUKv3ek4VtiMiMCkiC0YTZFPbWycSxdRpHiYP2wnv3S0KHBgYky8fRDqfhhCqzke7',
 | 
			
		||||
        'user_code' => 'AAAABBBB',
 | 
			
		||||
        'client_id' => 'ely',
 | 
			
		||||
        'scopes' => ['minecraft_server_session', 'account_info'],
 | 
			
		||||
        'account_id' => null,
 | 
			
		||||
        'is_approved' => null,
 | 
			
		||||
        'last_polled_at' => null,
 | 
			
		||||
        'expires_at' => time() + 1800,
 | 
			
		||||
    ],
 | 
			
		||||
];
 | 
			
		||||
		Reference in New Issue
	
	Block a user