smallstep-certificates/authority/webhook.go
2023-09-19 16:30:53 +02:00

13 lines
234 B
Go

package authority
import (
"context"
"github.com/smallstep/certificates/webhook"
)
type webhookController interface {
Enrich(context.Context, *webhook.RequestBody) error
Authorize(context.Context, *webhook.RequestBody) error
}