1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
#pike __REAL_VERSION__ 
 
//! Tumblr authentication class 
 
inherit .OAuth.Authentication; 
 
//! The endpoint to send request for a request token 
constant REQUEST_TOKEN_URL = "https://www.tumblr.com/oauth/request_token"; 
 
//! The endpoint to send request for an access token 
constant ACCESS_TOKEN_URL = "https://www.tumblr.com/oauth/access_token"; 
 
//! The enpoint to redirect to when authenticating an application 
constant USER_AUTH_URL = "https://www.tumblr.com/oauth/authorize";