Versions in this module Expand all Collapse all v0 v0.45.2 Dec 6, 2026 v0.45.1 Dec 5, 2026 v0.45.0 Dec 5, 2026 Changes in this version + const GrantLife + const KidHeader + const MaxBody + const RequestContext + const SignatureHeader + const Window + var ErrRefused = errors.New("attach: not accepted") + func Sign(key *signing.Private, r Request) (body, sig []byte, err error) + func ValidName(name string) bool + func VerifyGrant(v *grant.Verifier, token string, b Binding, now time.Time) (grant.Claims, error) + type Binding struct + Name string + PodUID string + VolumeID string + type Request struct + Name string + Nonce string + PodUID string + TS int64 + VolumeID string + Workspace string + func VerifyRequest(pub signing.Public, body, sig []byte, now time.Time) (Request, error) + type Response struct + Grant string + RetryAfterMS int + Status Status + type Status string + const Denied + const NotFound + const Pending + const Ready