package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev
# Functions
CalculateTrustedDeviceRequirement calculates the requirement based on the cluster config and user roles.
HasDeviceTrustExtensions returns true if the certificate's extension names include all the required device-related extensions.
IsSSHDeviceVerified returns true if cert contains all required device extensions.
IsTLSDeviceVerified returns true if ext contains all required device extensions.
VerifySSHUser verifies if the SSH certificate has the required extensions to fulfill the device trust configuration.
VerifyTLSUser verifies if the TLS identity has the required extensions to fulfill the device trust configuration.
# Variables
ErrTrustedDeviceRequired is returned when access to a resource requires a trusted device.