mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Добавлен client_credentials grant для oAuth Рефакторинг структуры OauthScopes чтобы можно было разделить владельца прав на пользовательские и общие (машинные) Исправлена стилистика кода, внедряются фишки PHP 7.1
		
			
				
	
	
		
			17 lines
		
	
	
		
			350 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			350 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
namespace tests\codeception\api\_pages;
 | 
						|
 | 
						|
use yii\codeception\BasePage;
 | 
						|
 | 
						|
/**
 | 
						|
 * @property \tests\codeception\api\FunctionalTester $actor
 | 
						|
 */
 | 
						|
class InternalRoute extends BasePage {
 | 
						|
 | 
						|
    public function ban($accountId) {
 | 
						|
        $this->route = '/internal/accounts/' . $accountId . '/ban';
 | 
						|
        $this->actor->sendPOST($this->getUrl());
 | 
						|
    }
 | 
						|
 | 
						|
}
 |