CredentialQueryBuilder
class CredentialQueryBuilder
Fluent query builder for credentials.
Example:
val query = CredentialQueryBuilder().apply {
byIssuer("did:key:issuer")
byType("PersonCredential")
notExpired()
valid()
}Content copied to clipboard
Properties
Link copied to clipboard
Collection IDs requested via byCollection. Wallet implementations must use these for collection-based filtering.
Link copied to clipboard
Tags requested via byTag. Wallet implementations must use these for tag-based filtering.
Functions
Link copied to clipboard
Filter by collection (requires CredentialCollections capability).
Link copied to clipboard
Filter to only non-expired credentials.
Link copied to clipboard
Filter to only non-revoked credentials.
Link copied to clipboard
Get the query predicate. This is the public API for getting the predicate function.