<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>heavenshell</author_name>
  <author_url>https://blog.hatena.ne.jp/heavenshell/</author_url>
  <blog_title>Memo</blog_title>
  <blog_url>https://gene.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Flask でログインして認証したい。 公式のドキュメントには Login/Logout のサンプルが載ってる。 Blueprints and Views — Flask 1.0.2 documentation ユーザ名とパスワードが一致したらセッション変数のフラグを立てる。 これとデコレータを使った例を使ったら簡易なログインチェックはできそう。 View Decorators — Flask 1.0.2 documentation もう少し認証に特化したものが無いか探してみた。 ググると 2 つほどモジュールが見つかった。 Flask-Login's Documention has move…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgene.hatenablog.com%2Fentry%2F20110828%2F1314542222&quot; title=&quot; Flask の認証系のモジュール - Memo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-08-28 23:37:02</published>
  <title> Flask の認証系のモジュール</title>
  <type>rich</type>
  <url>https://gene.hatenablog.com/entry/20110828/1314542222</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
