Skip to content

Commit

Permalink
config.py.example
Browse files Browse the repository at this point in the history
  • Loading branch information
sim0629 committed May 6, 2012
1 parent 7352bd5 commit b49cb95
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions config.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,26 @@ SERVER = 'irc.uriirc.org'
PORT = 16667
BOT_NAME = 's'

# OAuth
CONSUMER_KEY = ''
CONSUMER_SECRET = ''

# OAuth URLs
REQUEST_URL = 'https://www.snucse.org/app/RequestToken'
CALLBACK_URL = 'http://sirc.neria.kr/callback/'
AUTHORIZE_URL = 'https://www.snucse.org/app/Authorize'
ACCESS_URL = 'https://www.snucse.org/app/AccessToken'

# Cookie keys
SESSION_ID = 'SIRC_SESSION_ID'
TOKEN_SECRET = 'OAUTH_TOKEN_SECRET'
OAUTH_PROVIDER = 'OAUTH_PROVIDER'

# OAuth
OAUTH = {
'snucse': {
'CONSUMER_KEY': '',
'CONSUMER_SECRET': '',
'REQUEST_URL': 'https://www.snucse.org/app/RequestToken',
'AUTHORIZE_URL': 'https://www.snucse.org/app/Authorize',
'ACCESS_URL': 'https://www.snucse.org/app/AccessToken'
},
'twitter': {
'CONSUMER_KEY': '',
'CONSUMER_SECRET': '',
'REQUEST_URL': 'https://api.twitter.com/oauth/request_token',
'AUTHORIZE_URL': 'https://api.twitter.com/oauth/authenticate',
'ACCESS_URL': 'https://api.twitter.com/oauth/access_token'
}
}
CALLBACK_URL = 'http://sirc.neria.kr/callback/'

0 comments on commit b49cb95

Please sign in to comment.