Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
2fb4b2d
1
Parent(s): 5e9d306
update import
Browse files
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()
|
|
|
|
| 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()
|