async fn own_name(
host: &dyn SlackHost,
api: &dyn SlackApi,
workspace: &str,
own: &mut OwnIdentity<'_>,
) -> Result<Option<String>, SlackError>Expand description
The name the token’s own user goes by. A failed auth.test falls back to
the name the host already learned; None only when neither is known, and
the caller then uses whatever the wire offered.
Kept on the host as well as in own, because the host outlives a
sweep: a later auth.test that fails must not resurrect an app name
the host remembered.