<% # Copyright (C) 2016 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %>

<%= t 'Federated Attributes' %>

<%= t <<~TEXT Federated attributes are information sent from your authentication provider that can be used to automatically update corresponding information for users in Canvas each time they log in. TEXT %>

<% aac.federated_attributes.each do |(canvas_attribute, provider_attribute)| %> <% end %>
<%= t 'Canvas Attribute' %> <%= t 'Provider Attribute' %> <%= t 'Provisioning Only' %> <%= t 'What does Provisioning Only mean?' %> <%= t 'Autoconfirm' %> <%= t 'What does Autoconfirm mean?' %>  
<%= canvas_attribute %> <%= presenter.federated_provider_attribute(aac, canvas_attribute, provider_attribute['attribute']) %> /> <% if canvas_attribute == "email" %> /> <% else %>   <% end %>
<% attrs = presenter.available_federated_attributes(aac) %>
<% if aac.federated_attributes.empty? %> <% end %>