|
# File jabber4r/protocol.rb, line 518
def Iq.gen_auth_digest(session, id, username, digest, resource)
iq = Iq.new(session, id)
iq.type = "set"
iq.data = XMLElement.new("username").add_data(username).to_s
iq.data << XMLElement.new("digest").add_data(digest).to_s
iq.data << XMLElement.new("resource").add_data(resource).to_s
return iq
end
|