Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitd5fe901

Browse files
committed
Merge branch '2.4'
2 parents8735384 +1c927a6 commitd5fe901

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:accessControlaction="comment"permission="allowed"/>
116119
<yt:accessControlaction="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 yourclass (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 canfor instance firsttry
5+
to authenticate the user via a certificateor an API keyand 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)

[8]ページ先頭

©2009-2025 Movatter.jp