mirror of
https://github.com/elyby/accounts.git
synced 2024-12-29 00:20:22 +05:30
27 lines
767 B
PHP
27 lines
767 B
PHP
<?php
|
|
namespace api\tests\_pages;
|
|
|
|
class AuthserverRoute extends BasePage {
|
|
|
|
public function authenticate($params) {
|
|
$this->getActor()->sendPOST('/api/authserver/authentication/authenticate', $params);
|
|
}
|
|
|
|
public function refresh($params) {
|
|
$this->getActor()->sendPOST('/api/authserver/authentication/refresh', $params);
|
|
}
|
|
|
|
public function validate($params) {
|
|
$this->getActor()->sendPOST('/api/authserver/authentication/validate', $params);
|
|
}
|
|
|
|
public function invalidate($params) {
|
|
$this->getActor()->sendPOST('/api/authserver/authentication/invalidate', $params);
|
|
}
|
|
|
|
public function signout($params) {
|
|
$this->getActor()->sendPOST('/api/authserver/authentication/signout', $params);
|
|
}
|
|
|
|
}
|