aboutsummaryrefslogtreecommitdiff
path: root/templates/oauthAuthorize.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-18 23:54:32 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-18 23:54:32 +0200
commitdb2f09d46ce2f3a46be1b6f6e031492966242025 (patch)
tree4e22eba650c022936a4071afd9b2b0ee417ad34b /templates/oauthAuthorize.php
parent3780cf15a59c48b3d71e8ec27e3bdacd8a119460 (diff)
downloadgrauphel-db2f09d46ce2f3a46be1b6f6e031492966242025.tar.gz
grauphel-db2f09d46ce2f3a46be1b6f6e031492966242025.zip
oauth dance works
Diffstat (limited to 'templates/oauthAuthorize.php')
-rw-r--r--templates/oauthAuthorize.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/oauthAuthorize.php b/templates/oauthAuthorize.php
new file mode 100644
index 0000000..5d4023b
--- /dev/null
+++ b/templates/oauthAuthorize.php
@@ -0,0 +1,9 @@
+<form method="post" action="<?php p($_['formaction']); ?>">
+ <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
+ <input type="hidden" value="<?php p($_['oauth_token']); ?>" name="oauth_token" />
+ <p>
+ Shall application FIXME get full access to the notes?
+ </p>
+ <button type="submit" name="auth" value="ok">Yes, authorize</button>
+ <button type="submit" name="auth" value="cancel">No, decline</button>
+</form>