credentialsByType

Filter credentials in a presentation by type.

Returns a list of credentials that have the specified type.

Example:

val degreeCredentials = presentation.credentialsByType("UniversityDegreeCredential")

Return

List of credentials matching the specified type

Parameters

typeString

The type string to filter by