Exception: Dinie::SessionTokenExpiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/dinie/runtime/errors.rb

Overview

A session-mode token was successfully exchanged once but has since expired (via Internal::TokenManager#invalidate! or TTL). Session tokens are single-use: once expired the original authorization code cannot be re-exchanged. Callers should surface this to the consumer so they can obtain a fresh code.