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

> ## Agent Instructions
> ### Authlete versions
> Authlete 3.0 is the current version. Unless the user says they use another version, answer for Authlete 3.0 using the 3.x documentation.
> Documentation for Authlete 2.x (pages under `/v2/` and `/ja/v2/`) is for the legacy version. Refer to it only when the user is on Authlete 2.x.
>
> ### Authlete architecture
> Authlete is a backend engine for OAuth 2.0 and OpenID Connect processing. End users and client applications do not call it directly; the service provider's authorization server and API server call Authlete's APIs. Authlete handles protocol processing and token, client, and service management, while the service provider owns the OAuth/OIDC endpoints and user authentication.
> See [Architecture](https://developers.authlete.com/get-started/introduction-to-authlete/architecture.md).
>
> ### Concepts
> If the user is new to Authlete, read these pages first:
> - [Request and Response](https://developers.authlete.com/get-started/concepts/request-and-response.md): Core API requests pass the client's request parameters as-is, and responses return `resultCode`, `action`, and `responseContent`.
> - [Action Handling](https://developers.authlete.com/get-started/concepts/action-handling.md): Branch on `action`, never on `resultCode`, and map each action to the HTTP response your server returns.
> - [Two-Step API Calls](https://developers.authlete.com/get-started/concepts/two-step-api-calls.md): Actions such as `INTERACTION` are completed with a second call (`/auth/authorization/issue` or `/auth/authorization/fail`) linked by a `ticket`.
> - [Management API Overview](https://developers.authlete.com/get-started/concepts/overview.md): The Management API configures services, manages clients, and operates issued tokens, separately from the protocol flows handled by the Core API.
> - [API Authentication](https://developers.authlete.com/get-started/concepts/authentication.md): Authlete APIs use bearer tokens: a Service Access Token (one service) or an Organization Token (the whole organization).

# セキュリティ

> 環境内のすべてのユーザーに適用される、無操作タイムアウトと絶対セッションタイムアウトの設定方法を解説します。

> [!NOTE]
>
> 本記事は、セルフマネージド環境と専用クラウド環境のみを対象としています。共有クラウド環境は Authlete が管理しており、本記事の対象外です。

「セキュリティ」ページでは、環境のセッションポリシーを設定します。環境管理者とプラットフォーム管理者のみが利用できます。

## セッション

「セッション管理」タブで、2つの独立したタイムアウトを設定します。どちらも、所属する組織に関係なく、環境内のすべてのユーザーに適用されます。

* **無操作タイムアウト**: ユーザーが自動的にサインアウトされるまでの無操作時間です。値は分単位で入力します（デフォルトは 30 分）。
* **絶対セッションタイムアウト**: 操作の有無にかかわらず、再認証が必要になるまでのセッションの最大時間です。値は時間単位で入力します（デフォルトは 24 時間）。

どちらの値も、正の数で入力します。また、絶対セッションタイムアウトを無操作タイムアウトより短くすることはできません。値を編集して、保存します。「破棄」を選択すると、最後に保存した値に戻ります。

共有クラウド環境は Authlete が管理しており、セッションタイムアウトはデフォルト値（無操作タイムアウトが 30 分、絶対セッションタイムアウトが 24 時間）に固定されています。この値は変更できません。

どちらのタイムアウトも共通の処理でセッションを終了し、関連する Console のアクセストークンも失効させます。そのため、どちらのタイマーが作動しても動作は同一です。

どちらのタイムアウトの変更も、[「監査ログ」](https://developers.authlete.com/ja/configuration-reference/environment/audit-logs.md)に記録されます。

> [!NOTE]
>
> セッションの絶対的な有効期間の上限を設定することは、[FedRAMP AC-12](https://csf.tools/reference/nist-sp-800-53/r5/ac/ac-12/) のセッション終了要件への対応に役立ちます。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.