Sha256: b19d3bb00587d9edce003197a16dea5b3b87ac0be3a552e1c9f453cfa2f2c9d1
Contents?: true
Size: 279 Bytes
Versions: 10
Compression:
Stored size: 279 Bytes
Contents
require 'expirable_token' class AuthorizationCode < ActiveRecord::Base include ExpirableToken def access_token @access_token ||= expired! && user.access_tokens.create(:client => client) end def valid_request?(req) self.redirect_uri == req.redirect_uri end end
Version data entries
10 entries across 10 versions & 1 rubygems