Moved find_token method into the token class, since that seems a more appropriate place for it.
This commit is contained in:
parent
45a3acb4e2
commit
eff06faf46
5 changed files with 23 additions and 29 deletions
|
@ -96,7 +96,7 @@ module OAuth
|
|||
def verify_oauth_signature
|
||||
begin
|
||||
valid = ClientApplication.verify_request(request) do |request|
|
||||
self.current_token = ClientApplication.find_token(request.token)
|
||||
self.current_token = OauthToken.find_token(request.token)
|
||||
logger.info "self=#{self.class.to_s}"
|
||||
logger.info "token=#{self.current_token}"
|
||||
# return the token secret and the consumer secret
|
||||
|
@ -111,4 +111,4 @@ module OAuth
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue