Initial Commit

This commit is contained in:
Netkas 2023-06-04 14:23:51 -04:00
parent 93a0b9be02
commit 6e599b2c0c
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
99 changed files with 10836 additions and 4 deletions

View file

@ -0,0 +1,14 @@
<?php
require 'ncc';
import('net.nosial.federationlib');
$federationlib = new \FederationLib\FederationLib();
$client = new \FederationLib\Objects\Client();
$client->setDescription('This is a test client generated by a test script.');
$uuid = $federationlib->getClientManager()->registerClient($client);
print(sprintf('Client UUID: %s', $uuid) . PHP_EOL);
exit(0);