cost 183 ms
找不到名稱“ SFAuthSession”

[英]Cannot find name 'SFAuthSession'

我是ionic和cordova插件的新手,我正在嘗試在ionic應用程序中使用cordova-plugin-sfauthenticationsession來實現cookie的共享。 這是我基於此鏈接中提供的文檔的代碼: 問題是,每當我嘗試構建我的應用程序時,終端都會顯示一個錯誤,即 ...

如何使用nativescript中的SFAuthenticationSession?

[英]how do I use SFAuthenticationSession from nativescript?

我正在本機腳本應用程序中進行一些SSO行為。 我有以下可以正常工作的Swift代碼: 由此,我提出了等效的打字稿代碼(在.ios.ts文件中) 所有這些都可以編譯和構建,但是運行時它會在大約一秒鍾的延遲后在session.start()調用時崩潰。 在此之前,我得到了輸出,包 ...

登錄SFAuthenticationSession,然后在執行SSO的SFSafariViewController中打開一個鏈接

[英]Logging in SFAuthenticationSession then opening a link in SFSafariViewController that does SSO

我正在使用AppAuth-iOS進行AD B2C登錄,AppAuth-iOS使用SFAuthenticationSession在iOS 11+上進行身份驗證請求。 我假設當我調用SFSafariViewController來打開一個通過B2C執行SSO的Web應用程序的鏈接時,它將自動向其中的 ...

使用 SFSafariViewController 代替 ASWebAuthenticationSession/SFAuthenticationSession 進行 OAuth

[英]Using SFSafariViewController instead of ASWebAuthenticationSession/SFAuthenticationSession for OAuth

我們的用戶體驗團隊不喜歡每次打開登錄頁面時的同意彈出窗口。 此外,我們希望自定義使用ASWebAuthenticationSession/SFAuthenticationSession實現 OAuth 時顯示的瀏覽器窗口的ASWebAuthenticationSession/SFAuthentica ...

SFAuthenticationSession 如何在 Safari 中存儲會話相關的 cookie

[英]How does SFAuthenticationSession store session related cookies in Safari

tl; 博士閱讀最后一段。 我正在使用 AppAuth ( https://github.com/openid/AppAuth-iOS ) 庫來處理基於 OpenID 的用戶身份驗證,我想通過我的應用程序為其提供 SSO 體驗。 我的應用程序的部署目標是 iOS 11,這意味着 AppAuth ...

SFAuthenticationSession外觀

[英]SFAuthenticationSession appearance

如何在使用SFAuthenticationSession時顯示的SafariVC上更改tintColor和barTintColor? 我試圖更改UINavigationBar和UIToolBar以及UIBarButtonItem的外觀,但是它不尊重它們。 謝謝 ...

為什么SFAuthenticationSession同意警報顯示Xcode項目名稱而不是App名稱?

[英]Why does SFAuthenticationSession consent alert show Xcode project name instead of App name?

我正在使用SFAuthenticationSession通過OAuth2進行身份驗證。 用戶必須同意的同意將以下消息顯示為警報: “[Xcode-Project-Name]”想要使用“[Server-URL]”登錄。 這允許應用和網站共享有關您的信息。 為什么不提及應用 ...

為什么SFAuthenticationSession每次都提示同意?

[英]Why does SFAuthenticationSession prompt for consent every time?

我將SFAuthenticationSession與SSO和OAuth 一起使用。 調用start()方法時,iOS 會彈出一個同意對話框,要求用戶允許應用使用OAuth提供程序。 每次啟動身份驗證會話時都會出現同意彈出窗口。 這是故意的嗎? 它似乎應該出現一次,就像其他同意對話框一樣。 ...

使用addUIInterruptionMonitor()清除XCUITest中的SFAuthenticationSession警報

[英]Clearing an SFAuthenticationSession alert in an XCUITest with addUIInterruptionMonitor()

有沒有人成功使用addUIInterruptionMonitor來清除在運行SFAuthenticationSession時start()生成addUIInterruptionMonitor所產生的警報? 我不能讓它在Xcode 9.1 / iOS 11.1.1(模擬器或設備)上工作。 ...

SFAuthenticationSession/ASWebAuthenticationSession 和注銷

[英]SFAuthenticationSession/ASWebAuthenticationSession and logging out

我打算將一個應用程序從舊的 OAuth 流與SFSafariViewController到新流與 iOS 11 的SFAuthenticationSession 。 登錄不是問題,轉移到新的 API 花了我幾分鍾時間來實施。 但是注銷讓我感到困惑。 如何? 我在文檔中找不到任何提及要提供注銷選項的內 ...

在 iOS 11 中使用 SFAuthenticationSession 創建 SSO

[英]Create SSO using SFAuthenticationSession in iOS 11

我正在開發兩個 iOS 應用程序,它們共享相同的鑰匙串令牌,當用戶通過在 Web 視圖中輸入用戶名和密碼登錄任一應用程序時,它們會收到這些令牌。 保存在鑰匙串中的令牌有幾個小時/天的時間限制 - 當用戶使用應用程序並請求/輸入正在瀏覽器中打開的項目時,它們會被刷新。 直到 iOS 11 發布,應用 ...

與Safari同步 - SFSafariViewController的擴展

[英]Sync with Safari - extension for SFSafariViewController

我知道SFSafariViewController有私有cookie存儲和其他實現。 但是,我知道我們可以為每個(每個本機系統)Swift類編寫一個擴展。 我需要與本機Safari共享cookie,或者通過我的應用程序打開Safari並提供一些標頭請求。 至少,如何創建用於獲取/設置coo ...

在顯示SFAuthenticationSession提示之前,有沒有辦法知道是否有可用的cookie

[英]Is there a way to know if there is a cookie available before showing the SFAuthenticationSession prompt

在iOS 11上,Apple推出了一種通過SFAuthenticationSession在Web和移動應用程序之間共享身份驗證數據的新方法。 向每個新用戶(可能從未使用過我的網站)顯示SFAuthenticationSession提示,讓他們同意然后從中獲取任何內容並要求他們登錄將是一個糟 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM