Search user's Card by user's identityThis guide shows how to search all User's Cards on Virgil Cards Service by User's Identity. Remember that each user can have multiple identities, and there can be multiple Cards attached each of their identities. This guide will help you locate all the Cards associated with a user's specific identityPrerequisites for workInstall SDK & Setup Virgil Crypto# this language is not supported yet.Setup authentication on a client side and send a JWT requestIn order to make call to Virgil Services, for example, to publish user's Card on Virgil Cards Service you need to have a JSON Web Token (further, JWT). Virgil SDKs let you use Virgil token-generation functionality without having to know how they're constructed.After a user installed Virgil SDK you'll need to setup jwtProvider for providing user with a JWT. You'll need to give your users a JWT that tells Virgil who they are and what they can do.Requests to your app server must be authorized. You can use for this task any kind of authentication, for example, Google auth.Setup JWT provideruse these lines of code to admit which source for JWT generation you prefer to use in your project:# 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 the Virgil developer portalAPI_KEYA Private Key that is used to sign API calls to Virgil Services. For security, you will only be shown the API Private Key when the key is created, don't forget to save it in a secure location for the next stepNext, you'll setup the JwtGenerator using the Virgil SDK. You'll use your API Key that was created at Virgil Dashboard, that's why, for security, you have to generate JWT on your server side. Each JWT is granted access to specific Application and has a limited lifetime that is configured up by you. However, a best practice is to generate JWT for the shortest amount of time feasible for your application.Here is an example of how to generate JWT:# this language is not supported yet.Setup CardVerifierVirgil Card Verifier helps you automatically verify signatures of a User's Card, for example when you get Card from Virgil Cards Service.By default, VirgilCardVerifier verifies only two signatures - a Card owner and Virgil Cards Service.Setup VirgilCardVerifier with the following lines of code:# this language is not supported yet.Setup Cards manager to manage public KeysWith Cards Manager you can:specify an access Token (JWT) Provider.specify a Crypto Library that you’re planning to use for crypto operations.specify a Card Verifier used to verify signatures of your users, your App Server, Virgil Services (optional).Set up CryptoUse 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 User's CardsUse the following code to search Cards on the Virgil Cards Service:# this language is not supported yet.