storj/private/api/authentication.go

12 lines
253 B
Go
Raw Normal View History

// Copyright (C) 2022 Storj Labs, Inc.
// See LICENSE for copying information.
package api
import "net/http"
// Auth exposes methods to control authentication process for each endpoint.
type Auth interface {
IsAuthenticated(r *http.Request) error
}