RFC 7592: OAuth 2.0 動的クライアント登録管理
RFC 7592 は、動的に登録されたクライアントの設定を読み取り・更新・削除するためのプロトコルを定義した仕様です。
第1部: 概要編
クライアント登録管理とは?
RFC 7591(動的クライアント登録)で登録されたクライアントを、その後管理するための仕様です。
RFC 7591: 登録(Create)
RFC 7592: 管理(Read / Update / Delete)
┌───────────────────────────────────────────────── ─────────┐
│ クライアントライフサイクル │
├──────────────────────────────────────────────────────────┤
│ │
│ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │
│ │ Create │ ─► │ Read │ ─► │ Update │ ─► │ Delete │ │
│ │(7591) │ │(7592) │ │(7592) │ │(7592) │ │
│ └────────┘ └────────┘ └────────┘ └────────┘ │
│ │
└──────────────────────────────────────────────────────────┘
Registration Access Token
クライアント登録時に発行される特別なトークンで、そのクライアントの設定を管理するために使用します。
登録時:
POST /register
→ client_id, client_secret, registration_access_token, registration_client_uri
管理時:
GET/PUT/DELETE {registration_client_uri}
Authorization: Bearer {registration_access_token}
操作一覧
| 操作 | HTTP メソッド | 説明 |
|---|---|---|
| 読み取り | GET | クライアント設定の取得 |
| 更新 | PUT | クライアント設定の更新 |
| 削除 | DELETE | クライアントの削除 |
第2部: 詳細編
クライアント設定の読み取り(GET)
登録済みクライアントの現在の設定を取得します。