Weave documentation
weave-identity-mock

weave-identity-mock

Mock WeaveIdentityAdapter implementation for testing

Purpose and workflow

Use MockAdapter::new() in isolated tests. set_verification_result(identity_id, result) controls verification outcomes; mock signatures do not establish real cryptographic authority. Never configure this adapter for production identity checks.

Source and configuration

Package weave-identity-mock, version 0.1.0, source tools/adapters/mock. Read the declared module reference for signatures, input/output types, errors and feature flags.

Start from the public boundary

On this page