Sha256: 2c55ed9492d003f84234f9e394640317062266db4077e2f7be9c8d40dfeb51f0
Contents?: true
Size: 300 Bytes
Versions: 7
Compression:
Stored size: 300 Bytes
Contents
module Capcoauth module OAuth class AccessToken attr_accessor :token attr_accessor :user_id def initialize(token) @token = token @user_id = TTLCache.user_id_for(token) end def verify TokenVerifier.verify(self) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems