> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# प्रमाणीकरण

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

X API बहुत बड़ी मात्रा में डेटा को संभालते हैं। डेवलपरों और उपयोगकर्ताओं, दोनों के लिए इस डेटा की सुरक्षा सुनिश्चित करने का तरीका प्रमाणीकरण है। प्रमाणीकरण की कुछ विधियाँ हैं, जिनमें से प्रत्येक नीचे दी गई है।

ज़्यादातर डेवलपरों को प्रमाणीकरण से जुड़ी जटिलताओं से नहीं जूझना पड़ेगा, क्योंकि client libraries इन जटिलताओं को अपने-आप संभाल लेती हैं।

आप उपलब्ध client libraries की सूची हमारे [टूल और लाइब्रेरीज़](/hi/resources/tools-and-libraries) पृष्ठ पर देख सकते हैं।

<div id="authentication-methods">
  ## प्रमाणीकरण विधियाँ
</div>

<CardGroup cols={2}>
  <Card title="OAuth 1.0a उपयोगकर्ता संदर्भ" href="/hi/resources/fundamentals/authentication/oauth-1-0a/api-key-and-secret">
    OAuth 1.0a किसी अधिकृत X डेवलपर ऐप को निजी खाते की जानकारी तक पहुँचने या किसी X खाते की ओर से X पर कोई कार्रवाई करने की अनुमति देता है।

    <br />

    [**और जानें**](/hi/resources/fundamentals/authentication/oauth-1-0a/api-key-and-secret)
  </Card>

  <Card title="केवल ऐप" href="/hi/resources/fundamentals/authentication/oauth-2-0/overview">
    App only Access Token किसी X डेवलपर ऐप को X पर सार्वजनिक रूप से उपलब्ध जानकारी तक पहुँचने की अनुमति देता है।

    <br />

    [**और जानें**](/hi/resources/fundamentals/authentication/oauth-2-0/overview)
  </Card>

  <Card title="बेसिक प्रमाणीकरण" href="/hi/resources/fundamentals/authentication/basic-auth">
    X के कई एंटरप्राइज़ API में HTTP Basic Authentication का उपयोग आवश्यक होता है।

    <br />

    [**और जानें**](/hi/resources/fundamentals/authentication/basic-auth)
  </Card>

  <Card title="PKCE के साथ OAuth 2.0 Authorization Code Flow" href="/hi/resources/fundamentals/authentication/oauth-2-0/authorization-code">
    OAuth 2.0 उपयोगकर्ता संदर्भ आपको किसी अन्य खाते की ओर से प्रमाणीकरण करने की अनुमति देता है, जिससे किसी ऐप्लिकेशन के स्कोप पर अधिक नियंत्रण और कई डिवाइसों पर ऑथराइज़ेशन फ़्लो संभव हो पाते हैं।

    <br />

    [**और जानें**](/hi/resources/fundamentals/authentication/oauth-2-0/authorization-code)
  </Card>
</CardGroup>

<Note>
  **नोट:**
  आपके ऐप की API Keys और App only Access Token, साथ ही आपका व्यक्तिगत Access Token और Access Token Secret, [X developer Apps](/hi/resources/fundamentals/developer-apps) सेक्शन से प्राप्त किए जा सकते हैं, जो [डेवलपर कंसोल](/hi/resources/fundamentals/developer-portal) में उपलब्ध है।

  **यदि आप किसी अन्य उपयोगकर्ता की ओर से अनुरोध करना चाहते हैं**, तो आपको उस उपयोगकर्ता के लिए [3-legged OAuth flow](https://developer.x.com/resources/fundamentals/authentication/obtaining-user-access-tokens) का उपयोग करके Access Tokens का एक अलग सेट जनरेट करना होगा, और उस उपयोगकर्ता के टोकन को अपने OAuth 1.0a उपयोगकर्ता संदर्भ या OAuth 2.0 उपयोगकर्ता संदर्भ अनुरोधों के साथ भेजना होगा।
</Note>

<div id="additional-resources">
  ## अतिरिक्त संसाधन
</div>

<CardGroup cols={2}>
  <Card title="मार्गदर्शिकाएँ" href="/hi/resources/fundamentals/authentication/guides">
    जानें कि हमारी एकीकरण मार्गदर्शिकाओं का उपयोग करके टोकन कैसे जनरेट करें और अनुरोधों को प्रमाणित कैसे करें।
  </Card>

  <Card title="API संदर्भ" href="/hi/resources/fundamentals/authentication/api-reference">
    हमारे प्रमाणीकरण एंडपॉइंट्स के लिए संदर्भ मार्गदर्शिकाएँ देखें।
  </Card>

  <Card title="सर्वोत्तम प्रक्रियाएँ" href="/hi/resources/fundamentals/authentication/guides/authentication-best-practices">
    अपनी सुरक्षा सुनिश्चित करें और अपनी कुंजियों और टोकनों को संग्रहीत करने की सर्वोत्तम प्रक्रियाओं को समझें।
  </Card>

  <Card title="अक्सर पूछे जाने वाले सवाल" href="/hi/resources/fundamentals/authentication/faq">
    कोई सवाल है? हमारे FAQs देखें।
  </Card>
</CardGroup>
