From c8d60a16721aec3acb97e7feaa068f45bf1ee4e9 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Fri, 24 Oct 2014 12:23:10 -0200 Subject: [PATCH] Started the development of remote user strategy --- lib/omniauth/strategies/remote_user.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) diff --git a/lib/omniauth/strategies/remote_user.rb b/lib/omniauth/strategies/remote_user.rb index e69de29..2991470 100644 --- a/lib/omniauth/strategies/remote_user.rb +++ b/lib/omniauth/strategies/remote_user.rb @@ -0,0 +1,18 @@ +module OmniAuth + module Stratagies + class RemoteUser + include OmniAuth::Strategy + + option :fields, [:name, :email] + option :uid_field, :name + + def request_phase + + end + + def callback_phase + + end + end + end +end -- libgit2 0.21.2