MCPcopy Index your code
hub / github.com/NVIDIA/OpenShell / router

Function router

crates/openshell-server/src/auth/http.rs:58–63  ·  view source on GitHub ↗

Create the auth router.

(state: Arc<ServerState>)

Source from the content-addressed store, hash-verified

56
57/// Create the auth router.
58pub fn router(state: Arc<ServerState>) -> Router {
59 Router::new()
60 .route("/auth/connect", get(auth_connect))
61 .route("/auth/oidc-config", get(oidc_config_handler))
62 .with_state(state)
63}
64
65/// OIDC configuration discovery endpoint.
66///

Callers

nothing calls this directly

Calls 2

getFunction · 0.85
with_stateMethod · 0.80

Tested by

no test coverage detected