檢視行動應用程式範例日誌
iOS 範例應用程式會記錄認證使用者的相關資訊。
範例應用程式日誌顯示使用者認證處理作業中的下列步驟。
呼叫內嵌的 Safari 瀏覽器:
Do Login
Setup completed
EmbeddedSafari Challenge
2018-10-25 19:17:28.413504+0530 IDCSSample[98996:3799683] [MC] System group container for systemgroup.com.apple.configurationprofiles path is [your_device_folder]/systemgroup.com.apple.configurationprofiles
2018-10-25 19:17:28.417190+0530 IDCSSample[98996:3799683] [MC] Reading from private effective user settings.
2018-10-25 19:17:28.633253+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:17:28.701507+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
initialLoadDidRedirectTo
didCompleteInitialLoad
2018-10-25 19:17:50.825763+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:18:55.577926+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
didCloseSafriView
擷取 Oracle Identity Cloud Service 資訊:
Do back channel request to get token
Authentication sucesses Optional(Username : (null)
Auth mode : Remote logoutmode: NO)
get My Apps
get my groups
get user info
(
"<IDCSSample.Groups: 0x6000002cc9b0>",
"<IDCSSample.Groups: 0x6000002ce070>"
)
[{
primary = 0;
secondary = 0;
type = recovery;
value = "john.doe@example.com";
verified = 1;
}, {
primary = 1;
secondary = 0;
type = work;
value = "john.doe@example.com";
verified = 1;
}]
(
)
logout started
從 Oracle Identity Cloud Service 登出使用者:
do logout
didReceiveLogoutAuthenticationChallenge
2018-10-25 19:19:16.632816+0530 IDCSSample[98996:3799683] Presenting view controllers on detached view controllers is discouraged <IDCSSample.LoginViewController: 0x7f814f60a8a0>.
2018-10-25 19:19:16.872932+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:19:16.879929+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
didCompleteInitialLoad
didCloseSafriView
Do back channel request to get token
logout sucesses with error nil
2018-10-25 19:19:21.309043+0530 IDCSSample[98996:3799683] oauth
completed Setup
EmbeddedSafari Challenge
2018-10-25 19:19:22.608563+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2018-10-25 19:19:22.608957+0530 IDCSSample[98996:3799683] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
initialLoadDidRedirectTo
didCompleteInitialLoad