Horde_Token_Base::_decode PHP Méthode

_decode() private méthode

Decode a token into the prefixed nonce and the hash.
private _decode ( string $token ) : array
$token string The token to be decomposed.
Résultat array An array of two elements: The nonce and the hash.
    private function _decode($token)
    {
        $b = Horde_Url::uriB64Decode($token);
        return array(substr($b, 0, 6), substr($b, 6));
    }