SecurityConfig class

Configuration for security-related network checks and policy enforcement.

These settings allow the engine to detect environmental factors that might be undesirable or indicate a compromised connection.

Available extensions

Constructors

SecurityConfig({required bool blockVpn, required bool detectDnsHijack})
const

Properties

blockVpn bool
If enabled, the engine will flag connections that originate from a VPN interface.
final
detectDnsHijack bool
If enabled, performs deep DNS validation to detect hijacking.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? blockVpn, bool? detectDnsHijack}) SecurityConfig

Available on SecurityConfig, provided by the SecurityConfigCopyWith extension

Creates a copy with updated security settings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

default_() Future<SecurityConfig>