ConnectIn class

Constructors

ConnectIn({String? accountId, String? provider, String? token})
Returns a new ConnectIn instance.

Properties

accountId ↔ String?
AccountID is the provider account the credential should be scoped to, for the providers whose Verify needs one (Cloudflare). Ignored by the OAuth path.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
provider ↔ String?
Provider is the connector's registry id, from the :provider path segment.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token ↔ String?
Token is the customer's provider credential. Its PRESENCE — not its value — is what selects the apikey seal over the OAuth flow for a provider that offers both: {"token":"…"}, even empty, is an apikey attempt (→ verify, which answers the "token required" 400 on an empty value), while a body with no token key (the console Connect button, hanzo connector add with no --token) starts OAuth. Read on STDIN by the CLI, never argv; never logged or echoed.
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) → ConnectIn?
Returns a new ConnectIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ConnectIn>
mapFromJson(dynamic json) → Map<String, ConnectIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ConnectIn>>

Constants

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