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()
BasicAuthentication.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
password String
The password to use when authenticating with the HTTP server.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
username String
The username to use when authenticating with the HTTP server.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

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