Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TuningYourCode committed Jun 11, 2024
1 parent 315cfc7 commit 6bf6ad6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/puppet/type/keycloak_realm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ def insync?(is)
newproperty(:web_authn_policy_rp_entity_name) do
desc 'webAuthnPolicyRpEntityName'
defaultto 'keycloak'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_signature_algorithms, array_matching: :all, parent: PuppetX::Keycloak::ArrayProperty) do
Expand All @@ -406,28 +407,35 @@ def insync?(is)
newproperty(:web_authn_policy_rp_id) do
desc 'webAuthnPolicyRpId'
defaultto ''
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_attestation_conveyance_preference) do
desc 'webAuthnPolicyAttestationConveyancePreference'
newvalues('NONE', 'DIRECT', 'INDIRECT', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_authenticator_attachment) do
desc 'webAuthnPolicyAuthenticatorAttachment'
newvalues('PLATFORM', 'CROSS_PLATFORM', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_require_resident_key) do
desc 'webAuthnPolicyRequireResidentKey'
newvalues(:true, :false, 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_user_verification_requirement) do
desc 'webAuthnPolicyUserVerificationRequirement'
newvalues('REQUIRED', 'PREFERRED', 'DISCOURAGED', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_create_timeout, parent: PuppetX::Keycloak::IntegerProperty) do
Expand All @@ -454,11 +462,13 @@ def insync?(is)
newproperty(:web_authn_policy_passwordless_rp_entity_name) do
desc 'webAuthnPolicyPasswordlessRpEntityName'
defaultto 'keycloak'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_rp_id) do
desc 'webAuthnPolicyPasswordlessRpId'
defaultto ''
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_signature_algorithms, array_matching: :all, parent: PuppetX::Keycloak::ArrayProperty) do
Expand All @@ -468,24 +478,30 @@ def insync?(is)

newproperty(:web_authn_policy_passwordless_attestation_conveyance_preference) do
desc 'webAuthnPolicyPasswordlessAttestationConveyancePreference'
newvalues('NONE', 'DIRECT', 'INDIRECT', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_authenticator_attachment) do
desc 'webAuthnPolicyPasswordlessAuthenticatorAttachment'
newvalues('PLATFORM', 'CROSS_PLATFORM', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_require_resident_key) do
desc 'webAuthnPolicyPasswordlessRequireResidentKey'
newvalues(:true, :false, 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_user_verification_requirement) do
desc 'webAuthnPolicyPasswordlessUserVerificationRequirement'
newvalues('REQUIRED', 'PREFERRED', 'DISCOURAGED', 'not specified')
defaultto 'not specified'
munge { |v| v.to_s }
end

newproperty(:web_authn_policy_passwordless_create_timeout, parent: PuppetX::Keycloak::IntegerProperty) do
Expand Down

0 comments on commit 6bf6ad6

Please sign in to comment.