Structs§
- Caller
Attribution - Role plus principal for one connection, resolved by the daemon and never taken from the request body.
Enums§
- Caller
Principal - Who asked, as opposed to what they were allowed to do.
Constants§
Functions§
- default_
token_ path - Default path for the daemon token file.
- denial_
message - The message a caller sees when their role is too low for an action.
- group_
for_ role - The group that grants
role, i.e. the inverse of the privaterole_for_groupmapping above. - highest_
role_ from_ groups - token_
role - Return the
CallerRolegranted to token-authenticated vsock connections. - validate_
token_ against_ file - Validate
presented_tokenagainst the token stored intoken_path.