Skip to main content

Crate claude_auth

Crate claude_auth 

Source
Expand description

claude_auth — Anthropic OAuth token refresh transport.

Layer * standalone primitive: zero workspace dependencies.

§Feature Flags

FeatureAddsExtra dep
(none)TokenRefreshResult, AuthError, parse_response
enabledrefresh_tokenureq ~3

Structs§

TokenRefreshResult
Result of a successful OAuth token refresh.

Enums§

AuthError
Errors returned by claude_auth operations.

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.