From fc53f4636eed551bf0ff71e40253bbfec9979e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 8 May 2009 17:52:32 +0000 Subject: [PATCH] Adding example of twitter authsource git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1499 44740490-163a-0410-bde0-09ae8108e29a --- config-templates/authsources.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config-templates/authsources.php b/config-templates/authsources.php index a8187f637..e0b7ff473 100644 --- a/config-templates/authsources.php +++ b/config-templates/authsources.php @@ -74,6 +74,16 @@ $config = array( 'api_key' => 'xxxxxxxxxxxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxx', ), + + /* Twitter OAuth Authentication API. + * Register your application to get an API key here: + * http://twitter.com/oauth_clients + */ + 'twitter' => array( + 'authtwitter:Twitter', + 'key' => 'xxxxxxxxxxxxxxxx', + 'secret' => 'xxxxxxxxxxxxxxxx', + ), /* Example of a LDAP authentication source. */ 'example-ldap' => array( -- GitLab