pub fn jwt_actor_resolver(
ctx: &AppContext,
fallback: Arc<dyn ActorResolver>,
) -> AppResult<Option<Arc<dyn ActorResolver>>>Expand description
Build a [JwtActorResolver] if auth-password is configured with token_strategy = "jwt".
Returns Ok(None) when the strategy is "session" (the default) or when
the auth-password module is not enabled. Returns Ok(Some(..)) with the
resolver wrapping the given fallback.