Skip to main content

validate_device_endpoint

Function validate_device_endpoint 

Source
pub fn validate_device_endpoint(url: &str) -> Result<(), CopilotAuthError>
Expand description

Accept only the exact pinned HTTPS github.com device endpoints.