Skip to main content

load_oauth_token_with_mode

Function load_oauth_token_with_mode 

Source
pub fn load_oauth_token_with_mode(
    mode: AuthCredentialsStoreMode,
) -> Result<Option<OpenRouterToken>>
Expand description

Load an OAuth token from storage with specified mode.

Returns None if no token exists or the token has expired.