access_token.rb revision 745541d1ed9a97715ee21919e3dc495a1add55c0
5513a7cc4f5859d263e4cb66ae93e8dbfcf3681fEugen Kuksa scope :unexpired, ->() { where('expiration > ?', Time.now) }
745541d1ed9a97715ee21919e3dc495a1add55c0Eugen Kuksa a = insecure_build_for(ontology_version) until !a.nil? && a.valid?
490da89281b7ee019c87406fb8ce7359aff0932cEugen Kuksa Settings.access_token.expiration_minutes.minutes.from_now
745541d1ed9a97715ee21919e3dc495a1add55c0Eugen Kuksa id = [repository.to_param, ontology_version.path,
745541d1ed9a97715ee21919e3dc495a1add55c0Eugen Kuksa Time.now.strftime("%Y-%m-%d-%H-%M-%S-%6N")].join("|")