TouchRequest Field
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllThe YubiKey is requesting touch for user presence verification. See the User's Manual entry on how to handle a touch notification in a key collector.
public const KeyEntryRequest TouchRequest
Returns
Remarks
When the Request
is this value, the delegate does not need to collect
any passwords or keys. This is simply used as a means to alert the application
that the YubiKey is awaiting a touch. Typically, you will want to respond to
this request by alerting your user that they need to physically touch the
YubiKey.
In addition, when the SDK calls a KeyCollector with this request, it will ignore the return value. That is, it is not possible to cancel this request. However, every YubiKey operation that requires touch has a timeout, so simply not touching will eventually cancel an operation.
Ideally, you should not block this call. However, to ensure the proper function of the SDK, this request will be issued on a separate thread from the one that originated this call.