Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "auth-manager", "Authenticates requests as demanded by policy", cell.Provide(newManager), )
Cell provides the auth.Manager which is responsible for request authentication. It does this, by implementing consumer.MonitorConsumer and reacting upon monitor.DropNotify events with reason flow.DropReason_AUTH_REQUIRED. The actual authentication gets performed by an auth handler which is responsible for the configured auth type on the corresponding policy.
Functions ¶
This section is empty.
Types ¶
type AuthManager ¶
type AuthManager struct {
// contains filtered or unexported fields
}
func NewAuthManager ¶ added in v1.13.0
func NewAuthManager(epMgr endpointmanager.EndpointsLookup) *AuthManager
func (*AuthManager) AuthRequired ¶ added in v1.13.0
func (a *AuthManager) AuthRequired(dn *monitor.DropNotify, ci *monitor.ConnectionInfo)
type Manager ¶
type Manager interface { consumer.MonitorConsumer }
Click to show internal directories.
Click to hide internal directories.