Warden 㯠Rack ã¢ããªã±ã¼ã·ã§ã³ã§èªè¨¼ãå®è£ ããã¨ãã®å®çªã§ããã ãã©ããããã§è¦ã¤ããã®ã¯ OmniAuth ã¨çµã¿åããããµã³ãã«ãæ¯è¼çå¤ãã Warden ã使ã£ããµã³ãã«ã§ãèªåã«ã¨ã£ã¦ããããããã®ãè¦ã¤ãããªãã£ãã®ã§ã試ãã«æ¸ãã¦ã¿ã¾ãããSinatra 㨠Warden ã®ãµã³ãã«ã§ããã³ã¼ããåç´ã«ãããããã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ã㯠test ã§åºå®ãã¦ãã¾ãã # coding: utf-8 require "sinatra" require "warden" # Sinatra ã®ã»ãã·ã§ã³ãæå¹ã«ãã enable :sessions # ã¦ã¼ã¶ã¼ ID ããã¨ã«ã¦ã¼ã¶ã¼æ å ±ãåå¾ãã # ä»åã¯åãªã Hash ã ãã©ãå®éã®éçºã§ã¯ãã¼ã¿ãã¼ã¹ããåå¾ããã¯ã Warden::Manager.serialize_from_session do |i
{{#tags}}- {{label}}
{{/tags}}