GET /auth/login

アクティブな認証スキームを取得します。

Response

Status Code Reason Response
200 成功 下記例を参照

現在のバージョンでは、2種類のレスポンスを返します。

アクティブな認証スキームがない場合

{}

認証情報ベースの場合

{
  "type": "credentials",
  "prompts": [
    {
      "id": "username",
      "type": "text",
      "label": "Username"
    },
    {
      "id": "password",
      "type": "password",
      "label": "Password"
    }
  ]
}

prompts フィールドは トークンの発行 で どのフィールドが必須かを示します。