Deregistering Appkeys

Early Access

In some circumstances, it may be required to deregister an Appkey from the Identity Store. TrustX provides two methods of deregistering Appkeys.

  1. Deregister Appkeys on the server and client.
  2. Deregister only the client application only.

This functionality is available from the 'Deregistery Appkey' and 'Deregister Client Appkey' activities respectively. Each activity will remove the Appkey from the Identity Store and from the application/ browser.

This guide will provide steps to implement the Deregistering activities and use cases where they can be applied.

Deregister Appkey

The 'Deregister Appkey' activity provides functionality that removes the Appkey on the server and client side. Using this activity, it is possible to

  1. Deregister all Appkeys on the application
  2. Deregister a specific Appkey by type

The flow described in this section demonstrates deregistering all Appkeys after the completion of Appkey registration.

  1. In the example below, an Appkey is registered to a device in a simple Process Definition configuration.
  1. After the 'Appkey Registration' activity, add a 'Deregister Appkey' activity and connect them using the 'Global connect tool'. This will remove the Appkey on the server and client.
  1. The 'Deregister Appkey' activity contains the following configurable input parameters:
Input ParameterTypeDescription
Appkey Deregistration KeyStringThe key identifier of the Appkey deregistration activity.
Device IdStringThe ID of the device that the Appkey is associated with.
List of ScreensList [String]A list of screens to display to the end-user.
Relying Party IDStringThe ID of the relying party whose Appkey configuration will be used.
Starting Component IDStringThe ID of the starting component.
Store NameStringThe name of the Identity Store.
TypesList [String]The Appkey type to deregister. Supported values are 'DEVICE, 'BIOMETRIC' and 'ALL'.
UI Component IDStringThe ID of the UI component.
User External IDStringThe external ID of the User the Appkey is associated with.
User IDStringThe unique ID automatically generated when the User was created.
User KeyStringThe User Key that can be used to identify the User that the Appkey registration applies to.
  1. The activity also includes the following error boundary events:
EventDescription
Timer Boundary EventTriggered when the activity times out during operation.
User Not FoundTriggered if the Identity Store User is not found.
Appkey Not FoundTriggered if the Appkey is not found.
Any Other Deregistration ErrorTriggered if another other deregistration error occurs besides User Not Found and Appkey Not Found.

Deregister Client Appkey

The 'Deregister Client Appkey' activity provides functionality that removes the Appkey on the client side only. Using this activity, it is possible to

  1. Deregister all Appkeys for the application.
  2. Deregister the specific Appkey by type.

The Process Definition in this example demonstrates an authentication attempt where if no User is found, the Appkey is deregistered from the client.

  1. In the example below, an Appkey authentication is attempted in a simple Process Definition configuration.
  1. Add a 'Deregister Client Appkey' activity to the Process Designer and connect to the 'User Not Registered' error boundary event associated with the 'Appkey Authentication' activity. Connect 'Deregister Client Appkey' activity and its events to the 'Simple Decider'
  1. The 'Deregister Client Appkey' activity contains the following input parameters:
Input ParameterTypeDescription
List of ScreensList [String]A list of screens to display to the end-user.
Relying Party IDStringThe ID of the relying party whose Appkey configuration will be used.
Starting Component IDStringThe ID of the starting component.
TypesList [String]The Appkey type to deregister. Supported values are 'DEVICE, 'BIOMETRIC' and 'ALL'.
UI Component IDStringThe ID of the UI component.
  1. The activity also includes the following error boundary events:
EventDescription
Timer Boundary EventTriggered when the activity times out during operation.
Client Deregistration ErrorTriggered when there is an error attempting to deregister the Appkey from the client.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard