mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-12-23 12:23:48 +01:00
741 B
741 B
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.
Traits are provided based on an OID (Object Identifier). FabAccess already includes predefined traits for basic functions, which can represent many states of resources.
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.