mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-07 21:47:09 +00:00
11 lines
171 B
Go
11 lines
171 B
Go
package auth
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// Authenticator is a generic interface to validate an HTTP request
|
|
type Authenticator interface {
|
|
Validate(r *http.Request) bool
|
|
}
|