Skip to main content

attribute_statement_builder

Function attribute_statement_builder 

Source
pub fn attribute_statement_builder(
    attributes: &[LoginResponseAttribute],
    attribute_template: &str,
    attribute_statement_template: &str,
) -> String
Expand description

Build an <AttributeStatement> from attributes (samlify attributeStatementBuilder).

Each attribute’s value becomes a new {attr<Tag>} placeholder to be filled later by replace_tags_by_value.