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 9608af3

Browse filesBrowse files
committed
bug #50442 [SecurityBundle] Update security-1.0.xsd to include missing access-token definition (aegypius)
This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [SecurityBundle] Update security-1.0.xsd to include missing access-token definition | Q | A | ------------- | --- | Branch? |6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Add missing access-token definition in the security XSD schema definition as mentioned in review #50432 (review) Commits ------- abc5e15 [SecurityBundle] Update security-1.0.xsd to include missing access-token definition
2 parents 7021964 + abc5e15 commit 9608af3
Copy full SHA for 9608af3

File tree

1 file changed

+12
-0
lines changed
Filter options

1 file changed

+12
-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
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<xsd:element name="form-login" type="form_login" minOccurs="0" maxOccurs="1" />
141141
<xsd:element name="form-login-ldap" type="form_login_ldap" minOccurs="0" maxOccurs="1" />
142142
<xsd:element name="guard" type="guard" minOccurs="0" maxOccurs="1" />
143+
<xsd:element name="access-token" type="access_token" minOccurs="0" maxOccurs="1" />
143144
<xsd:element name="http-basic" type="http_basic" minOccurs="0" maxOccurs="1" />
144145
<xsd:element name="http-basic-ldap" type="http_basic_ldap" minOccurs="0" maxOccurs="1" />
145146
<xsd:element name="json-login" type="json_login" minOccurs="0" maxOccurs="1" />
@@ -304,6 +305,17 @@
304305
<xsd:attribute name="provider" type="xsd:string" />
305306
</xsd:complexType>
306307

308+
<xsd:complexType name="access_token">
309+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
310+
<xsd:element name="token-extractor" type="xsd:string" />
311+
</xsd:choice>
312+
<xsd:attribute name="token-handler" type="xsd:string" />
313+
<xsd:attribute name="realm" type="xsd:string" />
314+
<xsd:attribute name="success-handler" type="xsd:string" />
315+
<xsd:attribute name="failure-handler" type="xsd:string" />
316+
<xsd:attribute name="provider" type="xsd:string" />
317+
</xsd:complexType>
318+
307319
<xsd:complexType name="login_throttling">
308320
<xsd:attribute name="limiter" type="xsd:string" />
309321
<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.