Expand description
claude_auth — Anthropic OAuth token refresh transport.
Layer * standalone primitive: zero workspace dependencies.
§Feature Flags
| Feature | Adds | Extra dep |
|---|---|---|
| (none) | TokenRefreshResult, AuthError, parse_response | — |
enabled | refresh_token | ureq ~3 |
Structs§
- Token
Refresh Result - Result of a successful OAuth token refresh.
Enums§
- Auth
Error - Errors returned by
claude_authoperations.
Constants§
- CLIENT_
ID - Public OAuth client ID for the Claude desktop application.
- TOKEN_
URL - Anthropic OAuth token refresh endpoint.
Functions§
- parse_
response - Parse an OAuth token-refresh JSON response body.