Documentation
¶
Overview ¶
Package devicesessionv1 implements the normative semantic checks that JSON Schema cannot express across authenticated context, lease fencing, and time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalCoreV1 = AuthProfile{
ProfileID: "local-core-v1", Transport: "authenticated-local-ipc",
Authentication: "peer-credentials+launch-token", ChannelBinding: "os-peer-identity+endpoint",
PrincipalScope: "local-user+process", TenantScope: "single-host",
ReplayProtection: "per-launch-nonce+expiry",
}
View Source
var RemoteCloudMacV1 = AuthProfile{
ProfileID: "remote-cloud-mac-v1", Transport: "authenticated-remote-ipc",
Authentication: "mutual-tls+signed-session-token", ChannelBinding: "tls-exporter",
PrincipalScope: "account+host+process", TenantScope: "tenant-id",
ReplayProtection: "nonce+expiry+lease-generation",
}
Functions ¶
func ValidateJSON ¶
func ValidateJSON(data []byte, context AuthenticatedContext, profile AuthProfile, at time.Time) error
Types ¶
type AuthProfile ¶
type AuthenticatedContext ¶
type LeaseFence ¶
Click to show internal directories.
Click to hide internal directories.