Module token_lease

Module token_lease 

Source
Expand description

Token leasing contracts that let callers borrow access tokens for short windows while the broker controls refresh lifetimes.

Structs§

TokenLeaseContext
Metadata describing what kind of lease the caller is requesting.

Enums§

TokenLeaseState
Result of attempting to lease a token.

Traits§

TokenLeaseExt
Contract for cache providers that want to loan out access tokens while the broker governs refresh lifetimes.

Type Aliases§

TokenLeaseFuture
Boxed future returned by TokenLeaseExt::lease.