Class: Saml::Kit::NullAssertion
- Inherits:
-
Object
- Object
- Saml::Kit::NullAssertion
- Includes:
- ActiveModel::Validations, Translatable
- Defined in:
- lib/saml/kit/null_assertion.rb
Instance Method Summary collapse
- #attributes ⇒ Object
- #audiences ⇒ Object
- #decryptable? ⇒ Boolean
- #encrypted? ⇒ Boolean
- #expired_at ⇒ Object
- #invalid ⇒ Object
- #issuer ⇒ Object
- #name ⇒ Object
- #name_id ⇒ Object
- #present? ⇒ Boolean
- #signature ⇒ Object
- #signed? ⇒ Boolean
- #started_at ⇒ Object
- #to_xml(*_args) ⇒ Object
Instance Method Details
#attributes ⇒ Object
18 19 20 |
# File 'lib/saml/kit/null_assertion.rb', line 18 def attributes [] end |
#audiences ⇒ Object
30 31 32 |
# File 'lib/saml/kit/null_assertion.rb', line 30 def audiences [] end |
#decryptable? ⇒ Boolean
38 39 40 |
# File 'lib/saml/kit/null_assertion.rb', line 38 def decryptable? false end |
#encrypted? ⇒ Boolean
34 35 36 |
# File 'lib/saml/kit/null_assertion.rb', line 34 def encrypted? false end |
#expired_at ⇒ Object
26 27 28 |
# File 'lib/saml/kit/null_assertion.rb', line 26 def expired_at Time.at(0).to_datetime end |
#invalid ⇒ Object
50 51 52 |
# File 'lib/saml/kit/null_assertion.rb', line 50 def invalid errors[:assertion].push((:invalid)) end |
#issuer ⇒ Object
8 |
# File 'lib/saml/kit/null_assertion.rb', line 8 def issuer; end |
#name ⇒ Object
54 55 56 |
# File 'lib/saml/kit/null_assertion.rb', line 54 def name 'NullAssertion' end |
#name_id ⇒ Object
10 |
# File 'lib/saml/kit/null_assertion.rb', line 10 def name_id; end |
#present? ⇒ Boolean
42 43 44 |
# File 'lib/saml/kit/null_assertion.rb', line 42 def present? false end |
#signature ⇒ Object
16 |
# File 'lib/saml/kit/null_assertion.rb', line 16 def signature; end |
#signed? ⇒ Boolean
12 13 14 |
# File 'lib/saml/kit/null_assertion.rb', line 12 def signed? false end |
#started_at ⇒ Object
22 23 24 |
# File 'lib/saml/kit/null_assertion.rb', line 22 def started_at Time.at(0).to_datetime end |
#to_xml(*_args) ⇒ Object
46 47 48 |
# File 'lib/saml/kit/null_assertion.rb', line 46 def to_xml(*_args) '' end |