@luizleon/sf.prefeiturasp.vuecomponents 0.0.63 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/authService.d.ts +3 -8
- package/dist/sf.prefeiturasp.vuecomponents.es.js +3062 -3959
- package/dist/sf.prefeiturasp.vuecomponents.es.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.js +54 -59
- package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/services/authService.ts +7 -9
package/package.json
CHANGED
|
@@ -91,21 +91,19 @@ function ConfigAuthService(config?: KeycloakConfig): IAuthService {
|
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
AuthService = {
|
|
95
95
|
Instance: keycloakInstance,
|
|
96
96
|
User,
|
|
97
97
|
Init,
|
|
98
98
|
Logout,
|
|
99
99
|
};
|
|
100
|
+
|
|
101
|
+
return AuthService;
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
* @param config
|
|
106
|
-
* @returns
|
|
107
|
-
*/
|
|
108
|
-
const UseAuthService = (config?: KeycloakConfig) =>
|
|
104
|
+
const UseAuthService = () => AuthService;
|
|
105
|
+
|
|
106
|
+
const StartAuthService = (config: KeycloakConfig) =>
|
|
109
107
|
ConfigAuthService(config);
|
|
110
108
|
|
|
111
|
-
export { UseAuthService };
|
|
109
|
+
export { StartAuthService, UseAuthService };
|