move agent_token from swarm-queue-client to swarm-agent-verify
per #5471, verifiers stop depending on the queue client. the module is store-free and needs only thiserror, so swarm-agent-verify gains one dependency and loses its swarm-queue-client edge. consumers import it from swarm_agent_verify; swarm-logs and swarm-metrics, whose only use of swarm-queue-client was this module, drop that dependency, as does swarm-logs-auth.
This commit is contained in:
parent
741fe388f9
commit
87b1f94ac6
18 changed files with 34 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//! Classifying a presented `auth_token`, and the grant for an agent's own.
|
||||
//!
|
||||
//! The spelling is `swarm_queue_client::agent_token`'s, shared with the agent
|
||||
//! The spelling is `swarm_agent_verify::agent_token`'s, shared with the agent
|
||||
//! that presents it. Whether its secret is the stored one is
|
||||
//! [`swarm_agent_verify::verify`]'s answer; nothing here grants on the name
|
||||
//! alone.
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
//! unchanged.
|
||||
|
||||
use swarm_agent_verify::CredentialSource;
|
||||
use swarm_queue_client::agent_token::{AgentToken, Malformed, parse_agent_token};
|
||||
use swarm_agent_verify::agent_token::{AgentToken, Malformed, parse_agent_token};
|
||||
|
||||
use crate::policy::{Permissions, Policy};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue