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

Function build_ci_scopes

crates/openshell-cli/src/oidc_auth.rs:89–96  ·  view source on GitHub ↗
(scopes: Option<&str>)

Source from the content-addressed store, hash-verified

87}
88
89fn build_ci_scopes(scopes: Option<&str>) -> Vec<Scope> {
90 let Some(s) = scopes else {
91 return vec![];
92 };
93 s.split_whitespace()
94 .map(|scope| Scope::new(scope.to_string()))
95 .collect()
96}
97
98/// Run the OIDC Authorization Code + PKCE browser flow.
99///

Callers 2

Calls

no outgoing calls

Tested by 1