Markus Pesch
3998f9e2c2
All checks were successful
continuous-integration/drone/push Build is passing
15 lines
226 B
Go
15 lines
226 B
Go
package auth
|
|
|
|
import "net/http"
|
|
|
|
func NewEmptyAuthProvider() AuthProvider {
|
|
return &emptyAuthProvider{}
|
|
}
|
|
|
|
type emptyAuthProvider struct {
|
|
}
|
|
|
|
func (p *emptyAuthProvider) IsAllowed(request *http.Request) bool {
|
|
return true
|
|
}
|