couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject couch commit: updated refs/heads/2491-refactor-couch-httpd-auth to 0bb4cb5
Date Fri, 05 Dec 2014 16:56:30 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/2491-refactor-couch-httpd-auth 3e8286d40 -> 0bb4cb5fe


Export session utility functions

Other auth solutions will want to reuse these functions. These should
probably be moved to a separate auth utility module but this seems like
the most prudent course of action.

COUCHDB-2491


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/0bb4cb5f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/0bb4cb5f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/0bb4cb5f

Branch: refs/heads/2491-refactor-couch-httpd-auth
Commit: 0bb4cb5fe0819432cbfb88c7a5da707dc690cf29
Parents: 3e8286d
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Fri Dec 5 10:55:04 2014 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Dec 5 10:55:04 2014 -0600

----------------------------------------------------------------------
 src/couch_httpd_auth.erl | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/0bb4cb5f/src/couch_httpd_auth.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_auth.erl b/src/couch_httpd_auth.erl
index e1af621..b6733cb 100644
--- a/src/couch_httpd_auth.erl
+++ b/src/couch_httpd_auth.erl
@@ -21,6 +21,11 @@
 -export([cookie_auth_header/2]).
 -export([handle_session_req/1, handle_session_req/2]).
 
+-export([authenticate/2, verify_totp/2, maybe_upgrade_password_hash/6]).
+-export([ensure_cookie_auth_secret/0, make_cookie_time/0]).
+-export([cookie_auth_cookie/4, cookie_scheme/1]).
+-export([auth_name/1, maybe_value/3]).
+
 -import(couch_httpd, [header_value/2, send_json/2,send_json/4, send_method_not_allowed/2]).
 
 -compile({no_auto_import,[integer_to_binary/1]}).


Mime
View raw message