pub fn me(
store: &AuthStore,
p: &Principal,
existing: Option<&OrgsFn>,
) -> Result<Value, AuthError>Expand description
Who is calling: the user, their orgs, and how they signed in.
orgs and memberships name only orgs that exist (existing, when
given): every one for a platform admin (unless the credential is an org
token), else the caller’s memberships among them. A membership row for
an org that is gone never shows. Without existing (or when asking it
failed) the store’s org rows stand in.