Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTrustedDeviceRequired = &trace.AccessDeniedError{
Message: "access to resource requires a trusted device",
}
ErrTrustedDeviceRequired is returned when access to a resource requires a trusted device.
Functions ¶
func IsSSHDeviceVerified ¶
func IsSSHDeviceVerified(cert *ssh.Certificate) bool
IsSSHDeviceVerified returns true if cert contains all required device extensions.
func IsTLSDeviceVerified ¶
func IsTLSDeviceVerified(ext *tlsca.DeviceExtensions) bool
IsTLSDeviceVerified returns true if ext contains all required device extensions.
func VerifySSHUser ¶
func VerifySSHUser(dt *types.DeviceTrust, cert *ssh.Certificate) error
VerifySSHUser verifies if the SSH certificate has the required extensions to fulfill the device trust configuration.
func VerifyTLSUser ¶
func VerifyTLSUser(dt *types.DeviceTrust, identity tlsca.Identity) error
VerifyTLSUser verifies if the TLS identity has the required extensions to fulfill the device trust configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.