Skip to main content

load

Function load 

Source
pub fn load(provider: OAuthProvider) -> Option<ApolloTokens>
Expand description

Load a provider’s tokens from the shared store.

An expired token is still returned when it carries a refresh token — the caller’s cache refreshes it — but a token that is both expired and unrefreshable is treated as absent so the caller falls through to its own credential path rather than failing on a dead token.