Skip to content

Commit

Permalink
Support upgraded FIDO2 policies (#202)
Browse files Browse the repository at this point in the history
* Support upgraded FIDO2 policies

* changelogs
  • Loading branch information
patrickcping authored Jun 21, 2023
1 parent ee8b8f7 commit fdba733
Show file tree
Hide file tree
Showing 49 changed files with 6,335 additions and 43 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.13.0](./mfa/CHANGELOG.md)
* **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)
* **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 attributes for `pairingDisabled` methods in MFA Device Policies. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202)

# Release (2023-06-19)

Expand Down
1 change: 1 addition & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y=
golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
golang.org/x/exp/typeparams v0.0.0-20221002003631-540bb7301a08/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4=
Expand Down
30 changes: 30 additions & 0 deletions mfa/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ api/openapi.yaml
api_applications_application_mfa_push_credentials.go
api_device_authentication_policy.go
api_enable_users_mfa.go
api_fido2_policy.go
api_fido_device.go
api_fido_policy.go
api_mfa_settings.go
Expand All @@ -14,6 +15,7 @@ docs/DeviceAuthenticationPolicy.md
docs/DeviceAuthenticationPolicyApi.md
docs/DeviceAuthenticationPolicyAuthentication.md
docs/DeviceAuthenticationPolicyFIDODevice.md
docs/DeviceAuthenticationPolicyFido2.md
docs/DeviceAuthenticationPolicyMobile.md
docs/DeviceAuthenticationPolicyMobileApplicationsInner.md
docs/DeviceAuthenticationPolicyMobileApplicationsInnerAutoEnrollment.md
Expand All @@ -38,6 +40,11 @@ docs/DeviceAuthenticationPolicyTotpOtp.md
docs/EnableUsersMFAApi.md
docs/EntityArray.md
docs/EntityArrayEmbedded.md
docs/EnumFIDO2PolicyAttestationRequirements.md
docs/EnumFIDO2PolicyAuthenticatorAttachment.md
docs/EnumFIDO2PolicyDiscoverableCredentials.md
docs/EnumFIDO2PolicyMDSAuthenticatorOption.md
docs/EnumFIDO2PolicyUserVerificationOption.md
docs/EnumFIDOAttestationRequirements.md
docs/EnumFIDOResidentKeyRequirement.md
docs/EnumMFADevicePolicyMobileExtraVerification.md
Expand All @@ -49,6 +56,15 @@ docs/EnumMFASettingsPairingKeyFormat.md
docs/EnumTimeUnit.md
docs/EnumTimeUnitPairingKeyLifetime.md
docs/EnumTimeUnitPushTimeout.md
docs/FIDO2Policy.md
docs/FIDO2PolicyApi.md
docs/FIDO2PolicyBackupEligibility.md
docs/FIDO2PolicyMdsAuthenticatorsRequirements.md
docs/FIDO2PolicyMdsAuthenticatorsRequirementsAllowedAuthenticatorsInner.md
docs/FIDO2PolicyUserDisplayNameAttributes.md
docs/FIDO2PolicyUserDisplayNameAttributesAttributesInner.md
docs/FIDO2PolicyUserDisplayNameAttributesAttributesInnerSubAttributesInner.md
docs/FIDO2PolicyUserVerification.md
docs/FIDODeviceApi.md
docs/FIDOPolicy.md
docs/FIDOPolicyAllowedAuthenticatorsInner.md
Expand Down Expand Up @@ -81,6 +97,7 @@ go.mod
go.sum
model_device_authentication_policy.go
model_device_authentication_policy_authentication.go
model_device_authentication_policy_fido2.go
model_device_authentication_policy_fido_device.go
model_device_authentication_policy_mobile.go
model_device_authentication_policy_mobile_applications_inner.go
Expand All @@ -105,6 +122,11 @@ model_device_authentication_policy_totp.go
model_device_authentication_policy_totp_otp.go
model_entity_array.go
model_entity_array__embedded.go
model_enum_fido2_policy_attestation_requirements.go
model_enum_fido2_policy_authenticator_attachment.go
model_enum_fido2_policy_discoverable_credentials.go
model_enum_fido2_policy_mds_authenticator_option.go
model_enum_fido2_policy_user_verification_option.go
model_enum_fido_attestation_requirements.go
model_enum_fido_resident_key_requirement.go
model_enum_mfa_device_policy_mobile_extra_verification.go
Expand All @@ -116,6 +138,14 @@ model_enum_mfa_settings_pairing_key_format.go
model_enum_time_unit.go
model_enum_time_unit_pairing_key_lifetime.go
model_enum_time_unit_push_timeout.go
model_fido2_policy.go
model_fido2_policy_backup_eligibility.go
model_fido2_policy_mds_authenticators_requirements.go
model_fido2_policy_mds_authenticators_requirements_allowed_authenticators_inner.go
model_fido2_policy_user_display_name_attributes.go
model_fido2_policy_user_display_name_attributes_attributes_inner.go
model_fido2_policy_user_display_name_attributes_attributes_inner_sub_attributes_inner.go
model_fido2_policy_user_verification.go
model_fido_policy.go
model_fido_policy_allowed_authenticators_inner.go
model_mfa_push_credential.go
Expand Down
4 changes: 4 additions & 0 deletions mfa/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

