diff --git a/docs/clients/auth/oauth.mdx b/docs/clients/auth/oauth.mdx index cf67d53ad..e9d2e5a29 100644 --- a/docs/clients/auth/oauth.mdx +++ b/docs/clients/auth/oauth.mdx @@ -102,7 +102,7 @@ OAuth access tokens are automatically cached in `~/.fastmcp/oauth-mcp-client-cac To clear the tokens for a specific server, instantiate a `FileTokenStorage` instance and call the `clear` method: ```python -from fastmcp.client.auth import FileTokenStorage +from fastmcp.client.auth.oauth import FileTokenStorage storage = FileTokenStorage(server_url="https://fastmcp.cloud/mcp") await storage.clear() @@ -111,7 +111,7 @@ await storage.clear() To clear *all* tokens for all servers, call the `clear_all` method on the `FileTokenStorage` class: ```python -from fastmcp.client.auth import FileTokenStorage +from fastmcp.client.auth.oauth import FileTokenStorage FileTokenStorage.clear_all() -``` \ No newline at end of file +```