MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / github_credential

Function github_credential

crates/openshell-prover/src/credentials.rs:372–380  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

370 use super::*;
371
372 fn github_credential() -> Credential {
373 Credential {
374 name: "github-pat".to_string(),
375 cred_type: "github-pat".to_string(),
376 scopes: vec!["repo".to_string()],
377 injected_via: "GITHUB_TOKEN".to_string(),
378 target_hosts: vec!["api.github.com".to_string()],
379 }
380 }
381
382 fn github_api() -> ApiCapability {
383 ApiCapability {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected