Sha256: 330713c8244adac8b4302d6fbd373130bd9d6575165c350b55fd4b2fca6c136b

Contents?: true

Size: 508 Bytes

Versions: 18

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true
# typed: strict

module WorkOS
  module Types
    # The ProfileStruct acts as a typed interface
    # for the Profile class
    class ProfileStruct < T::Struct
      const :id, String
      const :email, String
      const :first_name, T.nilable(String)
      const :last_name, T.nilable(String)
      const :connection_id, String
      const :connection_type, String
      const :idp_id, T.nilable(String)
      const :raw_attributes, T::Hash[Symbol, Object]
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
workos-1.5.1 lib/workos/types/profile_struct.rb
workos-1.5.0 lib/workos/types/profile_struct.rb
workos-1.4.0 lib/workos/types/profile_struct.rb
workos-1.3.0 lib/workos/types/profile_struct.rb
workos-1.2.1 lib/workos/types/profile_struct.rb
workos-1.2.0 lib/workos/types/profile_struct.rb
workos-1.1.0 lib/workos/types/profile_struct.rb
workos-1.0.0 lib/workos/types/profile_struct.rb
workos-0.11.2 lib/workos/types/profile_struct.rb
workos-0.11.1 lib/workos/types/profile_struct.rb
workos-0.11.0 lib/workos/types/profile_struct.rb
workos-0.10.3 lib/workos/types/profile_struct.rb
workos-0.10.2 lib/workos/types/profile_struct.rb
workos-0.10.1 lib/workos/types/profile_struct.rb
workos-0.10.0 lib/workos/types/profile_struct.rb
workos-0.9.2 lib/workos/types/profile_struct.rb
workos-0.9.1 lib/workos/types/profile_struct.rb
workos-0.9.0 lib/workos/types/profile_struct.rb