Module goauth::fetcher[][src]

Defines a TokenFetcher struct that will automatically refresh tokens at some configured time prior to the token’s expiration.

Structs

TokenFetcher

A TokenFetcher stores a Token on first fetch and will continue returning that token until it needs to be refreshed, as determined by the token’s expires_in field and the configured refresh_buffer.