-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathModuleConfig.cfc
More file actions
35 lines (29 loc) · 873 Bytes
/
ModuleConfig.cfc
File metadata and controls
35 lines (29 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
component {
this.title = "rememberMe";
// Don't map models, we will do it manually
this.autoMapModels = false;
// Module Dependencies
this.dependencies = [ "qb" ];
// Helpers automatically loaded
this.applicationHelper = [ "helpers/Mixins.cfm" ];
function configure() {
settings = {
userServiceClass = "",
tokenEncryptKey = "", // generateSecretKey("AES", 256);
tokenEncryptAlgorithm = "aes",
validatorHashAlgorithm = "MD5",
days = 30
};
// Custom Events
interceptorSettings = {
customInterceptionPoints = [
"onRecall"
]
};
}
function onLoad() {
binder.map( "RememberMeService@rememberMe" ).to( "#moduleMapping#.models.RememberMeService" );
}
function onUnload() {
}
}