Skip to content

Commit

Permalink
Add List Device Clients section in FRExample sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
vahancouver committed Nov 4, 2024
1 parent 2538694 commit a8eb71d
Show file tree
Hide file tree
Showing 4 changed files with 373 additions and 12 deletions.
96 changes: 96 additions & 0 deletions FRAuth/FRAuth.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@
95EB7E4D2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95EB7E4C2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift */; };
95EB7E532B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95EB7E522B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift */; };
A50DEC452BCDEEC10094CD73 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A50DEC442BCDEEC10094CD73 /* PrivacyInfo.xcprivacy */; };
A529AFD92CD010CB00F60F68 /* successPush.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD32CD010CB00F60F68 /* successPush.json */; };
A529AFDA2CD010CB00F60F68 /* successWebAuthn.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD72CD010CB00F60F68 /* successWebAuthn.json */; };
A529AFDB2CD010CB00F60F68 /* successDeviceProfile.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD12CD010CB00F60F68 /* successDeviceProfile.json */; };
A529AFDC2CD010CB00F60F68 /* successUpdateDeviceBinding.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD42CD010CB00F60F68 /* successUpdateDeviceBinding.json */; };
A529AFDD2CD010CB00F60F68 /* successUpdateWebAuthn.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD62CD010CB00F60F68 /* successUpdateWebAuthn.json */; };
A529AFDE2CD010CB00F60F68 /* forbidden.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFCE2CD010CB00F60F68 /* forbidden.json */; };
A529AFDF2CD010CB00F60F68 /* successUpdateDeviceProfile.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD52CD010CB00F60F68 /* successUpdateDeviceProfile.json */; };
A529AFE02CD010CB00F60F68 /* accessDenied.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFCD2CD010CB00F60F68 /* accessDenied.json */; };
A529AFE12CD010CB00F60F68 /* successOath.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD22CD010CB00F60F68 /* successOath.json */; };
A529AFE22CD010CB00F60F68 /* successDeviceBinding.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFD02CD010CB00F60F68 /* successDeviceBinding.json */; };
A529AFE32CD010CB00F60F68 /* sessionInfo.json in Resources */ = {isa = PBXBuildFile; fileRef = A529AFCF2CD010CB00F60F68 /* sessionInfo.json */; };
A530D4592CD13E1D009EC60C /* Device.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4562CD13E1D009EC60C /* Device.swift */; };
A530D45A2CD13E1D009EC60C /* DeviceClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4572CD13E1D009EC60C /* DeviceClient.swift */; };
A530D45B2CD13E1D009EC60C /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4582CD13E1D009EC60C /* Session.swift */; };
A530D45D2CD13E1D009EC60C /* DeviceClientTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D45C2CD13E1D009EC60C /* DeviceClientTests.swift */; };
A530D4782CD1A7C7009EC60C /* CodableExtentions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4752CD1A7C0009EC60C /* CodableExtentions.swift */; };
A53723D12AE80A5D0047B809 /* TelephonyCollectorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A53723D02AE80A5D0047B809 /* TelephonyCollectorTests.swift */; };
A5950A2A27EA205B00EDEFE4 /* SSLPinningTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5950A2927EA205B00EDEFE4 /* SSLPinningTests.swift */; };
D512CD41240DC41E00AF520E /* FRRestClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = D512CD40240DC41E00AF520E /* FRRestClient.swift */; };
Expand Down Expand Up @@ -372,6 +388,22 @@
95EB7E4C2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AA_09_PingOneProtectInitializeCallbackTest.swift; sourceTree = "<group>"; };
95EB7E522B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AA_10_PingOneProtectEvaluateCallbackTest.swift; sourceTree = "<group>"; };
A50DEC442BCDEEC10094CD73 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
A529AFCD2CD010CB00F60F68 /* accessDenied.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = accessDenied.json; sourceTree = "<group>"; };
A529AFCE2CD010CB00F60F68 /* forbidden.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = forbidden.json; sourceTree = "<group>"; };
A529AFCF2CD010CB00F60F68 /* sessionInfo.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = sessionInfo.json; sourceTree = "<group>"; };
A529AFD02CD010CB00F60F68 /* successDeviceBinding.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successDeviceBinding.json; sourceTree = "<group>"; };
A529AFD12CD010CB00F60F68 /* successDeviceProfile.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successDeviceProfile.json; sourceTree = "<group>"; };
A529AFD22CD010CB00F60F68 /* successOath.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successOath.json; sourceTree = "<group>"; };
A529AFD32CD010CB00F60F68 /* successPush.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successPush.json; sourceTree = "<group>"; };
A529AFD42CD010CB00F60F68 /* successUpdateDeviceBinding.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successUpdateDeviceBinding.json; sourceTree = "<group>"; };
A529AFD52CD010CB00F60F68 /* successUpdateDeviceProfile.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successUpdateDeviceProfile.json; sourceTree = "<group>"; };
A529AFD62CD010CB00F60F68 /* successUpdateWebAuthn.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successUpdateWebAuthn.json; sourceTree = "<group>"; };
A529AFD72CD010CB00F60F68 /* successWebAuthn.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = successWebAuthn.json; sourceTree = "<group>"; };
A530D4562CD13E1D009EC60C /* Device.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Device.swift; sourceTree = "<group>"; };
A530D4572CD13E1D009EC60C /* DeviceClient.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceClient.swift; sourceTree = "<group>"; };
A530D4582CD13E1D009EC60C /* Session.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Session.swift; sourceTree = "<group>"; };
A530D45C2CD13E1D009EC60C /* DeviceClientTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceClientTests.swift; sourceTree = "<group>"; };
A530D4752CD1A7C0009EC60C /* CodableExtentions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CodableExtentions.swift; sourceTree = "<group>"; };
A53723D02AE80A5D0047B809 /* TelephonyCollectorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelephonyCollectorTests.swift; sourceTree = "<group>"; };
A5950A2927EA205B00EDEFE4 /* SSLPinningTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSLPinningTests.swift; sourceTree = "<group>"; };
D5015FEE24996AE50025FEB6 /* MetadataCallbackTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetadataCallbackTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -683,6 +715,50 @@
path = AppIntegrity;
sourceTree = "<group>";
};
A529AFD82CD010CB00F60F68 /* SelfService */ = {
isa = PBXGroup;
children = (
A529AFCD2CD010CB00F60F68 /* accessDenied.json */,
A529AFCE2CD010CB00F60F68 /* forbidden.json */,
A529AFCF2CD010CB00F60F68 /* sessionInfo.json */,
A529AFD02CD010CB00F60F68 /* successDeviceBinding.json */,
A529AFD12CD010CB00F60F68 /* successDeviceProfile.json */,
A529AFD22CD010CB00F60F68 /* successOath.json */,
A529AFD32CD010CB00F60F68 /* successPush.json */,
A529AFD42CD010CB00F60F68 /* successUpdateDeviceBinding.json */,
A529AFD52CD010CB00F60F68 /* successUpdateDeviceProfile.json */,
A529AFD62CD010CB00F60F68 /* successUpdateWebAuthn.json */,
A529AFD72CD010CB00F60F68 /* successWebAuthn.json */,
);
path = SelfService;
sourceTree = "<group>";
};
A530D4792CD27496009EC60C /* Util */ = {
isa = PBXGroup;
children = (
A530D4752CD1A7C0009EC60C /* CodableExtentions.swift */,
);
path = Util;
sourceTree = "<group>";
};
A530D47A2CD274E9009EC60C /* SelfService */ = {
isa = PBXGroup;
children = (
A530D4572CD13E1D009EC60C /* DeviceClient.swift */,
A530D4562CD13E1D009EC60C /* Device.swift */,
A530D4582CD13E1D009EC60C /* Session.swift */,
);
path = SelfService;
sourceTree = "<group>";
};
A530D47B2CD27534009EC60C /* SelfService */ = {
isa = PBXGroup;
children = (
A530D45C2CD13E1D009EC60C /* DeviceClientTests.swift */,
);
path = SelfService;
sourceTree = "<group>";
};
A5950A2827EA200200EDEFE4 /* SSL Pinning */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -714,6 +790,7 @@
D52D1637231484D60095905A /* FRAuth */ = {
isa = PBXGroup;
children = (
A530D47B2CD27534009EC60C /* SelfService */,
3A3E78662AB0D602007962B7 /* AppIntegrity */,
EC0BA2F72863323A00F8326E /* FROptions */,
A5950A2827EA200200EDEFE4 /* SSL Pinning */,
Expand Down Expand Up @@ -982,9 +1059,11 @@
D586CF3523358EDF007A2194 /* Network */,
D586CF3C23358EDF007A2194 /* OAuth2 */,
D533270924806633002FF207 /* Policy */,
A530D47A2CD274E9009EC60C /* SelfService */,
D5BE349323CD2F23005873BB /* Session */,
D5B205E825FFDD4600DABB9B /* SocialLogin */,
D586CF5D23358EE0007A2194 /* User */,
A530D4792CD27496009EC60C /* Util */,
D53A801C262789BD0093B1CA /* WebAuthn */,
D554632122A6EDF90096C7A4 /* FRAuth.swift */,
D55462FB22A6DF720096C7A4 /* FRAuth.h */,
Expand Down Expand Up @@ -1309,6 +1388,7 @@
D5888C4C25664EDF0041FD94 /* MockResponseData */ = {
isa = PBXGroup;
children = (
A529AFD82CD010CB00F60F68 /* SelfService */,
D5888C4D25664EDF0041FD94 /* AM */,
D5888C5025664EDF0041FD94 /* OAuth2 */,
D5888C5E25664EDF0041FD94 /* AuthTree */,
Expand Down Expand Up @@ -1732,6 +1812,17 @@
D5888CA525664EDF0041FD94 /* AM_Push_Registration_Successful.json in Resources */,
D5888CA025664EDF0041FD94 /* AuthTree_SSOToken_Success.json in Resources */,
D5888C9425664EDF0041FD94 /* OAuth2_UserInfo_Success.json in Resources */,
A529AFD92CD010CB00F60F68 /* successPush.json in Resources */,
A529AFDA2CD010CB00F60F68 /* successWebAuthn.json in Resources */,
A529AFDB2CD010CB00F60F68 /* successDeviceProfile.json in Resources */,
A529AFDC2CD010CB00F60F68 /* successUpdateDeviceBinding.json in Resources */,
A529AFDD2CD010CB00F60F68 /* successUpdateWebAuthn.json in Resources */,
A529AFDE2CD010CB00F60F68 /* forbidden.json in Resources */,
A529AFDF2CD010CB00F60F68 /* successUpdateDeviceProfile.json in Resources */,
A529AFE02CD010CB00F60F68 /* accessDenied.json in Resources */,
A529AFE12CD010CB00F60F68 /* successOath.json in Resources */,
A529AFE22CD010CB00F60F68 /* successDeviceBinding.json in Resources */,
A529AFE32CD010CB00F60F68 /* sessionInfo.json in Resources */,
D5888CA325664EDF0041FD94 /* AM_Push_Registration_Fail_Invalid_Signed_JWT.json in Resources */,
D5888C9C25664EDF0041FD94 /* OAuth2_Token_Success.json in Resources */,
D5888CAA25664EDF0041FD94 /* AuthTree_DeviceCollectorNodeLocationOnly.json in Resources */,
Expand Down Expand Up @@ -1776,6 +1867,9 @@
D513F17524DA6B490042228B /* AuthApiError.swift in Sources */,
D5C8641A252E880D00268F06 /* OAuth2Error.swift in Sources */,
D586CFA023358EE0007A2194 /* AttributeInputCallback.swift in Sources */,
A530D4592CD13E1D009EC60C /* Device.swift in Sources */,
A530D45A2CD13E1D009EC60C /* DeviceClient.swift in Sources */,
A530D45B2CD13E1D009EC60C /* Session.swift in Sources */,
D53A8042262789BD0093B1CA /* PlatformAuthenticator.swift in Sources */,
D586CF9A23358EE0007A2194 /* TextOutputCallback.swift in Sources */,
D53A804B262789BD0093B1CA /* ClientCreateOperation.swift in Sources */,
Expand Down Expand Up @@ -1861,6 +1955,7 @@
D53A8046262789BD0093B1CA /* CredentialStore.swift in Sources */,
D586CF8F23358EE0007A2194 /* AccessToken.swift in Sources */,
D5723C3D23F4C65800557AA8 /* Node.swift in Sources */,
A530D4782CD1A7C7009EC60C /* CodableExtentions.swift in Sources */,
D5B2A38B23FCC19E00764370 /* ProfileCollector.swift in Sources */,
D586CFA123358EE0007A2194 /* Callback.swift in Sources */,
D5CD493225265FF8006DD932 /* BrowserError.swift in Sources */,
Expand Down Expand Up @@ -1991,6 +2086,7 @@
D5791BDB25F87DE8004B487A /* KeychainManagerTests.swift in Sources */,
D5791BDD25F87DE8004B487A /* TokenTests.swift in Sources */,
D5791BDE25F87DE8004B487A /* PKCETests.swift in Sources */,
A530D45D2CD13E1D009EC60C /* DeviceClientTests.swift in Sources */,
D58BC39F2602FB7700254654 /* IdPValueTests.swift in Sources */,
3A53E4DA2A153AF200E17DDF /* PolicyAdviceCreatorTests.swift in Sources */,
959D7D98290B4B9200A1F22F /* AA-05-DeviceBindingCallbackTest.swift in Sources */,
Expand Down
14 changes: 14 additions & 0 deletions SampleApps/FRExample/FRExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
3AF37D772C8038E400190350 /* FRCaptchaEnterprise.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 1BA9F0212C755B390033651D /* FRCaptchaEnterprise.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A52B848A2B339571001FBA2C /* Playground.swift in Sources */ = {isa = PBXBuildFile; fileRef = A52B84892B339571001FBA2C /* Playground.swift */; };
A52B848B2B339571001FBA2C /* Playground.swift in Sources */ = {isa = PBXBuildFile; fileRef = A52B84892B339571001FBA2C /* Playground.swift */; };
A530D48A2CD3D024009EC60C /* ClientDevicesTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4892CD3D024009EC60C /* ClientDevicesTableViewController.swift */; };
A530D48B2CD3D024009EC60C /* ClientDevicesTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A530D4892CD3D024009EC60C /* ClientDevicesTableViewController.swift */; };
A59506EB2B6070D000E366F9 /* PingProtect.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A52761332B60209100F8BDF7 /* PingProtect.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A59506F42B6070DD00E366F9 /* PingProtect.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A52761332B60209100F8BDF7 /* PingProtect.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A5D8938529E5AA78004D21F4 /* FRDeviceBinding.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A5D1C39329E59FC30096039E /* FRDeviceBinding.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
Expand Down Expand Up @@ -273,6 +275,7 @@
1BA9F01A2C755B390033651D /* FRCaptchaEnterprise.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = FRCaptchaEnterprise.xcodeproj; path = ../../FRCaptchaEnterprise/FRCaptchaEnterprise.xcodeproj; sourceTree = "<group>"; };
A52761252B60209000F8BDF7 /* PingProtect.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PingProtect.xcodeproj; path = ../../PingProtect/PingProtect.xcodeproj; sourceTree = "<group>"; };
A52B84892B339571001FBA2C /* Playground.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Playground.swift; sourceTree = "<group>"; };
A530D4892CD3D024009EC60C /* ClientDevicesTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClientDevicesTableViewController.swift; sourceTree = "<group>"; };
A5D1C38C29E59FC30096039E /* FRDeviceBinding.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = FRDeviceBinding.xcodeproj; path = ../../FRDeviceBinding/FRDeviceBinding.xcodeproj; sourceTree = "<group>"; };
D521A21A2303644300EDD28E /* FRExampleSSO.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FRExampleSSO.app; sourceTree = BUILT_PRODUCTS_DIR; };
D530423A26321BE90079EB3B /* FRCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FRCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -353,6 +356,14 @@
name = Products;
sourceTree = "<group>";
};
A530D47C2CD3CFE7009EC60C /* ViewControllers */ = {
isa = PBXGroup;
children = (
A530D4892CD3D024009EC60C /* ClientDevicesTableViewController.swift */,
);
path = ViewControllers;
sourceTree = "<group>";
};
A5D1C38D29E59FC30096039E /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -401,6 +412,7 @@
D554632E22A6EF950096C7A4 /* FRExample */ = {
isa = PBXGroup;
children = (
A530D47C2CD3CFE7009EC60C /* ViewControllers */,
D5E080C623DA58310025EA17 /* Customization */,
D5FE5E5B23190A0000E04658 /* Configs */,
D5FE5E5E23190A0000E04658 /* Supporting Files */,
Expand Down Expand Up @@ -784,6 +796,7 @@
files = (
D521A2062303644300EDD28E /* ViewController.swift in Sources */,
D521A2082303644300EDD28E /* AppDelegate.swift in Sources */,
A530D48B2CD3D024009EC60C /* ClientDevicesTableViewController.swift in Sources */,
A52B848B2B339571001FBA2C /* Playground.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -794,6 +807,7 @@
files = (
D5C64E562489808600CB7EB3 /* NoSessionInterceptor.swift in Sources */,
D5E080CF23DA583D0025EA17 /* CustomNameCallbackCell.swift in Sources */,
A530D48A2CD3D024009EC60C /* ClientDevicesTableViewController.swift in Sources */,
D53326FE2480613D002FF207 /* ForceAuthInterceptor.swift in Sources */,
D5CFCF7622FB8DCA0027B7A0 /* ViewController.swift in Sources */,
D554633022A6EF950096C7A4 /* AppDelegate.swift in Sources */,
Expand Down
Loading

0 comments on commit a8eb71d

Please sign in to comment.