smallstep-certificates/authority/webhook.go

13 lines
234 B
Go
Raw Normal View History

2022-09-30 00:16:26 +00:00
package authority
import (
"context"
"github.com/smallstep/certificates/webhook"
)
2022-09-30 00:16:26 +00:00
type webhookController interface {
Enrich(context.Context, *webhook.RequestBody) error
Authorize(context.Context, *webhook.RequestBody) error
2022-09-30 00:16:26 +00:00
}