MCPcopy
hub / github.com/caddyserver/certmagic / challengeTokensKey

Method challengeTokensKey

solvers.go:681–683  ·  view source on GitHub ↗

challengeTokensKey returns the key to use to store and access challenge info for domain.

(domain string)

Source from the content-addressed store, hash-verified

679// challengeTokensKey returns the key to use to store and access
680// challenge info for domain.
681func (dhs distributedSolver) challengeTokensKey(domain string) string {
682 return path.Join(dhs.challengeTokensPrefix(), StorageKeys.Safe(domain)+".json")
683}
684
685// solverInfo associates a listener with the
686// number of challenges currently using it.

Callers 4

PresentMethod · 0.95
CleanUpMethod · 0.95
getACMEChallengeInfoMethod · 0.95

Calls 2

challengeTokensPrefixMethod · 0.95
SafeMethod · 0.80

Tested by

no test coverage detected