Restructure Azure AD related stuff

- Move responsibility for obtaining access tokens to clients
- Add function for getting access tokens for AVD
- Get correct server hostname during AVD setup
- Add utility function for doing http requests
This commit is contained in:
fifthdegree
2023-07-02 12:16:01 -04:00
committed by akallabeth
parent b8c2b6abd7
commit d309fcd6e8
20 changed files with 609 additions and 438 deletions

View File

@@ -12,7 +12,7 @@ CJSON_HASH=d348621ca93571343a56862df7de4ff3bc9b5667
WITH_OPENH264=0
WITH_OPENSSL=0
WITH_FFMPEG=0
WITH_CJSON=0
WITH_AAD=0
SRC_DIR=$(dirname "${BASH_SOURCE[0]}")
SRC_DIR=$(realpath "$SRC_DIR")
@@ -50,7 +50,7 @@ do
shift
;;
--cjson)
WITH_CJSON=1
WITH_AAD=1
shift
;;
--openssl)
@@ -162,7 +162,7 @@ do
else
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_FFMPEG=OFF"
fi
if [ $WITH_CJSON -ne 0 ];
if [ $WITH_AAD -ne 0 ];
then
if [ $BUILD_DEPS -ne 0 ];
then