Find Container
Each time an end user triggers the registration process, a new container is provisioned containing cyptographic keys and policy information corresponding to a service. This implies that an integrating application might need to manage multiple containers from either the same or multiple servers.
The HID Approve SDK provides an API to list and filter all registered containers. Identifying the relevant container is generally the starting point for most operations.
Typical Use Case
The mobile application locates a container as follows:
-
Create an instance of the Device (DeviceFactory.getDevice).
-
Define the filter parameter to search for a container (or, by default, list all):
-
CONTAINER_NAME – friendly name of container
-
CONTAINER_URL – server URL
-
CONTAINER_USERID – user identifier
-
CONTAINER_EXPIRY_DATE – container expiration date
-
CONTAINER_CREATION_DATE – container creation date
-
-
Get the instance of the Container (Device.findContainers).