feat(controlled): 实现设备激活与安全认证流程
- 添加API客户端、加密存储和provision/token激活逻辑 - WebSocket改用Bearer令牌认证,移除REGISTER请求 - 设备ID改为服务端下发,支持令牌刷新和强制下线处理 - 新增deviceSecret加密存储和accessToken自动刷新 - 更新设备ID获取方式为出厂SN,添加安全存储依赖
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
FB000000000000000000000F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FA000000000000000000000F /* Assets.xcassets */; };
|
||||
FB0000000000000000000010 /* WebRTC in Frameworks */ = {isa = PBXBuildFile; productRef = FE0000000000000000000002 /* WebRTC */; };
|
||||
FB0000000000000000000012 /* VideoRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA0000000000000000000012 /* VideoRecorder.swift */; };
|
||||
FB0000000000000000000013 /* SetupPanelView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA0000000000000000000013 /* SetupPanelView.swift */; };
|
||||
FB0000000000000000000014 /* ControlPanelView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA0000000000000000000014 /* ControlPanelView.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
@@ -45,6 +47,8 @@
|
||||
FA0000000000000000000010 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
FA0000000000000000000011 /* web_rtc_controller_ios.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = web_rtc_controller_ios.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
FA0000000000000000000012 /* VideoRecorder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VideoRecorder.swift; sourceTree = "<group>"; };
|
||||
FA0000000000000000000013 /* SetupPanelView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SetupPanelView.swift; sourceTree = "<group>"; };
|
||||
FA0000000000000000000014 /* ControlPanelView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ControlPanelView.swift; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -132,6 +136,8 @@
|
||||
children = (
|
||||
FA000000000000000000000B /* ContentView.swift */,
|
||||
FA000000000000000000000C /* AuthSheetView.swift */,
|
||||
FA0000000000000000000013 /* SetupPanelView.swift */,
|
||||
FA0000000000000000000014 /* ControlPanelView.swift */,
|
||||
FA0000000000000000000008 /* RemoteTouchView.swift */,
|
||||
FA0000000000000000000009 /* RemoteVideoView.swift */,
|
||||
FA000000000000000000000A /* SelfCodecDisplayView.swift */,
|
||||
@@ -239,6 +245,8 @@
|
||||
FB0000000000000000000006 /* WebRTCClient.swift in Sources */,
|
||||
FB0000000000000000000007 /* SelfCodecDecoder.swift in Sources */,
|
||||
FB0000000000000000000012 /* VideoRecorder.swift in Sources */,
|
||||
FB0000000000000000000013 /* SetupPanelView.swift in Sources */,
|
||||
FB0000000000000000000014 /* ControlPanelView.swift in Sources */,
|
||||
FB0000000000000000000008 /* RemoteTouchView.swift in Sources */,
|
||||
FB0000000000000000000009 /* RemoteVideoView.swift in Sources */,
|
||||
FB000000000000000000000A /* SelfCodecDisplayView.swift in Sources */,
|
||||
|
||||
Reference in New Issue
Block a user