<p>What kind of token you need to validate using the same query as in auth_db? That is used to fetch the password for WWW Digest authentication.</p>

<p>I am not sure what can be made a library from auth_db. Access to database is a library already. I don't want to make auth_db more complex that it is now by adding other layers of abstraction for getting a library out of it, I don't see how that can be done given the existing functionality.</p>

<p>Maybe you can give more specific details about what you need and then you will get a precise answer.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/50#issuecomment-71167696">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zasyi63VUoNpjaZKcvdnjUtzXls_ks5nkguXgaJpZM4DV3fr.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/50#issuecomment-71167696"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>