allow to manually define the auth token for client and settings

This commit is contained in:
Anthony Bellancourt
2025-01-21 17:21:53 +01:00
parent 7c2253c896
commit 9b1ded7968
3 changed files with 14 additions and 5 deletions

View File

@@ -25,11 +25,13 @@ class Collection
/**
* @param string $url
* @param string $collection
* @param string $token
*/
public function __construct(string $url, string $collection)
public function __construct(string $url, string $collection, string $token)
{
$this->url = $url;
$this->collection = $collection;
self::$token = $token;
}
/**