Search Cards by user's identityThis guide shows how to search for user's Cards on Virgil Cards Service by their identity.Remember that each user can have multiple Cards attached to their identity.PrerequisitesInstall SDK & Setup Virgil Crypto This language is only suitable for Server side. # this language is not supported yet.Setup authentication on a client side and send a JWT requestTo make API calls to the Virgil Cloud, you'll need to provide your product's users with a JSON Web Token (further, JWT) that contains the user's identity, made up of a string that uniquely identifies each user in your application.Virgil SDK allows you to use Virgil token-generation functionality to generate a JWT. After you install the Virgil SDK package on a client side you'll need to set up a jwtProvider to provide users with a unique JWT.Setup JWT provideruse this code to choose what'll use for a JWT generation in your product:# this language is not supported yet.Setup authentication on a server side and generate a JWTCollect your Virgil developer credentialsParameterDescriptionAPP_IDID of your Application at Virgil DashboardAPI_KEY_IDA unique string value that identifies your account at Virgil CloudAPI_KEYA Private Key that is used to sign API calls to Virgil ServicesNext, you'll setup the JwtGenerator using the Virgil SDK.You'll use your API Key that was created on the Virgil Dashboard. that's why, for security, you have to generate JWT on your server side.Each JWT grants a user access to the Virgil Cloud for a specific Virgil Application and has a limited lifetime that is configured by you. However, best practice is to generate a JWT for the shortest amount of time feasible for your application.Here is an example of how to generate a JWT:# this language is not supported yet.Setup Card VerifierVirgilCardVerifier helps you automatically verify a Card's signatures.By default, VirgilCardVerifier verifies only two signatures - that of the Card owner and of Virgil Cards Service.Setup VirgilCardVerifier with the following lines of code:# this language is not supported yet.Setup Cards Manager With Virgil Cards Manager you can:specify a JWT Provider.specify a Crypto Library that you’re planning to use for crypto operations.specify a Card Verifier that is used to verify a Card's signatures.Set up Crypto LibraryUse the following lines of code to specify which crypto library (Virgil or your own) you prefer to use in your project:# this language is not supported yet.Initialize Card ManagerUse the following lines of code to set up the Card Manager:# this language is not supported yet.Search Users CardsUsing Virgil SDK, you can search for the Cards of a single user or multiple users.Search for a single user's Cards:# this language is not supported yet.Search for multiple users' Cards:# this language is not supported yet.