--- title: "Integrate user credential input from an image" slug: "ig-two-step-activation-integrate-user-credential-input-from-an-image" updated: 2025-10-24T12:26:15Z published: 2025-10-27T16:48:47Z canonical: "docs.onespan.com/ig-two-step-activation-integrate-user-credential-input-from-an-image" excludeFromSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrate user credential input from an image Mobile Authenticator Studio supports the input of user credentials for authenticator license activation requests as an image, either as a QR code or a Cronto image. The content of the image must be generated using the Secure Messaging SDK Server 4.6.1 or later by calling the credential message generation functionality. Java publicstatic String generateCredentialsMessage(String registrationIdentifier, String authorizationCode, String activationPassword, String userIdentifier) throws MessageSDKException .NET publicstatic String GenerateCredentialsMessage(String registrationIdentifier, String authorizationCode, String activationPassword, String userIdentifier) The image can be generated using the Image Generator SDK 4.3.5 or later by calling either the QR code generation API or the Cronto image API. Java publicstatic BWQRCodeResponse generateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel) throws ImageGeneratorException publicstatic BufferedImage generateCrontoSign(int squareSize, String inputValue) throws ImageGeneratorSDKException .NET publicstatic BWQRCodeResponse GenerateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel) publicstatic Bitmap GenerateCrontoSign(int squareSize, String inputValue)