CredentialIn class

Constructors

CredentialIn({String? accountId, String? label, OauthBundleIn? oauth, String? provider, String? token})
Returns a new CredentialIn instance.

Properties

accountId ↔ String?
AccountID scopes the credential where the provider's Verify needs one.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
label ↔ String?
Label names this connection; empty means "default".
getter/setter pair
oauth ↔ OauthBundleIn?
OAuth is a bundle the CLI already obtained through its own local PKCE flow. Present ⇒ the Adopt path; absent ⇒ the Token path.
getter/setter pair
provider ↔ String?
Provider is the user-scoped provider's registry id, from the path.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token ↔ String?
Token is the customer-held credential for the Verify path. Read on STDIN by the CLI, never argv; never logged, echoed, or stored outside KMS.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → CredentialIn?
Returns a new CredentialIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CredentialIn>
mapFromJson(dynamic json) → Map<String, CredentialIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CredentialIn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.