forked from GNUsocial/gnu-social
checkAuthor not used anywhere
This commit is contained in:
parent
3c322abafc
commit
fac102a50a
@ -217,19 +217,6 @@ class MagicEnvelope
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if the author in the Atom entry fragment claims to match
|
|
||||||
* the given identifier URI.
|
|
||||||
*
|
|
||||||
* @param string $text string containing Atom entry XML
|
|
||||||
* @param string $signer_uri
|
|
||||||
* @return boolean
|
|
||||||
*/
|
|
||||||
public function checkAuthor($text, $signer_uri)
|
|
||||||
{
|
|
||||||
return ($this->getAuthor($text) == $signer_uri);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempt to verify cryptographic signing for parsed envelope data.
|
* Attempt to verify cryptographic signing for parsed envelope data.
|
||||||
* Requires network access to retrieve public key referenced by the envelope signer.
|
* Requires network access to retrieve public key referenced by the envelope signer.
|
||||||
|
Loading…
Reference in New Issue
Block a user