Peios Learn
Products
PePeios pkpekit PvProvium UDUniversal Directory TrTrail PrProject WiWispist
Using Peios Security Basics Technical Documentation Source
Using Peios Security Basics Technical Documentation Source
Peios Learn

SDK Reference

  • 1Library Conventions
    • 1.1Library conventions
    • 1.2How results are returned
    • 1.3The two-call buffer protocol
    • 1.4Memory ownership
    • 1.5File descriptors
    • 1.6Constants
    • 1.7The conventions at a glance
  • 2security.h — SIDs and Descriptors
    • 2.1security.h — Security descriptors
    • 2.2SIDs
    • 2.3Access masks
    • 2.4Building ACLs
    • 2.5Building security descriptors
    • 2.6Parsing — views
    • 2.7SDDL text codec
    • 2.8SD inheritance
  • 3token.h — Tokens
    • 3.1token.h — Tokens and sessions
    • 3.2Opening and creating tokens
    • 3.3The token-spec builder
    • 3.4Query
    • 3.5Adjust and transform
    • 3.6Logon sessions
    • 3.7The generic mapping
  • 4access.h — Access Checks
    • 4.1access.h — Access checks
    • 4.2The request
    • 4.3The check
    • 4.4Audit outputs
    • 4.5The object-type-list variant
  • 5file.h — File Security
    • 5.1file.h — File security
    • 5.2Opening a file
    • 5.3Reading and writing a file's security descriptor
    • 5.4Mount policy
    • 5.5The generic mapping
  • 6process.h — Process Security
    • 6.1process.h — Process security
  • 7registry.h — The Registry
    • 7.1registry.h — The registry (LCS)
    • 7.2The buffer convention here
    • 7.3Opening and creating keys
    • 7.4Values
    • 7.5Subkeys, metadata, and watches
    • 7.6Key security descriptors
    • 7.7Backup and restore
    • 7.8Transactions
  • 8event.h — Events
    • 8.1event.h — Events (KMES)
    • 8.2Emitting events
    • 8.3Consuming events
  • 9msgpack.h — Encoding
    • 9.1msgpack.h — MessagePack codec
    • 9.2Conventions
    • 9.3Writer
    • 9.4Reader
    • 9.5Validator
  • 10rsi/source.h — Becoming a Source
    • 10.1rsi/source.h — Becoming a source
    • 10.2Describing a hive
    • 10.3Registering
    • 10.4What comes next
  • 11rsi/request.h — Decoding Requests
    • 11.1rsi/request.h — Decoding requests
    • 11.2Reading and parsing a frame
    • 11.3The decoders
  • 12rsi/response.h — Building Responses
    • 12.1rsi/response.h — Building responses
    • 12.2Status codes
    • 12.3The response contract
    • 12.4Sending a pre-built frame
    • 12.5Status-only responses
    • 12.6Payload-bearing responses
    • 12.7The five at a glance
Peios / Developing for Peios / SDK Reference / token.h — Tokens Single page

3.7 The generic mapping

1 min read

extern const struct kacs_generic_mapping peios_token_generic_mapping;

The canonical generic→specific rights mapping for the token object class. Pass it to peios_access_map_generic or as the mapping in a peios_access_request when the object under check is a token.

Previous Logon sessions Next access.h — Access checks

Edit this page

Peios Learn — documentation for the Peios project.

Built with Trail.