Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/nmshd/documentation into fe…
Browse files Browse the repository at this point in the history
…ature/password-protection-of-relationshiptemplates-and-tokens
  • Loading branch information
britsta committed Dec 19, 2024
2 parents f862015 + 9f4682a commit bfb6c50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# Start automatic generation
permalink: use-case-transport-get-device-onboarding-token
permalink: use-case-transport-create-device-onboarding-token
published: true
title: "Get Device Onboarding Token"
title: "Create Device Onboarding Token"
type: use-case
toc: true
sidebar:
Expand All @@ -13,7 +13,7 @@ properties:
- component: Runtime
- layer: Transport
- facade: DevicesFacade
- function: getdeviceOnboardingToken
- function: createDeviceOnboardingToken
- description:
- feature category: Multi-device
- tech category: Devices
Expand All @@ -31,7 +31,7 @@ properties:
- changed_at:
- api_route_regex:
- published: default
- link: use-case-transport-get-device-onboarding-token
- link: use-case-transport-create-device-onboarding-token
require:
required_by:
# End automatic generation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ required_by:

This use case intends to load an entity by its `reference` received by peer. It is internally using the specific use cases of each entity:

- If the `reference` references a Token, fetches the Token just like [Load Token created by others](use-case-transport-load-token-created-by-others.md).
- If the `reference` references a RelationshipTemplate, fetches the RelationshipTemplate just like [Load RelationshipTemplate created by others](use-case-transport-load-relationshiptemplate-created-by-others.md).
- If the `reference` references a File, fetches the File just like [Get or load File](use-case-transport-get-or-load-file.md).
- If the `reference` references a DeviceOnboardingInformation, fetches the DeviceOnboardingInformation just like [Get Device Onboarding Token](use-case-transport-get-device-onboarding-token.md).
- If the `reference` references a [Token]({% link _docs_integrate/data-model-overview.md %}#token), fetches the Token just like the [Load Token created by others]({% link _docs_use-cases/use-case-transport-load-token-created-by-others.md %}) use case. For example, if the `content` of the Token is a TokenContentDeviceSharedSecret, a DeviceOnboardingInfo is returned after successful execution of the use case. A TokenContentDeviceSharedSecret is created by the [Create Device Onboarding Token]({% link _docs_use-cases/use-case-transport-create-device-onboarding-token.md %}) use case.
- If the `reference` references a [RelationshipTemplate]({% link _docs_integrate/data-model-overview.md %}#relationshiptemplate), fetches the RelationshipTemplate just like the [Load RelationshipTemplate created by others]({% link _docs_use-cases/use-case-transport-load-relationshiptemplate-created-by-others.md %}) use case.
- If the `reference` references a [File]({% link _docs_integrate/data-model-overview.md %}#file), fetches the File just like the [Get or load File]({% link _docs_use-cases/use-case-transport-get-or-load-file.md %}) use case.

0 comments on commit bfb6c50

Please sign in to comment.