物件:AuthenticationRequest

要求主體

要求驗證期間傳送的物件。

明文 JSON 要求示例如下:

  {
    "requestId": "375dhjf9-Uydd="
  }

AuthenticationRequest 使用 PGP 或 JWE+JWS 加密及簽署。此外,這個值會採用具網路安全性的 Base64 編碼方式。這種編碼在下方稱為 Base64UrlEncode。也就是說,AuthenticationRequest 的明文 JSON 版本必須透過下列函式傳遞:

Base64UrlEncode(
  PGPSignAndEncrypt(
    '{"requestId": "375dhjf9-Uydd="}'
  )
)

Base64UrlEncode(
  JWSignAndEncrypt(
    '{"requestId": "375dhjf9-Uydd="}'
  )
)
JSON 表示法
{
  "requestId": string,
}
欄位
requestId

string

必要項目:此要求的 ID。