Class: Saml::Elements::RequestedAuthnContext

Inherits:
Object
  • Object
show all
Includes:
Base, ClassRefs
Defined in:
lib/saml/elements/requested_authn_context.rb

Defined Under Namespace

Modules: ComparisonTypes

Constant Summary

Constants included from ClassRefs

ClassRefs::ALL_CLASS_REFS, ClassRefs::MOBILE_SMARTCARD_PKI, ClassRefs::MOBILE_TWO_FACTOR_CONTRACT, ClassRefs::MOBILE_TWO_FACTOR_UNREGISTERED, ClassRefs::ORDERED_CLASS_REFS, ClassRefs::PASSWORD_PROTECTED, ClassRefs::UNSPECIFIED

Instance Method Summary collapse

Instance Method Details

#authn_context_class_refObject



27
28
29
# File 'lib/saml/elements/requested_authn_context.rb', line 27

def authn_context_class_ref
  authn_context_class_refs.first if authn_context_class_refs
end

#authn_context_class_ref=(ref) ⇒ Object



31
32
33
# File 'lib/saml/elements/requested_authn_context.rb', line 31

def authn_context_class_ref=(ref)
  self.authn_context_class_refs = [ref]
end