MasterAuth class
The authentication information for accessing the master endpoint.
Authentication can be done using HTTP basic auth or using client certificates.
Constructors
- MasterAuth({String? clientCertificate, ClientCertificateConfig? clientCertificateConfig, String? clientKey, String? clusterCaCertificate, String? password, String? username})
- MasterAuth.fromJson(Map json_)
Properties
- clientCertificate ↔ String?
-
Base64-encoded public certificate used by clients to authenticate to the
cluster endpoint.
getter/setter pair
- clientCertificateConfig ↔ ClientCertificateConfig?
-
Configuration for client certificate authentication on the cluster.
getter/setter pair
- clientKey ↔ String?
-
Base64-encoded private key used by clients to authenticate to the cluster
endpoint.
getter/setter pair
- clusterCaCertificate ↔ String?
-
Base64-encoded public certificate that is the root of trust for the
cluster.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- password ↔ String?
-
The password to use for HTTP basic authentication to the master endpoint.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username ↔ String?
-
The username to use for HTTP basic authentication to the master endpoint.
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