MCPcopy
hub / github.com/writefreely/writefreely / ClientStateStore

Interface ClientStateStore

oauth/state.go:6–9  ·  view source on GitHub ↗

ClientStateStore provides state management used by the OAuth client.

Source from the content-addressed store, hash-verified

4
5// ClientStateStore provides state management used by the OAuth client.
6type ClientStateStore interface {
7 Generate(ctx context.Context) (string, error)
8 Validate(ctx context.Context, state string) error
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected