eauth.php
2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
return [
'class' => 'nodge\eauth\EAuth',
'popup' => true,
'cache' => false,
'cacheExpire' => 0,
'httpClient' => [
// uncomment this to use streams in safe_mode
//'useStreamsFallback' => true,
],
'services' => [
'google' => [
// register your app here: https://code.google.com/apis/console/
'class' => 'nodge\eauth\services\GoogleOAuth2Service',
'clientId' => '857343172443-th52trcqruo6pct71hmn72pud8ob9c9o.apps.googleusercontent.com',
'clientSecret' => 'PgQIYSOjEUm4lffk_o7zMhxZ',
'title' => 'Google',
],
'facebook' => [
// register your app here: https://developers.facebook.com/apps/
'class' => 'nodge\eauth\services\FacebookOAuth2Service',
'clientId' => '1453788021358149',
'clientSecret' => '97dc7b9863b482dce6c6e7618bda9738',
],
'yahoo' => [
'class' => 'nodge\eauth\services\YahooOpenIDService',
//'realm' => '*.example.org', // your domain, can be with wildcard to authenticate on subdomains.
],
'linkedin_oauth2' => [
// register your app here: https://www.linkedin.com/secure/developer
'class' => 'nodge\eauth\services\LinkedinOAuth2Service',
'clientId' => '86uay6912iwzn7',
'clientSecret' => 'IkOc8oMOlxkyNSfK',
'title' => 'LinkedIn (OAuth2)',
],
'github' => [
// register your app here: https://github.com/settings/applications
'class' => 'nodge\eauth\services\GitHubOAuth2Service',
'clientId' => '1a72fc01be1ecca28c76',
'clientSecret' => '188376ae0736133bdca9f4376a99a1cd2a6e6254',
],
'steam' => [
'class' => 'nodge\eauth\services\SteamOpenIDService',
//'realm' => '*.example.org', // your domain, can be with wildcard to authenticate on subdomains.
'apiKey' => 'ED8812C3AA509B94D4744AADBF4FDF49',
// Optional. You can get it here: https://steamcommunity.com/dev/apikey
],
'instagram' => [
// register your app here: https://instagram.com/developer/register/
'class' => 'nodge\eauth\services\InstagramOAuth2Service',
'clientId' => '7c3de0236bb4467bae58707012addce8',
'clientSecret' => 'bfcf8a5eb47d4998b6e3dd573777a857',
],
],
];