Sha256: e98fdc67b60b6014e3c448b67f9246ba3aae7d0a56e1f5db3e80f33348404bfc
Contents?: true
Size: 326 Bytes
Versions: 8
Compression:
Stored size: 326 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 nil unless @token TokenVerifier.verify(self) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems