fabaccess-docs/docs/concepts/traits/index.en.md

9 lines
741 B
Markdown
Raw Normal View History

2024-05-13 15:48:50 +02:00
# Traits
Traits allow users to access resources after they have obtained a claim. Traits can be used to compose resources from existing traits or implement specific traits.
To enable optimal display of traits for users in clients, a "hint" can be added to a resource. This allows a client to generate an improved view of the resource for users.
2024-05-13 18:09:00 +02:00
Traits are provided based on an OID (Object Identifier). FabAccess already includes predefined traits for basic functions, which can represent many states of resources.
2024-05-14 12:54:59 +02:00
## Hints
With Hints, clients can receive an optional tip about a resource's type via the API. This allows clients to display better representations for using the resource without the need for the resource's traits to change.