SecurityApi class

Security

Constructors

SecurityApi(Client _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
onCertificateError Stream<CertificateErrorEvent>
There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the handleCertificateError command. Note: this event does not fire if the certificate error has been allowed internally. Only one client per target should override certificate errors at the same time.
no setter
onSecurityStateChanged Stream<SecurityStateChangedEvent>
The security state of the page changed. No longer being sent.
no setter
onVisibleSecurityStateChanged Stream<VisibleSecurityState>
The security state of the page changed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disable() Future<void>
Disables tracking security state changes.
enable() Future<void>
Enables tracking security state changes.
handleCertificateError(int eventId, CertificateErrorAction action) Future<void>
Handles a certificate error that fired a certificateError event. eventId The ID of the event. action The action to take on the certificate error.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIgnoreCertificateErrors(bool ignore) Future<void>
Enable/disable whether all certificate errors should be ignored. ignore If true, all certificate errors will be ignored.
setOverrideCertificateErrors(bool override) Future<void>
Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with handleCertificateError commands. override If true, certificate errors will be overridden.
toString() String
A string representation of this object.
inherited

Operators

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