apricot:usage:ja:middleware
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| apricot:usage:ja:middleware [2020/08/24 12:25] – [CSRF対策] y2sunlight | apricot:usage:ja:middleware [2020/09/03 13:46] (現在) – [Apricot ミドルウェア] y2sunlight | ||
|---|---|---|---|
| 行 15: | 行 15: | ||
| * Apricot ミドルウェア | * Apricot ミドルウェア | ||
| * [[apricot: | * [[apricot: | ||
| + | * [[apricot: | ||
| * [[apricot: | * [[apricot: | ||
| + | * [[apricot: | ||
| * [[apricot: | * [[apricot: | ||
| 行 295: | 行 297: | ||
| </ | </ | ||
| - | '' | + | '' |
| ^メソッド^機能^ | ^メソッド^機能^ | ||
| - | |static\\ | + | |generate()|セッション内のCSRFトークンが未生成の場合、それを生成してセッションに格納します。| |
| - | |static\\ | + | |verify(): |
| - | フォーム内にCSRFトークンを入力変数として埋め込む方法については、「[[apricot: | + | フォーム内にCSRFトークンを入力変数として埋め込む方法については、「[[apricot: |
| アプリケーション設定( [[apricot: | アプリケーション設定( [[apricot: | ||
apricot/usage/ja/middleware.1598239559.txt.gz · 最終更新: by y2sunlight
