Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gate ¶
type Gate struct {
// contains filtered or unexported fields
}
func (*Gate) AuthorizeOnce ¶
func (gate *Gate) AuthorizeOnce( request *antiflockv1.SecureActionRequest, prior *antiflockv1.SecureActionDecision, authorizedDestinations []string, expiresAt, now time.Time, explicitConsent bool, ) (*antiflockv1.SecureActionDecision, error)
func (*Gate) Evaluate ¶
func (gate *Gate) Evaluate(request *antiflockv1.SecureActionRequest, snapshot *antiflockv1.ProtectionSnapshot, now time.Time) (*antiflockv1.SecureActionDecision, error)
Click to show internal directories.
Click to hide internal directories.