#* The server renders this HTML page in an end-user's browser when a user must select a device pairing method for multi-factor authentication. 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.pairing." )
#if($errorMessageKey)
$languagePackMessages.getMessage($messageKeyPrefix, $errorMessageKey)
#end

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

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

#foreach($devicePairingMethod in $devicePairingMethods) #set ($deviceMessageKey = ${devicePairingMethod.deviceType.toLowerCase()}) #set( $deviceMessageKeyPrefix = "${deviceMessageKey}.$messageKeyPrefix" ) #set( $deviceIcon = $languagePackMessages.getMessage($deviceMessageKeyPrefix, "icon")) #set( $deviceApplicationName = "") #if($devicePairingMethod.applicationName) #set( $deviceApplicationName = $devicePairingMethod.applicationName) #end #if($deviceIcon == "security_key" || $deviceIcon == "fido2")
#elseif($deviceIcon == "platform")
#else
#end #if($deviceIcon == "security_key" || $deviceIcon == "fido2")
#elseif($deviceIcon == "platform")
#else
#end #if($deviceIcon == "sms")
#elseif($deviceIcon == "email")
#elseif($deviceIcon == "voice")
#elseif($deviceIcon == "mobile")
#elseif($deviceIcon == "platform")
#elseif($deviceIcon == "security_key")
#elseif($deviceIcon == "fido2")
#end
#if($deviceIcon == "security_key" || $deviceIcon == "fido2")
#elseif($deviceIcon == "platform")
#else
#end
#if ($deviceMessageKey == "mobile")
$escape.escape($devicePairingMethod.applicationName)
#else
$languagePackMessages.getMessage($deviceMessageKeyPrefix, "method", $devicePairingMethod.displayNameKey)
#end
$languagePackMessages.getMessage($deviceMessageKeyPrefix, "message", $devicePairingMethod.displayNameKey)
#end
$languagePackMessages.getMessage($messageKeyPrefix, "cancel.button.title")