fn creates_v2_upgrade_token(
current_user_key_id: SymmetricKeySlotId,
upgrade_token_action: UpgradeTokenAction,
ctx: &KeyStoreContext<'_, KeySlotIds>,
) -> boolExpand description
Whether the rotation creates a V2 upgrade token.
A token only makes sense when the user moves from a V1 to a V2 user key. Every other rotation logs the user out of their other sessions. The SDK always rotates into a V2 user key, so the current user key decides the answer.