Armin Novak
465a6353d5
[c23,client] replace NULL with nullptr
2026-02-26 15:42:59 +01:00
Armin Novak
48267edf2f
[winpr] add WINPR_C_ARRAY_INIT
...
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +01:00
Armin Novak
3fcc287b16
[warnings] initialize all va_list
2026-02-25 07:41:39 +01:00
Armin Novak
6cfdf9e43e
[json] use WINPR_JSON_GetObjectItemCaseSensitive
...
Prefer usage of case sensitive functions that are faster.
2025-09-23 12:38:23 +02:00
akallabeth
6284bba9f0
[clang-tidy] fix various warnings
...
* silence tidy warnings for public API symbols (we can't fix these for
compatibility reasons)
* fix issues with casting
2025-08-11 14:11:40 +02:00
Andreas Ziegler
9083947d9c
[client,common] fix sso_mib_get_access_token return value in error case
...
Use FALSE instead of ERROR_INTERNAL_ERROR which could be interpreted
as "truthy" at the respective call site.
2025-07-14 13:31:04 +02:00
Armin Novak
46b5f890b6
[client,common] make sso-mib opaque
...
Contain details of implementation in sso_mib_new and sso_mib_free
2025-05-21 14:52:06 +02:00
Armin Novak
66a69a26e2
[client,common] initialize sso-mib late
...
Only initialize the sso-mib library when a token is requested for the
first time. This allows proper rdpSettings initialization in PreConnect.
2025-05-21 14:31:34 +02:00
Armin Novak
39f7972b28
[client,common] add common GetCommonAccessToken
...
If client-common is build with WITH_SSO_MIB inject a callback that first
tries to retrieve a token from sso-mib library and only if that fails
falls back to a client provided callback.
2025-05-21 14:00:10 +02:00
Andreas Ziegler
d3ba03bba4
refactor: move sso-mib token fetching into separate compilation unit
2025-05-21 11:44:16 +02:00