Documentation
¶
Overview ¶
Package subscription is the seam between the injection sink and a person's captured Claude subscription token: the sink resolves a subscription sentinel through a Provider, and the token lives only in proxy memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
Current(ctx context.Context) (Token, error)
// Peek returns the stored token for a status surface: no cache fill, and
// unlike Current it does not reject an expired token.
Peek() (Token, error)
}
Provider yields a person's current Claude subscription access token.
Click to show internal directories.
Click to hide internal directories.