|
|
|
@ -1056,6 +1056,8 @@ public sealed partial class OpenIddictClientWebIntegrationConfiguration |
|
|
|
UserInfoEndpoint = CreateUri($""{{ environment.configuration.user_info_endpoint | string.replace '\'' '""' }}"", UriKind.Absolute), |
|
|
|
{{~ end ~}} |
|
|
|
|
|
|
|
AuthorizationResponseIssParameterSupported = {{ environment.configuration.authorization_response_iss_parameter_supported ?? ""null"" }}, |
|
|
|
|
|
|
|
CodeChallengeMethodsSupported = |
|
|
|
{ |
|
|
|
{{~ for method in environment.configuration.code_challenge_methods_supported ~}} |
|
|
|
@ -1342,6 +1344,8 @@ public sealed partial class OpenIddictClientWebIntegrationConfiguration |
|
|
|
TokenEndpoint = (string?) configuration.Attribute("TokenEndpoint"), |
|
|
|
UserInfoEndpoint = (string?) configuration.Attribute("UserInfoEndpoint"), |
|
|
|
|
|
|
|
AuthorizationResponseIssParameterSupported = (bool?) configuration.Attribute("AuthorizationResponseIssParameterSupported"), |
|
|
|
|
|
|
|
CodeChallengeMethodsSupported = configuration.Elements("CodeChallengeMethod").ToList() switch |
|
|
|
{ |
|
|
|
{ Count: > 0 } methods => methods.Select(static type => (string?) type.Attribute("Value")).ToList(), |
|
|
|
|