export declare class DelonAuthConfig { /** * 存储KEY值 */ store_key?: string; /** * 无效时跳转至登录页,包括: * - 无效token值 * - token已过期(限JWT) */ token_invalid_redirect?: boolean; /** * token过期时间偏移值,默认:`10` 秒(单位:秒) */ token_exp_offset?: number; /** * 发送token参数名,默认:token */ token_send_key?: string; /** * 发送token模板(默认为:`${token}`),使用 `${token}` 表示token点位符,例如: * * - `Bearer ${token}` */ token_send_template?: string; /** * 发送token参数位置,默认:header */ token_send_place?: 'header' | 'body' | 'url'; /** * 登录页路由地址 */ login_url?: string; /** * 忽略TOKEN的URL地址列表,默认值为:[ /\/login/, /assets\//, /passport\// ] */ ignores?: RegExp[]; /** * 允许匿名登录KEY,若请求参数中带有该KEY表示忽略TOKEN */ allow_anonymous_key?: string; /** * 认证检查模式 : * 'strict' - 严格模式,所有的请求之前都会检查是否认证过 * 'free' - 宽松模式,有token就带上,没有就不带 */ check_pattern?: 'strict' | 'free'; } //# sourceMappingURL=auth.config.d.ts.map