The /User onboarding surface a backend exposes (C0 §8).
Implementations issue exactly the HTTP calls the machine asks for and return
the raw status code; a transport failure throws (the machine maps it to
error). Callers pass the designated onboarding-resource access token.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUserMe(
{required String backendId, required String accessToken}) → Future< int> -
GET {backend}/User/Mewith the beareraccessToken. Returns the status (200 = row exists, 404 = create path). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postUser(
{required String backendId, required String accessToken, required String idToken}) → Future< int> -
POST {backend}/Userwith the beareraccessTokenand body{ "idToken": ..., "accessToken": ... }. Any 2xx or 409 is create-or-ok. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited