Verification Identification OASIS

Générer un Nonce
Générer un Created

Resultat

SOAP

<UsernameToken>
	<Username>[ici l'identifiant]</Username>
	<Password></Password>
	<Created></Created>
	<Nonce></Nonce>
</UsernameToken>
					

REST

!username=[ici l'identifiant]&password=&nonce=&created=					

Code PHP pour exemple
Attention au majuscule/minuscule
if (!empty($_GET['password']))
{
	$sSecurePassword = base64_encode(md5($_GET['password'], true));
}
else
{
	$sSecurePassword = 'AAAAAAAAAAAAAAAAAAAAAA==';
}

$this->Password = base64_encode(sha1($_GET['nonce'].$_GET['created'].$sSecurePassword, true));