withLifecycle

inline fun <T> Wallet.withLifecycle(block: (CredentialLifecycle) -> T): T?

Extension function for type-safe capability access.