Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b587099

Browse filesBrowse files
bug #50453 [SecurityBundle] add missing xsd definition for OIDC (aegypius)
This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [SecurityBundle] add missing xsd definition for OIDC | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a Follow-up of #50432 I hope I didn't broke anything this PR is far out of my comfort zone ! Commits ------- bff0601 [SecurityBundle] add missing xsd definition for OIDC
2 parents cf78f12 + bff0601 commit b587099
Copy full SHA for b587099

File tree

1 file changed

+32
-0
lines changed
Filter options

1 file changed

+32
-0
lines changed

‎src/Symfony/Bundle/SecurityBundle/Resources/config/schema/security-1.0.xsd

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Resources/config/schema/security-1.0.xsd
+32Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
<xsd:complexType name="access_token">
310310
<xsd:choice minOccurs="0" maxOccurs="unbounded">
311311
<xsd:element name="token-extractor" type="xsd:string" />
312+
<xsd:element name="token-handler" type="oidc_token_handler" />
312313
</xsd:choice>
313314
<xsd:attribute name="token-handler" type="xsd:string" />
314315
<xsd:attribute name="realm" type="xsd:string" />
@@ -317,6 +318,37 @@
317318
<xsd:attribute name="provider" type="xsd:string" />
318319
</xsd:complexType>
319320

321+
<xsd:complexType name="oidc_token_handler">
322+
<xsd:sequence>
323+
<xsd:choice minOccurs="0" maxOccurs="1">
324+
<xsd:element name="oidc-user-info" type="oidc_user_info"></xsd:element>
325+
<xsd:element name="oidc" type="oidc"></xsd:element>
326+
</xsd:choice>
327+
</xsd:sequence>
328+
<xsd:attribute name="oidc-user-info" type="xsd:anyURI"></xsd:attribute>
329+
</xsd:complexType>
330+
331+
<xsd:complexType name="oidc_user_info">
332+
<xsd:attribute name="base-uri" type="xsd:anyURI" use="required" />
333+
<xsd:attribute name="claim" type="xsd:string" />
334+
<xsd:attribute name="client" type="xsd:string" />
335+
</xsd:complexType>
336+
337+
<xsd:complexType name="oidc">
338+
<xsd:sequence>
339+
<xsd:choice minOccurs="1" maxOccurs="1">
340+
<xsd:element name="signature" type="oidc_signature" />
341+
</xsd:choice>
342+
</xsd:sequence>
343+
<xsd:attribute name="claim" type="xsd:string" />
344+
<xsd:attribute name="audience" type="xsd:string" />
345+
</xsd:complexType>
346+
347+
<xsd:complexType name="oidc_signature">
348+
<xsd:attribute name="algorithm" type="xsd:string" use="required" />
349+
<xsd:attribute name="key" type="xsd:string" use="required" />
350+
</xsd:complexType>
351+
320352
<xsd:complexType name="login_throttling">
321353
<xsd:attribute name="limiter" type="xsd:string" />
322354
<xsd:attribute name="max-attempts" type="xsd:integer" />

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.