tml">&lt;login&gt;</a> which takes a username and password. If the username exists and the password matches, then the user object will be returned (and stored in <code>.user</code>). Here's an example:</p>
<pre class="moya-console format-xml"><a name="line1"></a><div class="line line-1"></span><span class="tag">&lt;</span><span class="tag xmlns">auth:</span><span class="tag tagname">login</span><span class="tag tagcontent">&nbsp;username=</span><span class="attrib tag tagcontent">"'john'"</span><span class=