Before a sensitive operation, call isSteppedUp with a max age like 300 seconds; if it returns false, invoke the stepUp flow and only proceed on success. Treat step-up as separate from login state: a logged-in user is not necessarily a recently-authenticated user.

Context: Official docs (Frontegg iOS Swift advanced): documents a gotcha that trips agents protecting sensitive operations. The SDK exposes isSteppedUp(maxAge:) to check whether the user authenticated recently enough, and stepUp(maxAge:) to trigger a fresh authentication flow when they did not. Agents that only check isAuthenticated let a day-old session approve a destructive action.

## Matched source
Source: Published skill
Original query: "Gate sensitive actions with Frontegg step-up auth and a max age"
Key terms: actions, auth, frontegg, gate, sensitive, step
