[][src]Crate auth_cache

AuthCache manages an in-memory cache of recently used short-lived authentication tokens.

Structs

CacheKey

A unique key for accessing an entry in the token cache.

FirebaseAuthToken

Representation of a single Firebase token including its expiry time.

OAuthToken

Representation of a single OAuth token including its expiry time.

TokenCache

A cache of recently used OAuth and Firebase tokens. All tokens contain an expiry time and are removed when this time is reached.

Enums

AuthCacheError

An enumeration of the possile failure modes for operations on a TokenCache.