ee.data.authenticateViaPopup
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह कुकी, उपयोगकर्ता की अनुमति मांगने के लिए एक पॉप-अप दिखाती है. इसे सिर्फ़ तब कॉल किया जाना चाहिए, जब ee.data.authenticate() ने पिछले समय में opt_onImmediateFailed आर्ग्युमेंट को कॉल किया हो.
अगर इसे उपयोगकर्ता की ओर से शुरू किए गए हैंडलर के बाहर कॉल किया जाता है, तो पॉप-अप ब्लॉकर इसे ब्लॉक कर सकते हैं.
इस्तेमाल | रिटर्न |
---|
ee.data.authenticateViaPopup(success, error) | |
आर्ग्यूमेंट | टाइप | विवरण |
---|
success | फ़ंक्शन, ज़रूरी नहीं है | पुष्टि हो जाने पर कॉल करने के लिए फ़ंक्शन. |
error | फ़ंक्शन, ज़रूरी नहीं है | पुष्टि न हो पाने पर, गड़बड़ी का मैसेज पास करने के लिए कॉल किया जाने वाला फ़ंक्शन. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis function triggers a popup for user authentication, but only if a previous authentication attempt failed.\u003c/p\u003e\n"],["\u003cp\u003ePopup blockers may prevent the authentication popup if not initiated by a user action.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eee.data.authenticateViaPopup()\u003c/code\u003e allows specifying success and error callback functions.\u003c/p\u003e\n"]]],[],null,["# ee.data.authenticateViaPopup\n\n\u003cbr /\u003e\n\nShows a popup asking for the user's permission. Should only be called if ee.data.authenticate() called its opt_onImmediateFailed argument in the past.\n\n\u003cbr /\u003e\n\nMay be blocked by pop-up blockers if called outside a user-initiated handler.\n\n| Usage | Returns |\n|---------------------------------------------------------|---------|\n| `ee.data.authenticateViaPopup(`*success* `, `*error*`)` | |\n\n| Argument | Type | Details |\n|-----------|--------------------|--------------------------------------------------------------------------|\n| `success` | Function, optional | The function to call if authentication succeeds. |\n| `error` | Function, optional | The function to call if authentication fails, passing the error message. |"]]