get_extension_args (OpenID::AX::FetchRequest)

    # File lib/openid/extensions/ax.rb, line 134
          def get_extension_args
            aliases = NamespaceMap.new
            required = []
            if_available = []
            ax_args = new_args
            @requested_attributes.each{|type_uri, attribute|
              if attribute.ns_alias
                name = aliases.add_alias(type_uri, attribute.ns_alias)
              else
                name = aliases.add(type_uri)
              end
              if attribute.required
                required << name
              else
                if_available << name
              end
              if attribute.count != 1
                ax_args["count.#{name}"] = attribute.count.to_s
              end
              ax_args["type.#{name}"] = type_uri
            }

            unless required.empty?
              ax_args['required'] = required.join(',')
            end
            unless if_available.empty?
              ax_args['if_available'] = if_available.join(',')
            end
            return ax_args
          end