CLI app for developers prototyping atproto functionality
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(oauth-client): add RpFactory trait to relying_party.rs

Adds RpFactory trait to support test-driven interactive stage operation.
The trait provides a build() method that returns a RelyingParty instance.
Tests implement RpFactory to construct deterministic RP instances with fixed
seeds for reproducible testing. This trait is used by InteractiveDriveMode
to support both external client flows and in-process RP-driven flows.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

+6
+6
src/common/oauth/relying_party.rs
··· 130 130 http: ReqwestClient, 131 131 } 132 132 133 + /// Factory trait for building RelyingParty instances. 134 + pub trait RpFactory: Send + Sync { 135 + /// Build a fresh RelyingParty instance. 136 + fn build(&self) -> RelyingParty; 137 + } 138 + 133 139 impl RelyingParty { 134 140 /// Create a new Relying Party with deterministic key generation from seed. 135 141 pub fn new(