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

Commit440fe6f

Browse files
committed
revamping Guard article
1 parentbfce91b commit440fe6f

File tree

5 files changed

+580
-493
lines changed

5 files changed

+580
-493
lines changed

‎cookbook/security/api_key_authentication.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to Authenticate Users with API Keys
55
=======================================
66

7+
..tip::
8+
9+
Check out:doc:`/cookbook/security/guard-authentication` for a simpler and more
10+
flexible way to accomplish custom authentication tasks like this.
11+
712
Nowadays, it's quite usual to authenticate the user via an API key (when developing
813
a web service for instance). The API key is provided for every request and is
914
passed as a query string parameter or via an HTTP header.

‎cookbook/security/custom_authentication_provider.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ How to Create a custom Authentication Provider
1010
you through that process. But depending on your needs, you may be able
1111
to solve your problem in a simpler, or via a community bundle:
1212

13+
*:doc:`/cookbook/security/guard-authentication`
1314
*:doc:`/cookbook/security/custom_password_authenticator`
1415
*:doc:`/cookbook/security/api_key_authentication`
1516
* To authenticate via OAuth using a third-party service such as Google, Facebook

‎cookbook/security/custom_password_authenticator.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to Create a Custom Form Password Authenticator
55
==================================================
66

7+
..tip::
8+
9+
Check out:doc:`/cookbook/security/guard-authentication` for a simpler and more
10+
flexible way to accomplish custom authentication tasks like this.
11+
712
Imagine you want to allow access to your website only between 2pm and 4pm
813
UTC. Before Symfony 2.4, you had to create a custom token, factory, listener
914
and provider. In this entry, you'll learn how to do this for a login form

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp