mc-cms-namelessmc/core/classes/Endpoints/NoAuthEndpoint.php
Sam 6f15e14392
chore: fix styleci (#3588)
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:50:03 +00:00

17 lines
311 B
PHP

<?php
/**
* Allows an endpoint to not require any authorisation.
*
* @package NamelessMC\Endpoints
* @author Aberdeener
* @version 2.0.0-pr13
* @license MIT
*/
class NoAuthEndpoint extends EndpointBase
{
final public function isAuthorised(Nameless2API $api): bool
{
return true;
}
}