UNPKG
mustbe
Version:
latest (0.4.0)
0.4.0
0.3.1
0.3.0
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Authorization plumbing for Node+Express apps
github.com/derickbailey/mustbe
derickbailey/mustbe
mustbe
/
mustbe
/
config
/
user-identity.js
10 lines
(7 loc)
•
174 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
function
UserIdentity
(
){
this
.
config
= {}; }
UserIdentity
.
prototype
.
isAuthenticated
=
function
(
cb
){
this
.
config
.
isAuthenticated
= cb; };
module
.
exports
=
UserIdentity
;