Skip to content

Commit

Permalink
Add FIDO2PolicyApi to client (#209)
Browse files Browse the repository at this point in the history
* add FIDO2PolicyApi to client

* changelogs
  • Loading branch information
patrickcping authored Jul 2, 2023
1 parent 0a2839f commit f7f3633
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion mfa/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions mfa/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ type APIClient struct {

FIDOPolicyApi *FIDOPolicyApiService

FIDO2PolicyApi *FIDO2PolicyApiService

MFASettingsApi *MFASettingsApiService

UserMFADevicesApi *UserMFADevicesApiService
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f7f3633

Please sign in to comment.