Skip to main content

Module token_expiry

Module token_expiry 

Source

Structsยง

Tally ๐Ÿ”’
Counts of what one walk of the origin column did.

Enumsยง

Mode ๐Ÿ”’
What a walk does to the token an origin row names.

Constantsยง

ADOPT_MARKER ๐Ÿ”’
Stamped once every origin expiry has been adopted.
ORIGIN_COLUMN ๐Ÿ”’
RESTORE_MARKER ๐Ÿ”’
Stamped once every expiry adopted without a provider has been restored.

Functionsยง

adoptable ๐Ÿ”’
Reads a stored token value, yielding its owner only when the row is one this pass may annotate.
adopted ๐Ÿ”’
Reads a stored token value, yielding its owner only when the row carries the expiry the adoption stamped.
apply_one ๐Ÿ”’
Applies the mode to the token one origin row names, reporting whether the row was acted on.
columns ๐Ÿ”’
migrate_token_expiry ๐Ÿ”’
Adopts the access-token expiry a foreign database keeps in a column of its own, returning whether the pass is finished with that column.
probe ๐Ÿ”’
Whether the origin column holds a row the adoption could still carry.
restore_token_expiry ๐Ÿ”’
Restores the origin lifetime of a session an earlier release adopted with no provider to refresh it against, returning whether the pass is finished.
walk ๐Ÿ”’
Walks the origin column once, applying the mode to every row.

Type Aliasesยง

Device ๐Ÿ”’
TokenValue ๐Ÿ”’