             timestamp = Date.now()
 
             authentication_handler? client
-            callback()
+            cb()
 
       age     = Date.now() - timestamp
       expired = age > 30 * 60 * 1000
 
       if oauth2Client
         if expired
-        then authenticate_method invoke_method
-        else invoke_method()
+        then authenticate_callback invoke_callback
+        else invoke_callback()
       else
-        authenticate_method invoke_method
+        authenticate_callback invoke_callback
 
 
 


    return ->

      method_arguments = arguments

      invoke_method = -> method.apply null, method_arguments

      authenticate_method = (callback) ->

        authorize authorization_options, (err, token) ->
          return console.error err  if err

  callback null, oauth2Client


authenticated = (options, callback) ->

  {
    authorization_options
