Sha256: 445e75cad59389061acb1de88d04f3c4bec177cc27b676daaa7ff50c0523481e

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

module Sso
  class SessionSerializer < ActiveModel::Serializer
    attributes :id, :active?, :revoked_at, :revoke_reason, :secret

    has_many :clients
    belongs_to :owner, serializer: Sso::OwnerSerializer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doorkeeper_sso-0.4.8 app/serializers/sso/session_serializer.rb
doorkeeper_sso-0.4.6 app/serializers/sso/session_serializer.rb