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

# 認証

export const SignupCTA = ({children}) => {
  return <div className="flex flex-wrap items-center gap-4 p-5 rounded-lg border border-gray-200 dark:border-gray-700 my-6" style={{
    background: "linear-gradient(135deg, rgba(0, 97, 213, 0.06), rgba(0, 97, 213, 0.02))"
  }}>
      <div className="flex-1 text-sm leading-relaxed text-gray-700 dark:text-gray-300" style={{
    minWidth: "280px"
  }}>
        {children}
      </div>
      <div className="flex flex-col items-center gap-2">
        <a href="https://account.box.com/signup/developer#ty9l3" className="signup-cta-button inline-flex items-center whitespace-nowrap px-5 py-2 text-sm font-semibold text-white no-underline">
          {translate("Get started for free")}
        </a>
        <a href="https://account.box.com/developers/console" className="signup-cta-login text-xs text-gray-500 dark:text-gray-400 no-underline whitespace-nowrap">
          {translate("Already have an account? Log in")}
        </a>
      </div>
    </div>;
};

Box APIを使用する認証では、ユーザーの本人確認にアクセストークンを使用します。アクセストークンの取得方法は、ユーザーの承認に使用した方法によって異なります。アプリケーションで利用できる承認の種類は、ユースケースのほか、開発者コンソールで作成されたアプリケーションの種類に応じて異なります。

<Frame border width="600" center>
  <img src="https://mintcdn.com/box/_IAqcLWo8orUxXr1/images/guides/applications/app-types/authentication-methods.png?fit=max&auto=format&n=_IAqcLWo8orUxXr1&q=85&s=d984d4bcfecbcc0ece84dc19dc489532" alt="認証方法" width="503" height="333" data-path="images/guides/applications/app-types/authentication-methods.png" />
</Frame>

<Card href={localizeLink("/guides/authentication/select")} arrow title="承認の種類の選択方法を確認する" />

<SignupCTA>
  無料のDeveloperアカウントを作成すると、開発者コンソールにアクセスして、アプリの作成、認証の構成、アクセストークンの生成を行うことができます。
</SignupCTA>

## 認証のアクセストークン

各APIエンドポイントには、APIコールを実行するために有効でアクティブな**アクセストークン**が必要です。アクセストークンは、APIエンドポイントに対して認証済みBoxユーザーを識別する一意の文字列です。

```sh theme={null}
curl https://api.box.com/2.0/users/me \
    -H "authorization: Bearer EGmDmRVfhfHsqesn5yVYHAqUkD0dyDfk"
```

<Card href={localizeLink("/guides/authentication/tokens")} arrow title="アクセストークンの詳細を確認する" />

[oauth2]: /guides/authentication/oauth2

[jwt]: /guides/authentication/jwt

[devtoken]: /guides/authentication/tokens/developer-tokens

[platform-app]: /guides/applications/platform-apps/index

[ccg]: /guides/authentication/client-credentials
