OnLocalPinRequestBlock Block Reference

Declared in EMDskppProvisioningCallback.h

Block Definition

OnLocalPinRequestBlock

  • This callback is invoked when USER_PIN or NO_PIN policy is used for the token.
  • When USER_PIN is required, ask for the PIN from the end user. This PIN will be used for OTP generation from the SDK.
  • When NO_PIN policy is used, the pin is normally generated by the application and stored for the token. The PIN will be used
  • for OTP generation from the SDK.
  • @note NO_PIN policy is to be used with caution. Since the OTP generation is not protected by user knowledge.
  • @note Please check the pin policy for the requirement on Pin format.

* @param tokenName The name that identifies the token. * @param dskppPinPolicy Pin policy object that identifies the pin type and pin complexity as well as * the valid range of pin length * @param callback The callback object to the SDK to call after the App has collected the PIN. * If this block is provided, the App needs to call either method provided by the callback. * @since 4.1

typedef void (^OnLocalPinRequestBlock) (NSString *tokenName, EMDskppPinPolicy *dskppPinPolicy, id <, EMDskppLocalPinCallback >, callback )

Declared In

EMDskppProvisioningCallback.h