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({Input<
String> ? password, Input<String> ? username}) -
Creates a new BasicAuthentication.
passwordThe password to use when authenticating with the HTTP server.usernameThe username to use when authenticating with the HTTP server.const -
BasicAuthentication.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
password
→ Input<
String> ? -
The password to use when authenticating with the HTTP server.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
username
→ Input<
String> ? -
The username to use when authenticating with the HTTP server.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited