setup
@quik/authorization / Module / setup
Function: setup()
setup(
options):Promise<void>
Defined in: authorization/src/module.ts:34
Initializes the authorization module.
This function sets up the authorization module by loading localization files for error messages and other translatable content. It's called automatically by the Quik bootstrapper when the application starts.
Parameters
options
IQModuleSetup
Module setup options provided by the bootstrapper
Returns
Promise<void>
Example
// This is called automatically by the bootstrapper
// Manual initialization (rarely needed):
import { setup } from "@quik/authorization";
await setup({
config: appConfig,
logger: appLogger
});
See
onAfterInit For post-initialization tasks