@hz-9/a5-authn
Version:
Authentication module for the @hz-9/a5-* series of repositories.
27 lines (26 loc) • 666 B
TypeScript
/**
* A5AuthnModule 的选项配置接口
* 用于同步配置方式 A5AuthnModule.forRoot()
* @public
*/
export interface A5AuthnModuleOptions {
}
/**
* A5AuthnModule 的异步选项配置接口
* 用于异步配置方式 A5AuthnModule.forRootAsync()
* @public
*/
export interface A5AuthnModuleAsyncOptions {
/**
* 工厂函数,返回 A5AuthnModuleOptions 配置对象
*/
useFactory?: (...args: unknown[]) => Promise<A5AuthnModuleOptions> | A5AuthnModuleOptions;
/**
* 需要注入到 useFactory 函数中的依赖项
*/
inject?: unknown[];
/**
* 需要导入的模块列表
*/
imports?: unknown[];
}