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
findmethod returns an array. If
findmethod 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
getmethod returns a user's Card. If
getmethod doesn't find any card on Cards Service it returns an empty array.
More examples of using these methods you find here: