-
Notifications
You must be signed in to change notification settings - Fork 1
/
ModuleConfig.cfc
36 lines (30 loc) · 912 Bytes
/
ModuleConfig.cfc
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
36
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 = [
"preRememberMe",
"postRememberMe"
]
};
}
function onLoad() {
binder.map( "RememberMeService@rememberMe" ).to( "#moduleMapping#.models.RememberMeService" );
}
function onUnload() {
}
}