Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed definit and OAuth req as per request.

  • Loading branch information...
commit ef6551644d6bd8072798f48a9d1d628e80dfcacf 1 parent bb88ab5
@slickplaid slickplaid authored
Showing with 0 additions and 14 deletions.
  1. +0 −14 lib/modules/vimeo.js
View
14 lib/modules/vimeo.js
@@ -1,25 +1,11 @@
var oauthModule = require('./oauth')
- , OAuth = require('oauth').OAuth;
var vimeo = module.exports =
oauthModule.submodule('vimeo')
- .definit( function () {
- this.oauth = new OAuth(
- this.oauthHost() + this.requestTokenPath()
- , this.oauthHost() + this.accessTokenPath()
- , this.consumerKey()
- , this.consumerSecret()
- , '1.0', null, 'HMAC-SHA1', null
- );
- })
.apiHost('http://vimeo.com/api/rest/v2')
.oauthHost('http://vimeo.com')
- .requestTokenPath('/oauth/request_token')
- .authorizePath('/oauth/authorize')
- .accessTokenPath('/oauth/access_token')
-
.entryPath('/auth/vimeo')
.callbackPath('/auth/vimeo/callback')
Please sign in to comment.
Something went wrong with that request. Please try again.