Skip to main content

set_code_param

Function set_code_param 

Source
pub fn set_code_param(uri: &str, key: &str) -> String
Expand description

Put key into the uri’s code query parameter, replacing any existing one. The inverse of [strip_code_param]; shared with the CLI’s credential plumbing so a key lands the same way everywhere.