Exception: SAML2::InvalidAttributeValue
- Inherits:
 - 
      RuntimeError
      
        
- Object
 - RuntimeError
 - SAML2::InvalidAttributeValue
 
 
- Defined in:
 - lib/saml2/attribute_consuming_service.rb
 
Instance Attribute Summary collapse
- 
  
    
      #provided_value  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute provided_value.
 - #requested_attribute ⇒ RequestedAttribute readonly
 
Instance Method Summary collapse
- 
  
    
      #initialize(requested_attribute, provided_value)  ⇒ InvalidAttributeValue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of InvalidAttributeValue.
 
Constructor Details
#initialize(requested_attribute, provided_value) ⇒ InvalidAttributeValue
Returns a new instance of InvalidAttributeValue.
      80 81 82 83 84 85  | 
    
      # File 'lib/saml2/attribute_consuming_service.rb', line 80 def initialize(requested_attribute, provided_value) super("Attribute #{requested_attribute.name} is provided value " \ "#{provided_value.inspect}, but only allows " \ "#{Array.wrap(requested_attribute.value).inspect}") @requested_attribute, @provided_value = requested_attribute, provided_value end  | 
  
Instance Attribute Details
#provided_value ⇒ Object (readonly)
Returns the value of attribute provided_value.
      77 78 79  | 
    
      # File 'lib/saml2/attribute_consuming_service.rb', line 77 def provided_value @provided_value end  | 
  
#requested_attribute ⇒ RequestedAttribute (readonly)
      76 77 78  | 
    
      # File 'lib/saml2/attribute_consuming_service.rb', line 76 def requested_attribute @requested_attribute end  |