Users
Profile endpoints and username helpers
Common user endpoints and helpers.
const me = await ea.me();
console.log(me.id, me.email);let config = EntityAuthConfig(
environment: .production,
workspaceTenantId: "your-tenant-id",
clientIdentifier: "ios-app"
)
let auth = EntityAuthFacade(config: config)
// Username flows are handled via generic entity updates; no direct HTTP helpers.
let snapshot = await auth.currentSnapshot()
print(snapshot.userId ?? "none")Validation rules: lowercase letters, digits, . _ -, 3–30 chars.
See also
- Framework Integration — profile hook patterns
- Demo Dashboard Guide — username UI with validation