Skip to content

Commit d5fe901

Browse files
committed
Merge branch '2.4'
2 parents 8735384 + 1c927a6 commit d5fe901

File tree

5 files changed

+457
-65
lines changed

5 files changed

+457
-65
lines changed

components/dom_crawler.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,14 @@ explicitly.
106106

107107
Consider the XML below:
108108

109+
.. code-block:: xml
110+
109111
<?xml version="1.0" encoding="UTF-8"?>
110112
<entry
111-
xmlns="http://www.w3.org/2005/Atom"
112-
xmlns:media="http://search.yahoo.com/mrss/"
113-
xmlns:yt="http://gdata.youtube.com/schemas/2007">
113+
xmlns="http://www.w3.org/2005/Atom"
114+
xmlns:media="http://search.yahoo.com/mrss/"
115+
xmlns:yt="http://gdata.youtube.com/schemas/2007"
116+
>
114117
<id>tag:youtube.com,2008:video:kgZRZmEc9j4</id>
115118
<yt:accessControl action="comment" permission="allowed"/>
116119
<yt:accessControl action="videoRespond" permission="moderated"/>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
After Symfony calls ``createToken()``, it will then call ``supportsToken()``
2+
on your class (and any other authentication listeners) to figure out who should
3+
handle the token. This is just a way to allow several authentication mechanisms
4+
to be used for the same firewall (that way, you can for instance first try
5+
to authenticate the user via a certificate or an API key and fall back to
6+
a form login).
7+
8+
Mostly, you just need to make sure that this method returns ``true`` for a
9+
token that has been created by ``createToken()``. Your logic should probably
10+
look exactly like this example.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy