Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA Ticket
None.
Description
While testing device binding journeys using test automation, it's incredibly useful to be able to simulate both device binding and device login.
This change offers a simple client which can be used as an emulator. It provides valid responses to journeys and stores a keypair which can be used, within a test, to mimic a single bound device. It's of no specific use to production scenarios, but helps for testing scenarios where the FR SDK is being used by a test suite.
Discussed with @george-bafaloukas-forgerock - we'd like to offer this as a submission to the OS SDK, which will put it in a useful place for us to use it across various codebases, as well as for other customers to use.
Type of Change
Please Delete options that are not relevant
How Has This Been Tested?
We've used this device emulator code against a Device Binding journey and it works. While there's a way we could simulate the back end and run this against the back end, it would be pretty onerous and wouldn't prove much.
Definition of Done
Check all that apply
Documentation