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

Commit7867615

Browse files
committed
Merge pull requestsymfony#3357 from symfony/security-2914-additions
New Security Authentication Additions
2 parentsddaf1a2 +6da1df6 commit7867615

File tree

4 files changed

+451
-62
lines changed

4 files changed

+451
-62
lines changed
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