pub(super) fn organization_memberships_needing_trust(
organization_memberships: Vec<V1OrganizationMembership>,
upgrade_token_action: UpgradeTokenAction,
key_store: &KeyStore<KeySlotIds>,
) -> Vec<V1OrganizationMembership>Expand description
The organization memberships the user has to confirm as trusted before the rotation.
When the rotation creates a V2 upgrade token, returns no memberships. Organization admins update account recovery from that token, so the user confirms nothing. Every other rotation returns the memberships it was given.