MCPcopy Create free account
hub / github.com/boltrunner/gcli2api / EnsureFresh

Function EnsureFresh

internal/auth/auth.go:137–150  ·  view source on GitHub ↗

Helper to force-refresh a token if it's near expiry in the next N minutes.

(ctx context.Context, ts oauth2.TokenSource, nearMinutes int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

TokenMethod · 0.45

Tested by

no test coverage detected