TelemetryWallet
Reports wallet storage operations to Telemetry, and delegates everything else unchanged.
The wallet is where a credential goes to be found again, and it is usually backed by something that can be slow or unavailable — a database, a file system, a cloud store. Before this, a host seeing a slow presentation could not tell an expensive proof from a stalled read. Wrapping the configured wallet closes that gap without every storage plugin carrying instrumentation.
Kotlin interface delegation supplies every other member, so a method added to Wallet keeps working here rather than silently losing its implementation.
Nothing is recorded until a host installs a sink. Credential identifiers, subjects, issuers and filter contents are never attached to an event: they identify people, and these become metric labels. Result counts are not attached either, for the same reason a count of one is a fact about a subject.
Functions
Get a credential by ID.
Get wallet statistics.
List credentials matching a filter.
Query credentials using a query builder.
Store a credential.
Extension function for type-safe access to the CredentialCollections capability.
Extension function for type-safe capability access.
Extension function for type-safe capability access.
Extension function for type-safe capability access.
Extension function for type-safe capability access.
Extension function for type-safe access to the combined CredentialOrganization capability.
Extension function for type-safe capability access.
Extension function for type-safe access to the CredentialTagging capability.
Wraps this wallet so its storage operations are reported to Telemetry.