This repository has been archived on 2023-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
machines-serv/config.inc.php.example

32 lines
833 B
Plaintext

<?php
use OTPHP\TOTP;
$DOMAIN = 'machines.frogeye.fr';
$TOTP = new TOTP(
'newcommer@machines.frogeye.fr', // The label (string)
'CHANGEMECHANGEME', // The secret encoded in base 32 (string)
10, // The period (int)
'sha512', // The digest algorithm (string)
8 // The number of digits (int)
);
$TOTP->setIssuer('Machines Frogeye');
$GIT_APIS = array(
'github' => array(
'api' => 'https://api.github.com',
'token' => 'CHANGEME'
),
'gogs' => array(
'api' => 'https://try.gogs.io/api/v1',
'token' => 'CHANGEME'
),
'gitlab' => array(
'api' => 'https://gitlab.com/api/v3',
'token' => 'CHANGEME',
'authHeader' => 'PRIVATE-TOKEN: ',
),
);
?>