Sha256: 7175bb5c5ebf272cafbdfe6be92a5e0c8aba06b07b3828edd2f2695fa8676ef8

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

require 'devise/models'

module Devise
  module Models
    module Oauth2Providable
      extend ActiveSupport::Concern
      included do
        has_many :access_tokens, class_name: Devise::Oauth2Providable::AccessToken.name
        has_many :authorization_codes, class_name: Devise::Oauth2Providable::AuthorizationCode.name
        has_many :clients, class_name: Devise::Oauth2Providable::Client.name
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
anjlab-devise-oauth2-providable-1.1.3 lib/devise/oauth2_providable/models/oauth2_providable.rb
anjlab-devise-oauth2-providable-1.1.2 lib/devise/oauth2_providable/models/oauth2_providable.rb
anjlab-devise-oauth2-providable-1.1.1 lib/devise/oauth2_providable/models/oauth2_providable.rb
anjlab-devise-oauth2-providable-1.1.0 lib/devise/oauth2_providable/models/oauth2_providable.rb