BasicAuthentication class
The authentication parameters to provide to the specified resource or URL that requires a username and password.
Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
Constructors
- BasicAuthentication({String? password, String? username})
- BasicAuthentication.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- password ↔ String?
-
The password to use when authenticating with the HTTP server.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username ↔ String?
-
The username to use when authenticating with the HTTP server.
getter/setter pair
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