Implement Lookup calls via identity-lib
Implement Lookup calls via identity-lib
Background
Currently the card client calls to Lookup require either the card client being within the CUDN or separate lookup credentials. The proposal is to migrate the card client over to the lookup client within identity-lib
thus i) remove the need for additional lookup credentials and ii) avoid the token time-out issue seen with prolonged usage of the current card client.
Acceptance Criteria
-
the card client returns the MIFARE_NUMBER
associated with each cardholder in lookup groupUIS
when lookup groupUIS
is set as a query parameter -
the card client automatically fetches the token when using a lookup group as a query parameter -
the card client automatically refreshes the token when using a lookup group as a query parameter