getClaims
Gets the claims in the credential.
If a DocumentTypeRepository is passed, it will be used to look up the document type and if a type is found, it'll be used to populate the the Claim.attribute field of the resulting claims.
Return
a list of claims with values.
Parameters
documentTypeRepository
a DocumentTypeRepository or null
.