> ## 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 라이브러리가 이러한 작업을 자동으로 처리하기 때문입니다.

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

<div id="authentication-methods">
  ## 인증 방식
</div>

<CardGroup cols={2}>
  <Card title="OAuth 1.0a 사용자 컨텍스트" href="/ko/resources/fundamentals/authentication/oauth-1-0a/api-key-and-secret">
    OAuth 1.0a를 사용하면 승인된 X 개발자 App이 X 계정의 비공개 정보에 접근하거나, X 계정을 대신해 X에서 작업을 수행할 수 있습니다.

    <br />

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

  <Card title="App 전용" href="/ko/resources/fundamentals/authentication/oauth-2-0/overview">
    App 전용 Access Token을 사용하면 X 개발자 App이 X에서 공개적으로 제공되는 정보에 접근할 수 있습니다.

    <br />

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

  <Card title="기본 인증" href="/ko/resources/fundamentals/authentication/basic-auth">
    다수의 X 엔터프라이즈 API에서는 HTTP Basic Authentication 사용이 필요합니다.

    <br />

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

  <Card title="PKCE를 사용하는 OAuth 2.0 Authorization Code 플로우" href="/ko/resources/fundamentals/authentication/oauth-2-0/authorization-code">
    OAuth 2.0 User Context를 사용하면 애플리케이션의 스코프와 여러 기기에 걸친 인가 플로우를 더 세밀하게 제어하면서 다른 계정을 대신하여 인증할 수 있습니다.

    <br />

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

<Note>
  **참고:**
  App의 API Keys 및 App 전용 Access Token, 그리고 개인용 Access Token 및 Access Token Secret은 [개발자 콘솔](/ko/resources/fundamentals/developer-portal)의 [X developer Apps](/ko/resources/fundamentals/developer-apps) 섹션에서 확인할 수 있습니다.

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

<div id="additional-resources">
  ## 추가 자료
</div>

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

  <Card title="API 참조 문서" href="/ko/resources/fundamentals/authentication/api-reference">
    인증 엔드포인트에 대한 참조 가이드를 확인하세요.
  </Card>

  <Card title="모범 사례" href="/ko/resources/fundamentals/authentication/guides/authentication-best-practices">
    스스로를 보호하고 키와 토큰을 저장할 때 따라야 할 모범 사례를 숙지하세요.
  </Card>

  <Card title="FAQ" href="/ko/resources/fundamentals/authentication/faq">
    궁금한 점이 있나요? FAQ를 확인해 보세요.
  </Card>
</CardGroup>
