#* 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." )
#if($errorMessage)
$errorMessage
#elseif($errorMessageKey)
$languagePackMessages.getMessage($messageKeyPrefix, $errorMessageKey)
#end #if($additionalErrorMessageKey)
$languagePackMessages.getMessage($messageKeyPrefix, $additionalErrorMessageKey)
#end

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

#### $languagePackMessages.getMessage($messageKeyPrefix, "message")

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

# Authentication Required

#end

# $languagePackMessages.getMessage($messageKeyPrefix, "warning")

$languagePackMessages.getMessage($messageKeyPrefix, "warning.message")