10 lines
153 B
Go
10 lines
153 B
Go
|
package policy
|
||
|
|
||
|
import (
|
||
|
"golang.org/x/crypto/ssh"
|
||
|
)
|
||
|
|
||
|
type SSHNamePolicyEngine interface {
|
||
|
ArePrincipalsAllowed(cert *ssh.Certificate) (bool, error)
|
||
|
}
|