Commit c8d60a16721aec3acb97e7feaa068f45bf1ee4e9
1 parent
2beedadc
Exists in
master
and in
2 other branches
Started the development of remote user strategy
Showing
1 changed file
with
18 additions
and
0 deletions
Show diff stats
lib/omniauth/strategies/remote_user.rb
... | ... | @@ -0,0 +1,18 @@ |
1 | +module OmniAuth | |
2 | + module Stratagies | |
3 | + class RemoteUser | |
4 | + include OmniAuth::Strategy | |
5 | + | |
6 | + option :fields, [:name, :email] | |
7 | + option :uid_field, :name | |
8 | + | |
9 | + def request_phase | |
10 | + | |
11 | + end | |
12 | + | |
13 | + def callback_phase | |
14 | + | |
15 | + end | |
16 | + end | |
17 | + end | |
18 | +end | ... | ... |