← Back to plugin index

All Devices Except Most Recently Registered

Description
This plugin returns the IDs of all the Airlock 2FA devices of the current user except for the Airlock 2FA device which has been registered most recently.

In case no Airlock 2FA account is associated with the current user, no device IDs are returned.

Use case: This plugin can be used to enforce a single-device policy, meaning a user must only be able to use a single device simultaneously. For this, in any flow allowing the user to authenticate with Airlock 2FA, this plugin must be used with an 'Airlock 2FA Delete Devices Step' upfront.

Type name
AllAirlock2FADevicesExceptMostRecentlyRegisteredProvider
Class
com.airlock.iam.flow.shared.application.configuration.airlock2fa.provider.AllAirlock2FADevicesExceptMostRecentlyRegisteredProviderConfig
May be used by
License-Tags
Airlock2FA
Properties
Respect Cooldown Period (respectCooldownPeriod)
Description

If enabled, devices in cooldown are never returned and do not count towards determining the latest registered device.

Attributes
Boolean
Optional
Default value
true
Airlock 2FA Settings (airlock2FASettings)
Description
Settings of Airlock 2FA.
Attributes
Plugin-Link
Mandatory
Assignable plugins
YAML Template (with default values)

type: AllAirlock2FADevicesExceptMostRecentlyRegisteredProvider
id: AllAirlock2FADevicesExceptMostRecentlyRegisteredProvider-xxxxxx
displayName: 
comment: 
properties:
  airlock2FASettings:
  respectCooldownPeriod: true