Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename GetDeviceOnboardingTokenUseCase to CreateDeviceOnboardingTokenUseCase #289

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading