mirror of
https://github.com/NamelessMC/Nameless
synced 2026-08-18 06:29:04 -04:00
17 lines
311 B
PHP
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;
|
|
}
|
|
}
|