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

# 인증

> X API는 엄청난 양의 데이터를 처리합니다. 이 데이터를 개발자와 사용자 모두를 위해 보호하는 방법이 바로 인증입니다.

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는 엄청난 양의 데이터를 처리하며, 인증은 개발자와 사용자 모두를 위해 그 데이터를 보호합니다. 아래 나열된 여러 인증 방법 중에서 선택할 수 있습니다.

대부분의 개발자는 인증의 복잡성을 직접 처리할 필요가 없습니다 — 클라이언트 라이브러리가 자동으로 처리합니다.

사용 가능한 클라이언트 라이브러리 목록은 [도구 및 라이브러리](/resources/tools-and-libraries) 페이지에서 확인할 수 있습니다.

## 인증 방법

<CardGroup cols={2}>
  <Card title="OAuth 1.0a User Context" href="/resources/fundamentals/authentication/oauth-1-0a/api-key-and-secret">
    OAuth 1.0a를 통해 승인된 X 개발자 앱이 비공개 계정 정보에 액세스하거나 X 계정을 대신하여 X 작업을 수행할 수 있습니다.

    <br />

    [**자세히 알아보기**](/resources/fundamentals/authentication/oauth-1-0a/api-key-and-secret)
  </Card>

  <Card title="App only" href="/resources/fundamentals/authentication/oauth-2-0/overview">
    App only Access Token을 통해 X 개발자 앱이 X에서 공개적으로 사용 가능한 정보에 액세스할 수 있습니다.

    <br />

    [**자세히 알아보기**](/resources/fundamentals/authentication/oauth-2-0/overview)
  </Card>

  <Card title="Basic authentication" href="/resources/fundamentals/authentication/basic-auth">
    X의 많은 엔터프라이즈 API는 HTTP Basic Authentication 사용을 요구합니다.

    <br />

    [**자세히 알아보기**](/resources/fundamentals/authentication/basic-auth)
  </Card>

  <Card title="OAuth 2.0 Authorization Code Flow with PKCE" href="/resources/fundamentals/authentication/oauth-2-0/authorization-code">
    OAuth 2.0 User Context를 사용하면 애플리케이션 스코프에 대한 더 큰 제어와 여러 디바이스에 걸친 인증 흐름으로 다른 계정을 대신하여 인증할 수 있습니다.

    <br />

    [**자세히 알아보기**](/resources/fundamentals/authentication/oauth-2-0/authorization-code)
  </Card>
</CardGroup>

<Note>
  **참고:**
  [Developer Console](/resources/fundamentals/developer-portal)의 [X 개발자 앱](/resources/fundamentals/developer-apps) 섹션에서 앱의 API Key, App-only Access Token, 개인 Access Token 및 Access Token Secret을 얻을 수 있습니다.

  **다른 사용자를 대신하여 요청을 보내려면** [3-legged OAuth flow](https://developer.x.com/resources/fundamentals/authentication/obtaining-user-access-tokens)를 사용해 해당 사용자에 대한 별도의 Access Token 세트를 생성한 다음, 해당 사용자의 토큰을 OAuth 1.0a User Context 또는 OAuth 2.0 user context 요청과 함께 전달하세요.
</Note>

## 추가 리소스

<CardGroup cols={2}>
  <Card title="가이드" href="/resources/fundamentals/authentication/guides">
    통합 가이드를 사용해 토큰을 생성하고 요청을 인증하는 방법을 알아보세요.
  </Card>

  <Card title="API 레퍼런스" href="/resources/fundamentals/authentication/api-reference">
    인증 엔드포인트에 대한 레퍼런스 가이드를 검토하세요.
  </Card>

  <Card title="모범 사례" href="/resources/fundamentals/authentication/guides/authentication-best-practices">
    자신을 보호하고 키와 토큰을 저장하는 모범 사례를 확실히 이해하세요.
  </Card>

  <Card title="FAQ" href="/resources/fundamentals/authentication/faq">
    질문이 있으신가요? FAQ를 확인하세요.
  </Card>
</CardGroup>
