Sha256: 6cd7e14b969a79d21f552fd883b97d4ae2575fc6568de37f24d0e006e92f0137
Contents?: true
Size: 746 Bytes
Versions: 2
Compression:
Stored size: 746 Bytes
Contents
# frozen_string_literal: true module Saml module Kit class Assertion TABLE = { 'Assertion Present?' => ->(x) { x.present? }, 'Issuer' => ->(x) { x.issuer }, 'Name Id' => ->(x) { x.name_id }, 'Attributes' => ->(x) { x.attributes.inspect }, 'Not Before' => ->(x) { x.started_at }, 'Not After' => ->(x) { x.expired_at }, 'Audiences' => ->(x) { x.audiences.inspect }, 'Encrypted?' => ->(x) { x.encrypted? }, 'Decryptable' => ->(x) { x.decryptable? }, }.freeze def build_table(table = []) TABLE.each do |key, callable| table.push([key, callable.call(self)]) end signature.build_table(table) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
saml-kit-cli-0.3.8 | lib/saml/kit/core_ext/assertion.rb |
saml-kit-cli-0.3.7 | lib/saml/kit/core_ext/assertion.rb |