MCPcopy Create free account
hub / github.com/bajrangCoder/setu / bearer_auth_omits_empty_token

Function bearer_auth_omits_empty_token

src/components/auth_editor.rs:234–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232 SelectState::new(
233 auth_type_items,
234 Some(gpui_component::IndexPath::new(0)),
235 window,
236 cx,
237 )
238 });
239
240 // Subscribe to auth type selection changes
241 cx.subscribe(
242 &auth_type_select,
243 |this, _, event: &SelectEvent<Vec<AuthType>>, cx| {
244 if let SelectEvent::Confirm(Some(value)) = event {
245 this.auth_type = *value;
246 cx.notify();
247 }
248 },
249 )
250 .detach();
251
252 // Create API key location select state
253 let api_key_location_items: Vec<ApiKeyLocation> = ApiKeyLocation::all().to_vec();
254 let api_key_location_select = cx.new(|cx| {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected