From 2e4f35ce3abea6c50fd36f90da43a6aa9c07149a Mon Sep 17 00:00:00 2001 From: Shoei Motomura <57391802+ShoeiMotomura@users.noreply.github.com> Date: Tue, 27 Dec 2022 12:28:55 +0900 Subject: [PATCH] Add PkceRequired and PkceS256Required to Client struct --- CHANGES.ja.md | 7 +++++++ CHANGES.md | 7 +++++++ dto/client.go | 6 ++++++ 3 files changed, 20 insertions(+) diff --git a/CHANGES.ja.md b/CHANGES.ja.md index 9f4ca8a..69a01a7 100644 --- a/CHANGES.ja.md +++ b/CHANGES.ja.md @@ -1,6 +1,13 @@ 変更点 ====== +v1.1.9 (2022 年 12 月 27 日) +---------------------------- + +- `Client` 構造体 + * `PkceRequired` フィールドを追加。 + * `PkceS256Required` フィールドを追加。 + v1.1.8 (2022 年 09 月 22 日) ---------------------------- diff --git a/CHANGES.md b/CHANGES.md index 30d6e30..12bac67 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,13 @@ CHANGES ======= +v1.1.9 (2022-12-27) +------------------- + +- `Client` struct + * Added `PkceRequired` field. + * Added `PkceS256Required` field. + v1.1.8 (2022-09-22) ------------------- diff --git a/dto/client.go b/dto/client.go index df912da..74318fd 100644 --- a/dto/client.go +++ b/dto/client.go @@ -244,4 +244,10 @@ type Client struct { // The flag which indicates whether the JWE enc of encrypted request // object must match the value of the request_object_encryption_enc client metadata. RequestObjectEncryptionEncMatchRequired bool `json:"requestObjectEncryptionEncMatchRequired,omitempty"` + + // The flag which indicates whether code_challenge is required in authorization request. + PkceRequired bool `json:"pkceRequired,omitempty"` + + // The flag which indicates whether code_challenge_method=S256 is required in authorization request. + PkceS256Required bool `json:"pkceS256Required,omitempty"` }