code: func assertionsToTraitMap(assertionInfo saml2.AssertionInfo) map[string][]string {
  	traits := make(map[string][]string)
  
  	for _, assr := range assertionInfo.Values {
  		var vals []string
  		for _, value := range assr.Values {
  			vals = append(vals, value.Value)
  		}
  		traits[assr.Name] = vals
  	}
  
  	return traits
  }
docs: // assertionsToTraitMap extracts all string assertions and creates a map of traits
  // that can be used to populate role variables.