2016-01-15 04:06:25 +00:00
|
|
|
package acme
|
|
|
|
|
2016-03-15 12:46:48 +00:00
|
|
|
// ChallengeProvider enables implementing a custom challenge
|
|
|
|
// provider. Present presents the solution to a challenge available to
|
|
|
|
// be solved. CleanUp will be called by the challenge if Present ends
|
|
|
|
// in a non-error state.
|
2016-01-15 04:06:25 +00:00
|
|
|
type ChallengeProvider interface {
|
|
|
|
Present(domain, token, keyAuth string) error
|
|
|
|
CleanUp(domain, token, keyAuth string) error
|
|
|
|
}
|