#* The server renders this HTML page in an end-user's browser when device selection is required. Velocity variables (identified by the $ character) are generated at runtime by the server. Change text or formatting as needed. Modifying Velocity statements is not recommended as it may interfere with expected server behavior. *# #set( $messageKeyPrefix = "pingone.mfa.device.selection." ) $languagePackMessages.getMessage($messageKeyPrefix, "title")
#if($errorMessage) #elseif($errorMessageKey) #end #if($additionalErrorMessageKey) #end

$languagePackMessages.getMessage($messageKeyPrefix, "header")

#if($isManualPairingFlow) $languagePackMessages.getMessage($messageKeyPrefix, "pairing.message") #else $languagePackMessages.getMessage($messageKeyPrefix, "message") #end

#foreach($device in $devices) #if($device.type.toLowerCase() == "android" || $device.type.toLowerCase() == "iphone") #set ($deviceMessageKey = "mobile") #else #set ($deviceMessageKey = ${device.type.toLowerCase()}) #end #set( $deviceMessageKeyPrefix = "${deviceMessageKey}.$messageKeyPrefix" ) #set( $deviceIcon = $languagePackMessages.getMessage($deviceMessageKeyPrefix, "icon")) #if($device.usable) #if($device.type.toLowerCase() == "security_key" || $device.type.toLowerCase() == "fido2")
#elseif($device.type.toLowerCase() == "platform")
#else
#end #if($device.type.toLowerCase() == "security_key" || $device.type.toLowerCase() == "fido2")
#elseif($device.type.toLowerCase() == "platform")
#else
#end #if($deviceIcon == "sms") #elseif($deviceIcon == "email") #elseif($deviceIcon == "mobile") #elseif($deviceIcon == "platform") #elseif($deviceIcon == "security_key") #elseif($deviceIcon == "fido2") #elseif($deviceIcon == "voice") #end
#if($device.type.toLowerCase() == "security_key" || $device.type.toLowerCase() == "fido2")
#elseif($device.type.toLowerCase() == "platform")
#else
#end
#if ($escape.escape($device.nickname) && $escape.escape($device.nickname) != "")
$escape.escape($device.nickname)
#else
$languagePackMessages.getMessage($deviceMessageKeyPrefix, "method", $device.name)
#end #if($device.type.toLowerCase() == "platform")
#if($escape.escape($device.target)) $escape.escape($device.target) #end
#end #if($device.type.toLowerCase() != "security_key" && $device.type.toLowerCase() != "platform" && $device.type.toLowerCase() != "fido2")
#if($deviceMessageKey == "mobile") $device.name #elseif ($escape.escape($device.target)) $escape.escape($device.target) #end
#end
#if ($showSetDefaultDeviceOption) #if ($device.defaultDevice)
$languagePackMessages.getMessage($messageKeyPrefix, "default.device.title")
#end #end #if($showDeviceMgtOptions || ($showSetDefaultDeviceOption && !$device.defaultDevice))
#end #end
#end
#if($manualPairing)
#end #if($showUsePasswordAuth) #end
#if($manualPairing || $showDeviceMgtOptions) #end