Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Romain Tartière <[email protected]>
  • Loading branch information
uoe-pjackson and smortex authored Sep 23, 2024
1 parent 4aad46e commit 07b52bd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions types/oidcsettings.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Optional['Scope'] => Pattern[/^\"?[A-Za-z0-9\-\._\s]+\"?$/],
Optional['AuthRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
Optional['SSLValidateServer'] => Enum['On', 'Off'],
Optional['UserInfoRefreshInterval'] => Pattern[/^[0-9]+(\s?(logout_on_error|authenticate_on_error|502_on_error))?$/],
Optional['UserInfoRefreshInterval'] => Pattern[/^[0-9]+(\s+(logout_on_error|authenticate_on_error|502_on_error))?$/],
Optional['JWKSRefreshInterval'] => Integer,
Optional['UserInfoTokenMethod'] => Enum['authz_header', 'post_param'],
Optional['ProviderAuthRequestMethod'] => Enum['GET', 'POST', 'PAR'],
Expand Down Expand Up @@ -58,7 +58,7 @@
Optional['OAuthIntrospectionEndpointParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
Optional['OAuthIntrospectionTokenParamName'] => String,
Optional['OAuthTokenExpiryClaim'] => Pattern[/^[A-Za-z0-9\-\._]+\s?((absolute|relative)+(\s(mandatory|optional))?)?$/],
Optional['OAuthTokenIntrospectionInterval'] => Integer,
Optional['OAuthTokenIntrospectionInterval'] => Integer[-1],
Optional['OAuthSSLValidateServer'] => Enum['On', 'Off'],
Optional['OAuthVerifySharedKeys'] => String,
Optional['OAuthVerifyCertFiles'] => String,
Expand All @@ -74,7 +74,7 @@
Optional['CookieSameSite'] => Enum['On', 'Off'],
Optional['PassCookies'] => String,
Optional['StripCookies'] => String,
Optional['StateMaxNumberOfCookies'] => Pattern[/^[0-9]+(\s?(false|true))?$/],
Optional['StateMaxNumberOfCookies'] => Pattern[/^[0-9]+(\s(false|true))?$/],
Optional['SessionInactivityTimeout'] => Integer,
Optional['SessionMaxDuration'] => Integer,
Optional['SessionType'] => Pattern[/^(server-cache(:persistent)?|client-cookie(:persistent|:store_id_token|:persistent:store_id_token)?)$/],
Expand All @@ -92,7 +92,7 @@
Optional['MemCacheConnectionsTTL'] => Integer,
Optional['RedisCacheServer'] => String,
Optional['RedisCachePassword'] => String,
Optional['RedisCacheConnectTimeout'] => Pattern[/^[0-9]+\s?[0-9]*$/],
Optional['RedisCacheConnectTimeout'] => Pattern[/^[0-9]+(\s[0-9]+)?$/],
Optional['RedisCacheDatabase'] => Integer,
Optional['RedisCacheTimeout'] => Integer,
Optional['RedisCacheUsername'] => String,
Expand All @@ -114,8 +114,8 @@
Optional['StateTimeout'] => Integer,
Optional['ScrubRequestHeaders'] => Enum['On', 'Off'],
Optional['OutgoingProxy'] => String,
Optional['UnAuthAction'] => Pattern[/^(auth|pass|401|407|410)\s.*/],
Optional['UnAutzAction'] => Pattern[/^(none|headers|environment|both)(\s+(latin1|base64url|none)+)?$/],
Optional['UnAuthAction'] => Pattern[/^(auth|pass|401|407|410)(\s.*)?$/],
Optional['UnAutzAction'] => Pattern[/^(401|403|302|auth)(\s.*)?$/],
Optional['PreservePost'] => Enum['On', 'Off'],
Optional['PreservePostTemplates'] => String,
Optional['PassRefreshToken'] => Enum['On', 'Off'],
Expand All @@ -130,12 +130,12 @@
Optional['DefaultLoggedOutURL'] => String,
Optional['DPoPMode'] => String,
Optional['FilterClaimsExpr'] => String,
Optional['LogoutRequestParams'] => Pattern[/^[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+(&[A-Za-z0-9\-\._%]+=[A-Za-z0-9\-\._%]+)*$/],
Optional['LogoutRequestParams'] => Pattern[/^[^=]+=[^&]+(&[^=]+=[^&]+)*$/],
Optional['LogoutXFrameOptions'] => String,
Optional['MetricsData'] => String,
Optional['MetricsPublish'] => String,
Optional['PassAccessToken'] => Enum['On', 'Off'],
Optional['ProviderPushedAuthorizationRequestEndpoint'] => Variant[Stdlib::HTTPSUrl, Stdlib::HttpUrl],
Optional['ProviderPushedAuthorizationRequestEndpoint'] => Stdlib::HttpUrl,
Optional['ProviderSignedJwksUri'] => String,
Optional['ProviderVerifyCertFiles'] => String,
Optional['RedirectURLsAllowed'] => String,
Expand Down

0 comments on commit 07b52bd

Please sign in to comment.