> ## 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.

# リファレンス実装の活用

> Authlete が GitHub で公開しているオープンソースのリファレンス実装を活用することで、独自の認可サーバーを効率的に開発できます。これらは Authlete API と直接連携する際のサンプルとしても有用です。

<img src="https://mintcdn.com/authlete/NmFoIJ4VSX_LOgob/img/kb/ja/getting-started/implementing-an-authorization-server/reference-implementations_ja.png?fit=max&auto=format&n=NmFoIJ4VSX_LOgob&q=85&s=2193adb7ae12ebe8925dbadfb7da1631" alt="reference-implementations_ja" width="3336" height="1888" data-path="img/kb/ja/getting-started/implementing-an-authorization-server/reference-implementations_ja.png" />

*Authlete のアーキテクチャにおけるリファレンス実装の位置づけ*

Authlete はその機能のほとんどを [API として公開](/api-reference)しています。同時に、その Authlete API を用いた「リファレンス実装」を、オープンソースとして提供しています。認可サーバーを実装する際のベースとして、この「リファレンス実装」を活用することにより、開発の効率化が期待できます。「リファレンス実装」は GitHub から入手可能です。

[Authlete, Inc. · GitHub](https://github.com/authlete)

また Authlete API を直接呼び出す際にも、「リファレンス実装」のコードやドキュメントを参照し、適切な API の利用方法を知ることができます。たとえば [authlete-java-common](https://github.com/authlete/authlete-java-common)
ライブラリの [com.authlete.common.dto](https://github.com/authlete/authlete-java-common/tree/master/src/main/java/com/authlete/common/dto)
パッケージ以下にある、Authlete API からのレスポンス（\*Response）を表すクラス群の JavaDoc（参考: [AuthorizationResponse クラス](http://authlete.github.io/authlete-java-common/com/authlete/common/dto/AuthorizationResponse.html)
）には、レスポンス内容に応じて認可サーバーがどのような動作をするべきかの詳細な説明があります。

主なリファレンス実装は以下の通りです。

* Java

  * [authlete-java-common](https://github.com/authlete/authlete-java-common): Authlete Common Library for Java
  * [authlete-java-jaxrs](https://github.com/authlete/authlete-java-jaxrs): Authlete Library for JAX-RS (Java)
  * [java-oauth-server](https://github.com/authlete/java-oauth-server): Authorization Server Implementation in Java

* C#

  * [authlete-csharp](https://github.com/authlete/authlete-csharp): C# library for Authlete Web APIs
  * [参考: C# による OAuth 2.0 と OpenID Connect の実装 (Authlete)](https://qiita.com/TakahikoKawasaki/items/657ef040802f8524403a)

* PHP

  * [authlete-php](https://github.com/authlete/authlete-php): PHP library for Authlete Web APIs
  * [authlete-php-laravel](https://github.com/authlete/authlete-php-laravel): A Laravel library for OAuth 2.0 and OpenID Connect
  * [参考: Laravel による OAuth 2.0 と OpenID Connect の実装（Authlete）](https://qiita.com/TakahikoKawasaki/items/0a209409deb5934f97c0)

* Python

  * [authlete-python](https://github.com/authlete/authlete-python): Authlete Library for Python
