BasicAuthenticationResponse 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

BasicAuthenticationResponse({required Input<String> password, required Input<String> username})
Creates a new BasicAuthenticationResponse. password The password to use when authenticating with the HTTP server. username The username to use when authenticating with the HTTP server.
const
BasicAuthenticationResponse.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