main
 1# frozen_string_literal: true
 2
 3class User
 4  attr_accessor :name_id, :attributes
 5
 6  def initialize(name_id: SecureRandom.uuid, attributes: {})
 7    @name_id = name_id
 8    @attributes = attributes
 9  end
10
11  def name_id_for(_format)
12    name_id
13  end
14
15  def assertion_attributes_for(_request)
16    attributes
17  end
18end