Sha256: 52caba705c3ce93752692f6b534247a92ecaa4df4a9edd02807135ffd21c4e6f

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

module Oa2c
  class RefreshToken
    include Mongoid::Document
    include OAuth2Token

    self.default_lifetime = 1.month
    has_many :access_tokens, autosave: true, class_name: "Oa2c::AccessToken"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oa2c-0.1.2 app/models/oa2c/refresh_token.rb
oa2c-0.1.1 app/models/oa2c/refresh_token.rb
oa2c-0.1.0 app/models/oa2c/refresh_token.rb