Jeremiah Lowin commited on
Commit
f563519
·
unverified ·
2 Parent(s): 7f6acf92fb4b2d

Merge pull request #787 from JeremyCraigMartinez/patch-1

Browse files
Files changed (1) hide show
  1. docs/clients/auth/oauth.mdx +3 -3
docs/clients/auth/oauth.mdx CHANGED
@@ -102,7 +102,7 @@ OAuth access tokens are automatically cached in `~/.fastmcp/oauth-mcp-client-cac
102
  To clear the tokens for a specific server, instantiate a `FileTokenStorage` instance and call the `clear` method:
103
 
104
  ```python
105
- from fastmcp.client.auth import FileTokenStorage
106
 
107
  storage = FileTokenStorage(server_url="https://fastmcp.cloud/mcp")
108
  await storage.clear()
@@ -111,7 +111,7 @@ await storage.clear()
111
  To clear *all* tokens for all servers, call the `clear_all` method on the `FileTokenStorage` class:
112
 
113
  ```python
114
- from fastmcp.client.auth import FileTokenStorage
115
 
116
  FileTokenStorage.clear_all()
117
- ```
 
102
  To clear the tokens for a specific server, instantiate a `FileTokenStorage` instance and call the `clear` method:
103
 
104
  ```python
105
+ from fastmcp.client.auth.oauth import FileTokenStorage
106
 
107
  storage = FileTokenStorage(server_url="https://fastmcp.cloud/mcp")
108
  await storage.clear()
 
111
  To clear *all* tokens for all servers, call the `clear_all` method on the `FileTokenStorage` class:
112
 
113
  ```python
114
+ from fastmcp.client.auth.oauth import FileTokenStorage
115
 
116
  FileTokenStorage.clear_all()
117
+ ```