Skip to content

Commit fc53f46

Browse files
Adding example of twitter authsource
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1499 44740490-163a-0410-bde0-09ae8108e29a
1 parent dbd9cea commit fc53f46

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

config-templates/authsources.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@
7474
'api_key' => 'xxxxxxxxxxxxxxxx',
7575
'secret' => 'xxxxxxxxxxxxxxxx',
7676
),
77+
78+
/* Twitter OAuth Authentication API.
79+
* Register your application to get an API key here:
80+
* http://twitter.com/oauth_clients
81+
*/
82+
'twitter' => array(
83+
'authtwitter:Twitter',
84+
'key' => 'xxxxxxxxxxxxxxxx',
85+
'secret' => 'xxxxxxxxxxxxxxxx',
86+
),
7787

7888
/* Example of a LDAP authentication source. */
7989
'example-ldap' => array(

0 commit comments

Comments
 (0)