AuthChallengeResponse class

Response to an AuthChallenge.

Constructors

AuthChallengeResponse({required AuthChallengeResponseResponse response, String? username, String? password})
AuthChallengeResponse.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
password String?
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
final
response AuthChallengeResponseResponse
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String?
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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