1 class RequestToken < OauthToken
3 return false if authorized?
5 self.authorized_at = Time.now
10 return false unless authorized?
11 RequestToken.transaction do
12 access_token = AccessToken.create(:user => user, :client_application => client_application)