Skip to main content

is_cimd_client_id

Function is_cimd_client_id 

Source
pub fn is_cimd_client_id(client_id: &str) -> bool
Expand description

Cheap detection heuristic: a CIMD client_id is an https:// URL. soma-auth’s own DCR-issued client_ids are opaque base64url tokens (random_token(18) in authorize::register_client) and can never start with https://.