AuthAction class final
Signs app users in, up and out, and manages their account. A failure's message goes in errorVariable (and stops the chain).
Constructors
Properties
- currentPassword → String
-
For AuthOperation.updatePassword and AuthOperation.deleteAccount:
the signed-in user's current password, which re-authenticates them
first (Firebase asks for a recent sign-in before these). Empty: no
re-authentication.
final
- displayName → String
-
final
- email → String
-
final
- enabled → bool
-
False skips the action.
finalinherited
- errorVariable → String
-
final
- fieldsJson → Json
-
Its own fields, as JSON (sparse): what toJson writes besides
typeand the common fields. An action class outside this library overrides this.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
nested
→ List<
ActionDef> -
The actions it runs itself (branches, follow-ups), in order.
no setterinherited
- nonBlocking → bool
-
The chain doesn't wait for it, and its failure doesn't stop the chain.
finalinherited
- operation → AuthOperation
-
final
- password → String
-
final
- photoUrl → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfAndNested
→ Iterable<
ActionDef> -
This action, then every action nested in it, depth first.
no setterinherited
- type → String
-
The JSON
type.no setteroverride - when → Predicate?
-
Runs only when it holds; null: always.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited