Consider making PassVerifier
generic over the credential type
#8
Labels
enhancement
New feature or request
PassVerifier
generic over the credential type
#8
Currently the library is limited to the
PublicCovidPass
credential type, but it may be worthwhile making this more flexible.A possible signature for the verifier could be:
Most of the components are already designed to be agnostic to the type of pass - the main touch points would be:
CwtSecurityToken
: need a way to expose a generic passPassVerifier
: need a way to accept the credential type and pass it through to the relevant componentsThe text was updated successfully, but these errors were encountered: