From 4cf887bd8e9c18f8f0f58a4da652cb73fbf5a87f Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Sun, 2 Jul 2023 18:37:49 +0100 Subject: [PATCH 1/2] add FIDO2PolicyApi to client --- mfa/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mfa/client.go b/mfa/client.go index 963d1d37..8b4e8a01 100644 --- a/mfa/client.go +++ b/mfa/client.go @@ -53,6 +53,8 @@ type APIClient struct { FIDOPolicyApi *FIDOPolicyApiService + FIDO2PolicyApi *FIDO2PolicyApiService + MFASettingsApi *MFASettingsApiService UserMFADevicesApi *UserMFADevicesApiService @@ -81,6 +83,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.EnableUsersMFAApi = (*EnableUsersMFAApiService)(&c.common) c.FIDODeviceApi = (*FIDODeviceApiService)(&c.common) c.FIDOPolicyApi = (*FIDOPolicyApiService)(&c.common) + c.FIDO2PolicyApi = (*FIDO2PolicyApiService)(&c.common) c.MFASettingsApi = (*MFASettingsApiService)(&c.common) c.UserMFADevicesApi = (*UserMFADevicesApiService)(&c.common) c.UserMFAPairingKeysApi = (*UserMFAPairingKeysApiService)(&c.common) From 2d7c844308aa900c424ad3b4ddfa5b6cde30f59e Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Sun, 2 Jul 2023 18:39:08 +0100 Subject: [PATCH 2/2] changelogs --- CHANGELOG.md | 2 +- mfa/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab9e09f1..bf782f1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ * **Breaking change** Migrated `CreateMFAPushCredentialRequest` and `UpdateMFAPushCredentialRequest` to `MFAPushCredentialRequest`. [#201](https://github.com/patrickcping/pingone-go-sdk-v2/pull/201) * **Breaking change** Migrated `EntityArrayEmbeddedPushCredentialsInner` to `MFAPushCredentialResponse`. [#201](https://github.com/patrickcping/pingone-go-sdk-v2/pull/201) * **Note** Deprecated old FIDO policy API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) - * **Feature** Support for upgraded FIDO2 policies API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) + * **Feature** Support for upgraded FIDO2 policies API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202), [#209](https://github.com/patrickcping/pingone-go-sdk-v2/pull/209) * **Enhancement** Add support for FIDO2 policies API in MFA Device Policies. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) * **Enhancement** Add optional attribute `PairingDisabled` to each MFA Device Policy device type. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202), [#204](https://github.com/patrickcping/pingone-go-sdk-v2/pull/204) * **Enhancement** Add parameters `protocol`, `baseDomain` and `baseHostname` to server configuration. [#205](https://github.com/patrickcping/pingone-go-sdk-v2/pull/205) diff --git a/mfa/CHANGELOG.md b/mfa/CHANGELOG.md index 3ad1267f..49ac2e40 100644 --- a/mfa/CHANGELOG.md +++ b/mfa/CHANGELOG.md @@ -4,7 +4,7 @@ * **Breaking change** Migrated `CreateMFAPushCredentialRequest` and `UpdateMFAPushCredentialRequest` to `MFAPushCredentialRequest`. [#201](https://github.com/patrickcping/pingone-go-sdk-v2/pull/201) * **Breaking change** Migrated `EntityArrayEmbeddedPushCredentialsInner` to `MFAPushCredentialResponse`. [#201](https://github.com/patrickcping/pingone-go-sdk-v2/pull/201) * **Note** Deprecated old FIDO policy API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) -* **Feature** Support for upgraded FIDO2 policies API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) +* **Feature** Support for upgraded FIDO2 policies API. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202), [#209](https://github.com/patrickcping/pingone-go-sdk-v2/pull/209) * **Enhancement** Add support for FIDO2 policies API in MFA Device Policies. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202) * **Enhancement** Add optional attribute `PairingDisabled` to each MFA Device Policy device type. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202), [#204](https://github.com/patrickcping/pingone-go-sdk-v2/pull/204) * **Enhancement** Add parameters `protocol`, `baseDomain` and `baseHostname` to server configuration. [#205](https://github.com/patrickcping/pingone-go-sdk-v2/pull/205)