mirror of
https://github.com/elyby/accounts.git
synced 2024-11-20 04:03:12 +05:30
0dbbb2e0de
Реорганизованы объекты Pages для Functional тестов Исправлены не переименованные тесты, оставшиеся после последнего рефакторинга
27 lines
759 B
PHP
27 lines
759 B
PHP
<?php
|
|
namespace tests\codeception\api\_pages;
|
|
|
|
class AuthserverRoute extends BasePage {
|
|
|
|
public function authenticate($params) {
|
|
$this->getActor()->sendPOST('/authserver/authentication/authenticate', $params);
|
|
}
|
|
|
|
public function refresh($params) {
|
|
$this->getActor()->sendPOST('/authserver/authentication/refresh', $params);
|
|
}
|
|
|
|
public function validate($params) {
|
|
$this->getActor()->sendPOST('/authserver/authentication/validate', $params);
|
|
}
|
|
|
|
public function invalidate($params) {
|
|
$this->getActor()->sendPOST('/authserver/authentication/invalidate', $params);
|
|
}
|
|
|
|
public function signout($params) {
|
|
$this->getActor()->sendPOST('/authserver/authentication/signout', $params);
|
|
}
|
|
|
|
}
|