* **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)
* **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 attributes for `pairingDisabled` methods in MFA Device Policies. [#202](https://github.com/patrickcping/pingone-go-sdk-v2/pull/202)

# v0.12.0 (2023-06-19)

Expand Down
19 changes: 19 additions & 0 deletions mfa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ Class | Method | HTTP request | Description
*DeviceAuthenticationPolicyApi* | [**UpdateDeviceAuthenticationPolicy**](docs/DeviceAuthenticationPolicyApi.md#updatedeviceauthenticationpolicy) | **Put** /v1/environments/{environmentID}/deviceAuthenticationPolicies/{deviceAuthenticationPolicyID} | UPDATE Device Authentication Policy
*EnableUsersMFAApi* | [**ReadUserMFAEnabled**](docs/EnableUsersMFAApi.md#readusermfaenabled) | **Get** /v1/environments/{environmentID}/users/{userID}/mfaEnabled | READ User MFA Enabled
*EnableUsersMFAApi* | [**UpdateUserMFAEnabled**](docs/EnableUsersMFAApi.md#updateusermfaenabled) | **Put** /v1/environments/{environmentID}/users/{userID}/mfaEnabled | UPDATE User MFA Enabled
*FIDO2PolicyApi* | [**CreateFido2Policy**](docs/FIDO2PolicyApi.md#createfido2policy) | **Post** /v1/environments/{environmentID}/fido2Policies | CREATE FIDO2 Policy
*FIDO2PolicyApi* | [**DeleteFido2Policy**](docs/FIDO2PolicyApi.md#deletefido2policy) | **Delete** /v1/environments/{environmentID}/fido2Policies/{fido2PolicyID} | DELETE FIDO2 Policy
*FIDO2PolicyApi* | [**ReadFido2Policies**](docs/FIDO2PolicyApi.md#readfido2policies) | **Get** /v1/environments/{environmentID}/fido2Policies | READ FIDO2 Policies
*FIDO2PolicyApi* | [**ReadOneFido2Policy**](docs/FIDO2PolicyApi.md#readonefido2policy) | **Get** /v1/environments/{environmentID}/fido2Policies/{fido2PolicyID} | READ One FIDO2 Policy
*FIDO2PolicyApi* | [**UpdateFIDO2Policy**](docs/FIDO2PolicyApi.md#updatefido2policy) | **Put** /v1/environments/{environmentID}/fido2Policies/{fido2PolicyID} | UPDATE FIDO2 Policy
*FIDODeviceApi* | [**CreateFidoDevice**](docs/FIDODeviceApi.md#createfidodevice) | **Post** /v1/environments/{environmentID}/fidoDevicesMetadata | CREATE FIDO Device
*FIDODeviceApi* | [**DeleteFidoDevice**](docs/FIDODeviceApi.md#deletefidodevice) | **Delete** /v1/environments/{environmentID}/fidoDevicesMetadata/{fidoDeviceID} | DELETE FIDO Device
*FIDODeviceApi* | [**ReadFidoDevices**](docs/FIDODeviceApi.md#readfidodevices) | **Get** /v1/environments/{environmentID}/fidoDevicesMetadata | READ All FIDO Devices
Expand Down Expand Up @@ -119,6 +124,7 @@ Class | Method | HTTP request | Description
- [DeviceAuthenticationPolicy](docs/DeviceAuthenticationPolicy.md)
- [DeviceAuthenticationPolicyAuthentication](docs/DeviceAuthenticationPolicyAuthentication.md)
- [DeviceAuthenticationPolicyFIDODevice](docs/DeviceAuthenticationPolicyFIDODevice.md)
- [DeviceAuthenticationPolicyFido2](docs/DeviceAuthenticationPolicyFido2.md)
- [DeviceAuthenticationPolicyMobile](docs/DeviceAuthenticationPolicyMobile.md)
- [DeviceAuthenticationPolicyMobileApplicationsInner](docs/DeviceAuthenticationPolicyMobileApplicationsInner.md)
- [DeviceAuthenticationPolicyMobileApplicationsInnerAutoEnrollment](docs/DeviceAuthenticationPolicyMobileApplicationsInnerAutoEnrollment.md)
Expand All @@ -142,6 +148,11 @@ Class | Method | HTTP request | Description
- [DeviceAuthenticationPolicyTotpOtp](docs/DeviceAuthenticationPolicyTotpOtp.md)
- [EntityArray](docs/EntityArray.md)
- [EntityArrayEmbedded](docs/EntityArrayEmbedded.md)
- [EnumFIDO2PolicyAttestationRequirements](docs/EnumFIDO2PolicyAttestationRequirements.md)
- [EnumFIDO2PolicyAuthenticatorAttachment](docs/EnumFIDO2PolicyAuthenticatorAttachment.md)
- [EnumFIDO2PolicyDiscoverableCredentials](docs/EnumFIDO2PolicyDiscoverableCredentials.md)
- [EnumFIDO2PolicyMDSAuthenticatorOption](docs/EnumFIDO2PolicyMDSAuthenticatorOption.md)
- [EnumFIDO2PolicyUserVerificationOption](docs/EnumFIDO2PolicyUserVerificationOption.md)
- [EnumFIDOAttestationRequirements](docs/EnumFIDOAttestationRequirements.md)
- [EnumFIDOResidentKeyRequirement](docs/EnumFIDOResidentKeyRequirement.md)
- [EnumMFADevicePolicyMobileExtraVerification](docs/EnumMFADevicePolicyMobileExtraVerification.md)
Expand All @@ -153,6 +164,14 @@ Class | Method | HTTP request | Description
- [EnumTimeUnit](docs/EnumTimeUnit.md)
- [EnumTimeUnitPairingKeyLifetime](docs/EnumTimeUnitPairingKeyLifetime.md)
- [EnumTimeUnitPushTimeout](docs/EnumTimeUnitPushTimeout.md)
- [FIDO2Policy](docs/FIDO2Policy.md)
- [FIDO2PolicyBackupEligibility](docs/FIDO2PolicyBackupEligibility.md)
- [FIDO2PolicyMdsAuthenticatorsRequirements](docs/FIDO2PolicyMdsAuthenticatorsRequirements.md)
- [FIDO2PolicyMdsAuthenticatorsRequirementsAllowedAuthenticatorsInner](docs/FIDO2PolicyMdsAuthenticatorsRequirementsAllowedAuthenticatorsInner.md)
- [FIDO2PolicyUserDisplayNameAttributes](docs/FIDO2PolicyUserDisplayNameAttributes.md)
- [FIDO2PolicyUserDisplayNameAttributesAttributesInner](docs/FIDO2PolicyUserDisplayNameAttributesAttributesInner.md)
- [FIDO2PolicyUserDisplayNameAttributesAttributesInnerSubAttributesInner](docs/FIDO2PolicyUserDisplayNameAttributesAttributesInnerSubAttributesInner.md)
- [FIDO2PolicyUserVerification](docs/FIDO2PolicyUserVerification.md)
- [FIDOPolicy](docs/FIDOPolicy.md)
- [FIDOPolicyAllowedAuthenticatorsInner](docs/FIDOPolicyAllowedAuthenticatorsInner.md)
- [MFAPushCredential](docs/MFAPushCredential.md)
Expand Down
Loading

0 comments on commit fdba733

Please sign in to comment.