--- title: "Integrate user credential input from an image" slug: "mas-5-ig-integrate-user-credential-input-from-image-5-2-0" updated: 2025-10-24T12:26:29Z published: 2025-10-28T08:25:53Z canonical: "docs.onespan.com/mas-5-ig-integrate-user-credential-input-from-image-5-2-0" 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 ```java public static String generateCredentialsMessage(String registrationIdentifier, String authorizationCode, String activationPassword, String userIdentifier) throws MessageSDKException ``` .NET ```csharp public static 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 ```java public static BWQRCodeResponse generateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel) throws ImageGeneratorException ``` ```java public static BufferedImage generateCrontoSign(int squareSize, String inputValue) throws ImageGeneratorSDKException ``` .NET ```csharp public static BWQRCodeResponse GenerateBWQRCode(int imageSize, String inputValue, int errorCorrectionLevel) ``` ```csharp public static Bitmap GenerateCrontoSign(int squareSize, String inputValue) ```