Skip to main content

Module product_token_refresh

Module product_token_refresh 

Source
Expand description

The product-token-refresh phase: keeping the open university product access tokens current.

A stale token is kept when a refresh fails: the token turns “you have no active enrolment” into a link the student can follow, and a slightly old link beats no link at all.

Functions§

request_item_id 🔒
Products have no ledger row, so the id comes from the product itself; distinct within a batch by construction.
run