mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Coverted tabs to spaces
This commit is contained in:
		@@ -4,23 +4,23 @@ namespace LNCD\OAuth2server;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class AccessToken
 | 
					class AccessToken
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	function __construct()
 | 
					    function __construct()
 | 
				
			||||||
	{
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	}
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	public function get(int $sessionId)
 | 
					    public function get(int $sessionId)
 | 
				
			||||||
	{
 | 
					    {
 | 
				
			||||||
		// returns an access token that the user may already have (else generate a new one)
 | 
					        // returns an access token that the user may already have (else generate a new one)
 | 
				
			||||||
	}
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	public function validate(string $accessToken, array $scopes)
 | 
					    public function validate(string $accessToken, array $scopes)
 | 
				
			||||||
	{
 | 
					    {
 | 
				
			||||||
		// tests if an access token is valid
 | 
					        // tests if an access token is valid
 | 
				
			||||||
	}
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	private function set(int $sessionId)
 | 
					    private function set(int $sessionId)
 | 
				
			||||||
	{
 | 
					    {
 | 
				
			||||||
		// generate a new access token
 | 
					        // generate a new access token
 | 
				
			||||||
	}
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user