Skip to main content

agent_credential_prefix_for

Function agent_credential_prefix_for 

Source
fn agent_credential_prefix_for(channel: Option<&str>, own_store: bool) -> String
Expand description

Prefix for this channel’s rows in db_agent_credentials, which is keyed by agent id alone: empty for stable and for the channel’s own store. An agent id is [A-Za-z0-9_-], so the / can’t collide with one.