mirror of https://github.com/FreeRDP/FreeRDP
cli parameter /gateway:bearer:bearertoken
This commit is contained in:
parent
6478edda5b
commit
9a5bedd8be
|
@ -2540,6 +2540,15 @@ static BOOL parse_gateway_options(rdpSettings* settings, const COMMAND_LINE_ARGU
|
|||
validOption = TRUE;
|
||||
allowHttpOpts = FALSE;
|
||||
}
|
||||
|
||||
const char* bearer = option_starts_with("bearer:", argval);
|
||||
if (bearer)
|
||||
{
|
||||
if (!freerdp_settings_set_string(settings, FreeRDP_GatewayHttpExtAuthBearer, bearer))
|
||||
goto fail;
|
||||
validOption = TRUE;
|
||||
allowHttpOpts = FALSE;
|
||||
}
|
||||
|
||||
const char* um = option_starts_with("usage-method:", argval);
|
||||
if (um)
|
||||
|
|
Loading…
Reference in New Issue