aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/oauth/forms.py
diff options
context:
space:
mode:
authorxray7224 <jessica@megworld.co.uk>2013-07-22 17:06:00 +0100
committerxray7224 <jessica@megworld.co.uk>2013-07-22 17:06:00 +0100
commit005181b1663a05e55faa56a474cf6f5d81a255c9 (patch)
tree9367a55e29ec2d8432c7ab46acb671fff2f7e472 /mediagoblin/oauth/forms.py
parent657263abdf9b47f1598a7633c1e0039d0eb7b043 (diff)
downloadmediagoblin-005181b1663a05e55faa56a474cf6f5d81a255c9.tar.lz
mediagoblin-005181b1663a05e55faa56a474cf6f5d81a255c9.tar.xz
mediagoblin-005181b1663a05e55faa56a474cf6f5d81a255c9.zip
Renames OAuth1 code to federation
Diffstat (limited to 'mediagoblin/oauth/forms.py')
-rw-r--r--mediagoblin/oauth/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/oauth/forms.py b/mediagoblin/oauth/forms.py
new file mode 100644
index 00000000..94c7cb52
--- /dev/null
+++ b/mediagoblin/oauth/forms.py
@@ -0,0 +1,7 @@
+import wtforms
+
+class AuthorizeForm(wtforms.Form):
+ """ Form used to authorize the request token """
+
+ oauth_token = wtforms.HiddenField("oauth_token")
+ oauth_verifier = wtforms.HiddenField("oauth_verifier")