You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @description A security controller that can enable/disable biometric authentication for the app and provide for basic pin based application authentication schemes.
7
7
*
8
8
* Uses the following namespaces in the store:
@@ -29,7 +29,7 @@ export class SecurityController {
29
29
}
30
30
31
31
/**
32
-
* @author SoSweetHam <soham@auvo.io>
32
+
* @author SoSweetHam <soham@ensombl.io>
33
33
* @description Store hash of app pin lock by providing the pin in 4 digit plain text
34
34
* @memberof SecurityController
35
35
* @param pin - The pin in plain text
@@ -51,7 +51,7 @@ export class SecurityController {
51
51
}
52
52
53
53
/**
54
-
* @author SoSweetHam <soham@auvo.io>
54
+
* @author SoSweetHam <soham@ensombl.io>
55
55
* @returns The pin hash if set, else undefined
56
56
* @throws Error if the pin is not set
57
57
* @description Get the pin hash for the app if set
@@ -66,7 +66,7 @@ export class SecurityController {
66
66
}
67
67
68
68
/**
69
-
* @author SoSweetHam <soham@auvo.io>
69
+
* @author SoSweetHam <soham@ensombl.io>
70
70
* @description Clear the pin for the app - For debug use only, ideally.
71
71
* @memberof SecurityController
72
72
* @returns void
@@ -76,7 +76,7 @@ export class SecurityController {
76
76
}
77
77
78
78
/**
79
-
* @author SoSweetHam <soham@auvo.io>
79
+
* @author SoSweetHam <soham@ensombl.io>
80
80
* @description Verify the pin for the app
81
81
* @memberof SecurityController
82
82
* @param pin The pin in plain text.
@@ -93,7 +93,7 @@ export class SecurityController {
93
93
}
94
94
95
95
/**
96
-
* @author SoSweetHam <soham@auvo.io>
96
+
* @author SoSweetHam <soham@ensombl.io>
97
97
* @memberof SecurityController
98
98
* @description Set/Update the pin for the app
99
99
* @param newPin The new pin in plain text
@@ -136,7 +136,28 @@ export class SecurityController {
136
136
}
137
137
138
138
/**
139
-
* @author SoSweetHam <soham@auvo.io>
139
+
* @author SoSweetHam <soham@ensombl.io>
140
+
* @memberof SecurityController
141
+
* @description Set the onboarding pin for the app
142
+
* @param pin - The pin in plain text
143
+
* @param confirmPin - The confirm pin in plain text
0 commit comments