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
20 21 22 |
# File 'lib/saml/kit/null_assertion.rb', line 20 def attributes [] end |
#audiences ⇒ Object
32 33 34 |
# File 'lib/saml/kit/null_assertion.rb', line 32 def audiences [] end |
#decryptable? ⇒ Boolean
40 41 42 |
# File 'lib/saml/kit/null_assertion.rb', line 40 def decryptable? false end |
#encrypted? ⇒ Boolean
36 37 38 |
# File 'lib/saml/kit/null_assertion.rb', line 36 def encrypted? false end |
#expired_at ⇒ Object
28 29 30 |
# File 'lib/saml/kit/null_assertion.rb', line 28 def expired_at Time.at(0).to_datetime end |
#invalid ⇒ Object
52 53 54 |
# File 'lib/saml/kit/null_assertion.rb', line 52 def invalid errors[:assertion].push((:invalid)) end |
#issuer ⇒ Object
10 |
# File 'lib/saml/kit/null_assertion.rb', line 10 def issuer; end |
#name ⇒ Object
56 57 58 |
# File 'lib/saml/kit/null_assertion.rb', line 56 def name 'NullAssertion' end |
#name_id ⇒ Object
12 |
# File 'lib/saml/kit/null_assertion.rb', line 12 def name_id; end |
#present? ⇒ Boolean
44 45 46 |
# File 'lib/saml/kit/null_assertion.rb', line 44 def present? false end |
#signature ⇒ Object
18 |
# File 'lib/saml/kit/null_assertion.rb', line 18 def signature; end |
#signed? ⇒ Boolean
14 15 16 |
# File 'lib/saml/kit/null_assertion.rb', line 14 def signed? false end |
#started_at ⇒ Object
24 25 26 |
# File 'lib/saml/kit/null_assertion.rb', line 24 def started_at Time.at(0).to_datetime end |
#to_xml(*_args) ⇒ Object
48 49 50 |
# File 'lib/saml/kit/null_assertion.rb', line 48 def to_xml(*_args) '' end |