@polargold/pg-frontend-vue
    Preparing search index...

    Function useCheckTokenValidity

    • Polls token validity on an interval and reacts once it goes invalid.

      Generalizes the copy found in ama-deep/data-sheet-portal (byte-identical between the two) - replaces their direct useAccessTokenStore()/ useOpenIdAuthenticationStore() Pinia store imports with isTokenValid/ onInvalid callbacks.

      Parameters

      Returns { initialize: () => void; reset: () => void }