Saya sering lupa, jadi tulis aja di gist.
telnet 192.168.1.1
login: root
pass : Zte521
<?php | |
/** | |
* An extension to modUser that allows Atlassian Crowd integration via SOAP. | |
* | |
* @todo Complete this class to handle all external user management tasks | |
* allowed with Crowd. | |
* | |
* @package modx | |
* @subpackage user.crowd | |
*/ |
<?php | |
$key = 'your-secret-key-here'; | |
$header = [ | |
'typ' => 'JWT', | |
'alg' => 'HS256' | |
]; | |
$header = json_encode($header); | |
$header = base64_encode($header); |