mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-11-20 14:07:56 +01:00
9 lines
741 B
Markdown
9 lines
741 B
Markdown
# 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. |