HttpAuthenticationChallenge class Null safety
Class that represents the challenge of the WebView.onReceivedHttpAuthRequest event. It provides all the information about the challenge.
- hashCode → int
The hash code for this object. [...]
- iosError ↔ String?
The error object representing the last authentication failure.
This value is
nullif the protocol doesn’t use errors to indicate an authentication failure. [...]read / write
- iosFailureResponse ↔ IOSURLResponse?
The URL response object representing the last authentication failure.
This value is
nullif the protocol doesn’t use responses to indicate an authentication failure. [...]read / write
- previousFailureCount ↔ int
A count of previous failed authentication attempts.
read / write
- proposedCredential ↔ URLCredential?
The proposed credential for this challenge.
This method returns
nullif there is no default credential for this challenge. If you have previously attempted to authenticate and failed, this method returns the most recent failed credential. If the proposed credential is not nil and returns true when you call its hasPassword method, then the credential is ready to use as-is. If the proposed credential’s hasPassword method returns false, then the credential provides a default user name, and the client must prompt the user for a corresponding password.read / write
- protectionSpace ↔ URLProtectionSpace
The protection space requiring authentication.
read / write, inherited
- runtimeType → Type
A representation of the runtime type of the object.