Commit Graph

12 Commits

Author SHA1 Message Date
yuriy odonnell
3bfc10a805 unsync - Add option to explicitly specify the auth token storage file for sync command
[CL 29998795 by yuriy odonnell in ue5-main branch]
2023-11-29 16:19:56 -05:00
yuriy odonnell
257f18b5b6 unsync - Split OpenID config out of FAuthDesc into a separate structure and use auth desc to generate token cache key instead of just server address
* Avoids unnecessary login steps when using different proxy servers that share auth config

[CL 29877767 by yuriy odonnell in ue5-main branch]
2023-11-21 18:25:48 -05:00
yuriy odonnell
149778ff91 unsync - Always use the specified proxy server for performing authentication instead of auto-selected closest, fix few other minor issues
* Use correct TLS subject after auto-selecting a proxy (previously the root proxy address was used)

[CL 29051065 by yuriy odonnell in ue5-main branch]
2023-10-24 15:07:43 -04:00
yuriy odonnell
0008562522 unsync - Add EFileMode::IgnoreDryRun mode to always allow certain file write operations
* Change EFileMode from regular enum to flags
* Add GetAnonymizedMachineId helper function
* Use MachineGuid registry key on Windows

#rb none

[CL 28160398 by yuriy odonnell in ue5-main branch]
2023-09-22 18:11:34 -04:00
yuriy odonnell
7b470612fc unsync - Implement OpenUrlInDefaultBrowser for mac and linux, fix various issues with direct download on those platforms
#rb none

[CL 27861855 by yuriy odonnell in ue5-main branch]
2023-09-13 20:30:26 -04:00
yuriy odonnell
abf5a85ab6 unsync - Fix various runtime issues on linux
* Wide string formatting
* Path normalization

#rb none

[CL 27856783 by yuriy odonnell in ue5-main branch]
2023-09-13 18:33:59 -04:00
yuriy odonnell
4fd271fff2 unsync - Fix clang/linux build errors
#rb none

[CL 27821338 by yuriy odonnell in ue5-main branch]
2023-09-13 02:10:23 -04:00
yuriy odonnell
8c7bdecb04 unsync - Add support for direct manifest download from proxy server (bypassing SMB)
* Add --login flag to sync command
* Add in-process token cache
* Add auth token when quering server features
* Use direct download path when supported by server

#jira UE-192913
#rb none

[CL 27535921 by yuriy odonnell in ue5-main branch]
2023-08-31 16:20:09 -04:00
yuriy odonnell
c9dc86cb37 unsync - Add dedicated login command and make output more machine-friendly
* Make TLS a mandatory required library
* Redirect human-readable log messages of login and query commands to stderr, while only directing machine-readable messages to stdout

#rb none

[CL 27471298 by yuriy odonnell in ue5-main branch]
2023-08-29 19:18:18 -04:00
yuriy odonnell
c33f84e382 unsync - Groundwork for list query
#jira UE-192913
#rb none

[CL 27341587 by yuriy odonnell in ue5-main branch]
2023-08-24 10:44:55 -04:00
yuriy odonnell
0cb9903591 unsync - Automatically refresh access token only when it's close to expiration
- Add FHttpRequest::BearerToken field
- Validate credentials using login endpoint

#jira UE-192913
#rb none

[CL 27233166 by yuriy odonnell in ue5-main branch]
2023-08-20 19:45:21 -04:00
yuriy odonnell
37b1da7fde unsync - Groundwork for user authentication
#jira UE-192913
#rb none

[CL 27227985 by yuriy odonnell in ue5-main branch]
2023-08-18 21:41:29 -04:00