Auth_OpenID_Signatory::verify PHP Method

verify() public method

Verify, using a given association handle, a signature with signed key-value pairs from an HTTP request.
public verify ( $assoc_handle, $message )
    function verify($assoc_handle, $message)
    {
        $assoc = $this->getAssociation($assoc_handle, true);
        if (!$assoc) {
            // oidutil.log("failed to get assoc with handle %r to verify sig %r"
            //             % (assoc_handle, sig))
            return false;
        }
        return $assoc->checkMessageSignature($message);
    }