1package auth23import (4 "time"56 proof "github.com/FelineStateMachine/tinyrelay/protocol/auth"7)89// Validator and ChallengeManager preserve public verifier and replay-store10// identity for callers that have not migrated to protocol/auth.11type Validator = proof.Validator12type ChallengeManager = proof.ChallengeManager1314var ErrMissingAuthorization = proof.ErrMissingAuthorization15var ErrGRASP08Unauthorized = proof.ErrGRASP08Unauthorized1617func NewValidator(now func() time.Time) *Validator { return proof.NewValidator(now) }18func NewChallengeManager(relayURL string, now func() time.Time) *ChallengeManager {19 return proof.NewChallengeManager(relayURL, now)20}21func IsBlossomAuthorization(header string) bool { return proof.IsBlossomAuthorization(header) }22func GRASP08RepositoryRoot(raw string) (string, bool) { return proof.GRASP08RepositoryRoot(raw) }