MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / Authorization

Class Authorization

crates/opencode-provider/src/auth.rs:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44#[derive(Debug, Clone, Serialize, Deserialize)]
45pub struct Authorization {
46 pub url: String,
47 pub method: AuthMethodType,
48 pub instructions: String,
49}
50
51#[derive(Debug, Clone, Serialize, Deserialize)]
52pub enum AuthMethodType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected