Sha256: e586cb7d6156fe629f7aadd953abb864face8397b398d61c401cb0f03f8015c9

Contents?: true

Size: 605 Bytes

Versions: 11

Compression:

Stored size: 605 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 :groups, T.nilable(T::Array[String])
      const :organization_id, 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

11 entries across 11 versions & 1 rubygems

Version Path
workos-4.1.0 lib/workos/types/profile_struct.rb
workos-4.0.0 lib/workos/types/profile_struct.rb
workos-3.1.0 lib/workos/types/profile_struct.rb
workos-3.0.0 lib/workos/types/profile_struct.rb
workos-2.17.0 lib/workos/types/profile_struct.rb
workos-2.16.0 lib/workos/types/profile_struct.rb
workos-2.15.0 lib/workos/types/profile_struct.rb
workos-2.14.0 lib/workos/types/profile_struct.rb
workos-2.13.0 lib/workos/types/profile_struct.rb
workos-2.12.1 lib/workos/types/profile_struct.rb
workos-2.12.0 lib/workos/types/profile_struct.rb