0.1.6 • Published 6 years ago

eq-digest-authentication v0.1.6

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
6 years ago

eq-digest-authentication

Digest authentication module for Eq applications.

Example

const express = require('express'),
    digest_authentication = require('eq-digest-authentication'),
    digest_authentication_strategy = require('eq-digest-authentication-strategy'),
    users = [
        {username: 'username1', password: 'password1'},
        {username: 'username2', password: 'password2'}
    ],
    options = {
        realm: 'realm',
        qop: 'auth',
        algorithm: 'sha-256'
    },
    app = express(),
    strategy = digest_authentication_strategy.object(users, options),
    digest_authentication = digest_authentication(strategy, options);

app.use(digest_authentication.middleware());
0.1.6

6 years ago

0.1.5

7 years ago

0.1.4

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago