github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/pkg/core/access/controller.go (about)

     1  package access
     2  
     3  type (
     4  	// TODO: define primary system permissions
     5  	Authentication interface {
     6  		Type() uint64
     7  	}
     8  	Control interface {
     9  		Check(sender string, nonce uint64, hash []byte, authentication []byte) (Authentication, error)
    10  	}
    11  )