fabaccess-docs/docs/concepts/traits/index.en.md
2024-05-14 12:54:59 +02:00

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.