18.13. 認証フェデレーションロボットトークン
ロボットアイデンティティーフェデレーションメカニズムを使用して、期限切れのロボットトークンを返します。
oauth2/federation/robot/token の取得
認可: oauth2_implicit (robot:auth)
レスポンス
| HTTP コード | 説明 | スキーマ |
|---|---|---|
| 200 | 認証とトークン生成が成功しました | { "token": "string" } |
| 401 | Unauthorized: 認証が欠落しているか無効です | { "error": "string" } |
リクエストボディー
| 型 | 名前 | 説明 | スキーマ |
|---|---|---|---|
| body |
auth_result | ロボットのアイデンティティーに関する情報を含む認証プロセスの結果。 | { "missing": "boolean", "error_message": "string", "context": { "robot": "RobotObject" } } |
コマンドの例
$ curl -X GET "https://quay-server.example.com/oauth2/federation/robot/token" \
-H "Authorization: Bearer <your_access_token>"