Virgil Security stores all users' Cards on Virgil Cards Service where they available at any time.

In order to perform any operations with user's Cards you need to get these Cards from Virgil Cards Service using find Card  or get Card method.

Let's take a look at these methods:

Find Card method:

  • Searches all User's Cards on Virgil Cards Service by user's identity 
  • find method returns an array. If find method doesn't find any card on Cards Service it returns an exception.

Get Card method:

  • lets you get a user's Card from Virgil Cards Service by using a card's ID
  • get method returns a user's Card. If get  method doesn't find any card on Cards Service it returns an empty array.

More examples of using these methods you find here:

Did this answer your question?