Module token_lifecycle

Module token_lifecycle 

Source
Expand description

Token lifecycle management

This module provides functionality for managing token lifecycle scenarios:

  • Token revocation tracking
  • Key rotation management
  • Clock skew simulation
  • Prebuilt test scenarios

Structs§

ActiveKey
Active key information
ClockSkewState
Clock skew configuration
KeyRotationState
Key rotation state
RevokedToken
Token revocation information
TokenLifecycleManager
Token lifecycle manager combining all lifecycle features
TokenRevocationStore
Token revocation store

Functions§

extract_token_id
Extract token ID from JWT (using jti claim or token hash)